Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
abstract_graphics_item.h
Go to the documentation of this file.
1
6
7#ifndef ABSTRACTGRAPHICSITEM_H
8#define ABSTRACTGRAPHICSITEM_H
9
10#include <QGraphicsItem>
11
15class AbstractGraphicsItem : public QGraphicsObject
16{
17 Q_OBJECT
18
19protected:
20 void paintNumberEllipse(int number, int radius, const QColor &color, int position, int count, QPainter *painter);
21
22public:
23 explicit AbstractGraphicsItem(QGraphicsItem *parent = nullptr) : QGraphicsObject(parent)
24 {
25 }
26};
27
28int resetPainterTransform(QPainter *painter);
29
30#endif
int resetPainterTransform(QPainter *painter)
Definition abstract_graphics_item.cpp:59
void paintNumberEllipse(int number, int radius, const QColor &color, int position, int count, QPainter *painter)
Definition abstract_graphics_item.cpp:5
AbstractGraphicsItem(QGraphicsItem *parent=nullptr)
Definition abstract_graphics_item.h:23