some gui code

This commit is contained in:
Max-Wilhelm Bruker 2009-11-16 17:18:13 +01:00
parent cb9a2bf23a
commit 77f5ec29eb
37 changed files with 260 additions and 282 deletions

View file

@ -20,7 +20,6 @@ private:
QScrollBar *scrollBar;
QCheckBox *sortCheckBox, *shuffleCheckBox;
CardDatabase *db;
Player *player;
signals:
void closePressed(ZoneViewWidget *zv);
@ -28,7 +27,7 @@ signals:
private slots:
void resizeToZoneContents();
public:
ZoneViewWidget(CardDatabase *_db, Player *_player, CardZone *_origZone, int numberCards = 0, QGraphicsItem *parent = 0);
ZoneViewWidget(Player *_player, CardZone *_origZone, int numberCards = 0, QGraphicsItem *parent = 0);
ZoneViewZone *getZone() const { return zone; }
void retranslateUi();
protected: