mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 10:33:54 -07:00
Sets dialog: new columns and sorting
Added "order key", "set type" and "release date" columns Use a proxy model to sort the table made the dialog wider accordingly
This commit is contained in:
parent
cb37073828
commit
8542d875d3
4 changed files with 45 additions and 10 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include <QMainWindow>
|
||||
|
||||
class SetsModel;
|
||||
class SetsProxyModel;
|
||||
class QTreeView;
|
||||
class CardDatabase;
|
||||
|
||||
|
|
@ -11,6 +12,7 @@ class WndSets : public QMainWindow {
|
|||
Q_OBJECT
|
||||
private:
|
||||
SetsModel *model;
|
||||
SetsProxyModel *proxyModel;
|
||||
QTreeView *view;
|
||||
public:
|
||||
WndSets(QWidget *parent = 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue