X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=taskeditor.h;fp=taskeditor.h;h=0000000000000000000000000000000000000000;hb=d483bd8e6523c23c6f1d8908a2e0611c2bc9ff4f;hp=da3583650958f2ca0731a37a43c9194593770c87;hpb=7dfa3fe589d1722d49681f42cdb0bf1e6efb5223;p=sven%2Fvym.git diff --git a/taskeditor.h b/taskeditor.h deleted file mode 100644 index da35836..0000000 --- a/taskeditor.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef TASKEDITOR_H -#define TASKEDITOR_H - -#include -#include - -#include "taskfiltermodel.h" - -class BranchItem; -class QTableView; -class Task; -class TaskModel; -class QSortFilterProxyModel; - -class TaskEditor : public QWidget -{ - Q_OBJECT - -public: - TaskEditor (QWidget *parent=NULL); - ~TaskEditor (); - void setMapName (const QString &); - bool isUsedFilterMap (); - void setFilterMap (); - bool isUsedFilterActive (); - void setFilterActive (); - void setFilterNew (); - void setFilterFlags (); - bool select (Task *task); - void clearSelection (); - void showSelection (); - void contextMenuEvent ( QContextMenuEvent * e ); - -public slots: - void sort(); - -private slots: - void selectionChanged (const QItemSelection & selected, const QItemSelection & ); - void toggleFilterMap (); - void toggleFilterActive (); - void toggleFilterNew (); - void toggleFilterFlags (); - -private: - QTableView *view; - TaskFilterModel *filterActiveModel; - QString currentMapName; - QAction *actionToggleFilterMap; - QAction *actionToggleFilterActive; - QAction *actionToggleFilterNew; - QAction *actionToggleFilterFlags; - bool blockExternalSelect; -}; - -#endif -