#ifndef WINDOW_SETS_H #define WINDOW_SETS_H #include class SetsModel; class SetsProxyModel; class QPushButton; class CardDatabase; class QItemSelection; class QTreeView; class WndSets : public QMainWindow { Q_OBJECT private: SetsModel *model; QTreeView *view; QPushButton *enableAllButton, *disableAllButton; QAction *aUp, *aDown, *aBottom, *aTop; public: WndSets(QWidget *parent = 0); ~WndSets(); protected: void selectRow(int row); private slots: void actEnable(); void actDisable(); void actEnableAll(); void actDisableAll(); void actSave(); void actRestore(); void actUp(); void actDown(); void actTop(); void actBottom(); void actToggleButtons(const QItemSelection & selected, const QItemSelection & deselected); }; #endif