qt5
Last change
on this file since 59c6cfe was
59c6cfe,
checked in by pavelpa <pavelpa@…>, 13 years ago
|
started work on displaying map
- implemented mapwindow
- map is hard-coded for now
TODO: finish getting map path from the event
|
-
Property mode set to
100644
|
File size:
404 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 | void testForControlClicked(const QModelIndex &aIndex, const QPoint &aPoint); |
---|
15 | signals: |
---|
16 | void requestForMap(const QModelIndex &aIndex); |
---|
17 | }; |
---|
18 | |
---|
19 | #endif /* TREEVIEW_H */ |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.