mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
Rework the way sets selection/importing works; fix #539 (rebased)
This commit is contained in:
parent
e69ca60164
commit
881cea27f4
13 changed files with 369 additions and 162 deletions
|
|
@ -15,13 +15,18 @@ class WndSets : public QMainWindow {
|
|||
private:
|
||||
SetsModel *model;
|
||||
QTreeView *view;
|
||||
QPushButton *saveButton, *restoreButton, *upButton, *downButton, *bottomButton, *topButton;
|
||||
QPushButton *enableButton, *disableButton, *enableAllButton, *disableAllButton,
|
||||
*upButton, *downButton, *bottomButton, *topButton;
|
||||
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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue