source: src/mvc/treeview.h @ c53a3f4

qt5
Last change on this file since c53a3f4 was c53a3f4, checked in by pavelpa <pavelpa@…>, 12 years ago

single-click is used to open event dialog

  • Property mode set to 100644
File size: 404 bytes
RevLine 
[66327a0]1#ifndef TREEVIEW_H
2#define TREEVIEW_H
3
4#include <QTreeView>
5
6class TreeView : public QTreeView
7{
[59c6cfe]8    Q_OBJECT
[66327a0]9public:
10    TreeView(QWidget *aParent = NULL);
11    ~TreeView() {}
12private:
13    void mouseReleaseEvent(QMouseEvent *aEvent);
[c53a3f4]14    bool testForControlClicked(const QModelIndex &aIndex, const QPoint &aPoint);
[59c6cfe]15signals:
16    void requestForMap(const QModelIndex &aIndex);
[66327a0]17};
18
19#endif /* TREEVIEW_H */
20
Note: See TracBrowser for help on using the repository browser.