new zone view code

This commit is contained in:
Max-Wilhelm Bruker 2010-03-08 15:55:35 +01:00
parent ad3f4ba9e8
commit 26a77d9e40
27 changed files with 474 additions and 397 deletions

View file

@ -19,17 +19,17 @@ private:
ZoneViewZone *zone;
QScrollBar *scrollBar;
QCheckBox *sortCheckBox, *shuffleCheckBox;
QCheckBox *sortByNameCheckBox, *sortByTypeCheckBox, *shuffleCheckBox;
int extraHeight;
Player *player;
signals:
void closePressed(ZoneViewWidget *zv);
void sizeChanged();
private slots:
void resizeToZoneContents();
void zoneDeleted();
public:
ZoneViewWidget(GameScene *_scene, Player *_player, CardZone *_origZone, int numberCards = 0);
ZoneViewWidget(Player *_player, CardZone *_origZone, int numberCards = 0);
ZoneViewZone *getZone() const { return zone; }
void retranslateUi();
protected: