source: src/mvc/treeview.h @ bc88043

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

implemented NOW tab

  • Property mode set to 100644
File size: 759 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);
[b8a3ad1]15public slots:
16    void setAllExpanded(bool aExpanded); // (aExpanded==true) => expanded; (aExpanded==false) => collapsed
[8fe9bd2]17private slots:
18    void handleItemClicked(const QModelIndex &index);
[59c6cfe]19signals:
20    void requestForMap(const QModelIndex &aIndex);
[3f3e22d]21    void requestForWarning(const QModelIndex &aIndex);
[c718a77]22    void eventHasChanged(int aEventId); // emited when user changes some event details, eg. sets it Favourite
[66327a0]23};
24
25#endif /* TREEVIEW_H */
26
Note: See TracBrowser for help on using the repository browser.