mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 16:43:55 -07:00
trying to get rid of ZoneViewLayout
This commit is contained in:
parent
e9a0203880
commit
8295b49634
10 changed files with 62 additions and 148 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue