7 #include "taskfiltermodel.h"
13 class QSortFilterProxyModel;
15 class TaskEditor : public QWidget
20 TaskEditor (QWidget *parent=NULL);
22 void setMapName (const QString &);
23 bool isUsedFilterMap ();
25 bool isUsedFilterActive ();
26 void setFilterActive ();
28 void setFilterFlags ();
29 bool select (Task *task);
30 void clearSelection ();
31 void showSelection ();
32 void contextMenuEvent ( QContextMenuEvent * e );
38 void selectionChanged (const QItemSelection & selected, const QItemSelection & );
39 void toggleFilterMap ();
40 void toggleFilterActive ();
41 void toggleFilterNew ();
42 void toggleFilterFlags ();
46 TaskFilterModel *filterActiveModel;
47 QString currentMapName;
48 QAction *actionToggleFilterMap;
49 QAction *actionToggleFilterActive;
50 QAction *actionToggleFilterNew;
51 QAction *actionToggleFilterFlags;
52 bool blockExternalSelect;