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

@ -3,7 +3,6 @@
#include <QGraphicsWidget>
class CardDatabase;
class ZoneViewWidget;
class ZoneViewZone;
class Player;
@ -14,9 +13,8 @@ signals:
void sizeChanged();
private:
QList<ZoneViewWidget *> views;
CardDatabase *db;
public:
ZoneViewLayout(CardDatabase *_db, QGraphicsItem *parent = 0);
ZoneViewLayout(QGraphicsItem *parent = 0);
void retranslateUi();
public slots:
void toggleZoneView(Player *player, const QString &zoneName, int numberCards = 0);