source: src/model/treeview.h @ 969a840

qt5
Last change on this file since 969a840 was 66327a0, checked in by pavelpa <pavelpa@…>, 13 years ago

modified model-view

  • created own delegate to display TreeView? items
    • contains also 'controls' - which are clickable (handled in TreeView?)
  • created own TreeView? inherited from QTreeView
    • to handle control-clicks of the Delegate
  • minor modifications to MainWindow? UI
  • icons added
  • Property mode set to 100644
File size: 331 bytes
Line 
1#ifndef TREEVIEW_H
2#define TREEVIEW_H
3
4#include <QTreeView>
5
6class TreeView : public QTreeView
7{
8public:
9    TreeView(QWidget *aParent = NULL);
10    ~TreeView() {}
11private:
12    void mouseReleaseEvent(QMouseEvent *aEvent);
13    void testForControlClicked(const QModelIndex &aIndex, const QPoint &aPoint);
14};
15
16#endif /* TREEVIEW_H */
17
Note: See TracBrowser for help on using the repository browser.