FunctionList.hh 514 Bytes
Newer Older
Jan Möbius's avatar
 
Jan Möbius committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <QtGui>

class FunctionList : public QListWidget
{
  Q_OBJECT

  signals:
  void getDescription(QString      _function,   QString&     _description,
                      QStringList& _parameters, QStringList& _descriptions);

  private:
    QPoint dragStartPosition_;
    QString currentFn_;

  protected:
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);

  public:
    FunctionList(QWidget *parent = 0);

    void filter(QString _filter);
    void reset();
};