mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 18:32:17 -07:00
rework set prioritization
This commit is contained in:
parent
f85faf141d
commit
9f4ac3b28a
13 changed files with 141 additions and 42 deletions
|
|
@ -49,7 +49,8 @@ public:
|
|||
LongNameCol,
|
||||
ShortNameCol,
|
||||
SetTypeCol,
|
||||
ReleaseDateCol
|
||||
ReleaseDateCol,
|
||||
PriorityCol
|
||||
};
|
||||
enum Role
|
||||
{
|
||||
|
|
@ -80,6 +81,7 @@ public:
|
|||
void sort(int column, Qt::SortOrder order = Qt::AscendingOrder);
|
||||
void save(CardDatabase *db);
|
||||
void restore(CardDatabase *db);
|
||||
void restoreOriginalOrder();
|
||||
};
|
||||
|
||||
class SetsDisplayModel : public QSortFilterProxyModel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue