qt5
Last change
on this file since 3f3e22d was
3f3e22d,
checked in by fortefr <fortefr@…>, 13 years ago
|
Warning handling
|
-
Property mode set to
100644
|
File size:
528 bytes
|
Line | |
---|
1 | #ifndef TREEVIEW_H |
---|
2 | #define TREEVIEW_H |
---|
3 | |
---|
4 | #include <QTreeView> |
---|
5 | |
---|
6 | class TreeView : public QTreeView |
---|
7 | { |
---|
8 | Q_OBJECT |
---|
9 | public: |
---|
10 | TreeView(QWidget *aParent = NULL); |
---|
11 | ~TreeView() {} |
---|
12 | private: |
---|
13 | void mouseReleaseEvent(QMouseEvent *aEvent); |
---|
14 | bool testForControlClicked(const QModelIndex &aIndex, const QPoint &aPoint); |
---|
15 | private slots: |
---|
16 | void handleItemClicked(const QModelIndex &index); |
---|
17 | signals: |
---|
18 | void requestForMap(const QModelIndex &aIndex); |
---|
19 | void requestForWarning(const QModelIndex &aIndex); |
---|
20 | }; |
---|
21 | |
---|
22 | #endif /* TREEVIEW_H */ |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.