source: src/mvc/treeview.h @ e662750

qt5
Last change on this file since e662750 was 8fe9bd2, checked in by pavelpa <pavelpa@…>, 13 years ago

group items (time/track/...) are expanded on single-click

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