mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
some gui code
This commit is contained in:
parent
cb9a2bf23a
commit
77f5ec29eb
37 changed files with 260 additions and 282 deletions
|
|
@ -1,11 +1,12 @@
|
|||
#include "window_sets.h"
|
||||
#include "setsmodel.h"
|
||||
#include "main.h"
|
||||
#include <QtGui>
|
||||
|
||||
WndSets::WndSets(CardDatabase *_db, QWidget *parent)
|
||||
WndSets::WndSets(QWidget *parent)
|
||||
: QMainWindow(parent)
|
||||
{
|
||||
model = new SetsModel(_db, this);
|
||||
model = new SetsModel(db, this);
|
||||
view = new QTreeView;
|
||||
view->setModel(model);
|
||||
view->setAlternatingRowColors(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue