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:
Fabio Bas 2014-11-19 18:09:37 +01:00
parent cb37073828
commit 8542d875d3
4 changed files with 45 additions and 10 deletions

View file

@ -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);