initial commit

This commit is contained in:
Max-Wilhelm Bruker 2009-03-13 22:50:41 +01:00
commit a11f93df4d
99 changed files with 7493 additions and 0 deletions

View file

@ -0,0 +1,27 @@
#ifndef ZONEVIEWERZONE_H
#define ZONEVIEWERZONE_H
#include "playerzone.h"
#include "serverzonecard.h"
class ZoneViewWidget;
class ZoneViewZone : public PlayerZone {
private:
int numberCards;
void handleDropEvent(int cardId, PlayerZone *startZone, const QPoint &dropPoint);
PlayerZone *origZone;
signals:
void removeZoneViewWidget(ZoneViewWidget *zv);
public:
ZoneViewZone(Player *_p, PlayerZone *_origZone, int _numberCards = 0, QGraphicsItem *parent = 0);
~ZoneViewZone();
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
void addCard(CardItem *card, bool reorganize = true, int x = 0, int y = -1);
void reorganizeCards();
bool initializeCards();
void removeCard(int position);
};
#endif