made counters look nicer

This commit is contained in:
Max-Wilhelm Bruker 2009-06-30 01:53:49 +02:00
parent 5d40996c0b
commit ae82996c0e
9 changed files with 59 additions and 51 deletions

View file

@ -1,13 +1,12 @@
#ifndef CARDITEM_H
#define CARDITEM_H
#include <QGraphicsItem>
#include "abstractgraphicsitem.h"
class CardDatabase;
class CardDragItem;
class CardZone;
const int CARD_WIDTH = 72;
const int CARD_HEIGHT = 102;
const int RASTER_WIDTH = 36;
@ -22,7 +21,7 @@ enum CardItemType {
typeOther = QGraphicsItem::UserType + 4
};
class CardItem : public QGraphicsItem {
class CardItem : public AbstractGraphicsItem {
private:
CardDatabase *db;
QString name;