mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-04 04:23:55 -07:00
zone view works
This commit is contained in:
parent
694070724c
commit
55482246dd
5 changed files with 48 additions and 12 deletions
|
|
@ -2,11 +2,11 @@
|
|||
#define ZONEVIEWERZONE_H
|
||||
|
||||
#include "cardzone.h"
|
||||
#include "protocol_datastructures.h"
|
||||
#include <QGraphicsWidget>
|
||||
#include <QGraphicsLayoutItem>
|
||||
|
||||
class ZoneViewWidget;
|
||||
class ProtocolResponse;
|
||||
|
||||
class ZoneViewZone : public CardZone, public QGraphicsLayoutItem {
|
||||
Q_OBJECT
|
||||
|
|
@ -29,7 +29,7 @@ public:
|
|||
public slots:
|
||||
void setSortingEnabled(int _sortingEnabled);
|
||||
private slots:
|
||||
// void zoneDumpReceived(QList<ServerInfo_Card> cards);
|
||||
void zoneDumpReceived(ProtocolResponse *r);
|
||||
protected:
|
||||
void addCardImpl(CardItem *card, int x, int y);
|
||||
QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue