trying to get rid of ZoneViewLayout

This commit is contained in:
Max-Wilhelm Bruker 2010-03-06 23:37:49 +01:00
parent e9a0203880
commit 8295b49634
10 changed files with 62 additions and 148 deletions

View file

@ -11,6 +11,7 @@ class Player;
class CardDatabase;
class QScrollBar;
class QCheckBox;
class GameScene;
class ZoneViewWidget : public QGraphicsWidget {
Q_OBJECT
@ -28,7 +29,7 @@ private slots:
void resizeToZoneContents();
void zoneDeleted();
public:
ZoneViewWidget(Player *_player, CardZone *_origZone, int numberCards = 0, QGraphicsItem *parent = 0);
ZoneViewWidget(GameScene *_scene, Player *_player, CardZone *_origZone, int numberCards = 0);
ZoneViewZone *getZone() const { return zone; }
void retranslateUi();
protected: