#include <stack_zone.h>
Public Member Functions | |
| StackZone (StackZoneLogic *_logic, int _zoneHeight, QGraphicsItem *parent) | |
| void | handleDropEvent (const QList< CardDragItem * > &dragItems, CardZoneLogic *startZone, const QPoint &dropPoint) override |
| QRectF | boundingRect () const override |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
| void | reorganizeCards () override |
| Public Member Functions inherited from SelectZone | |
| SelectZone (CardZoneLogic *logic, QGraphicsItem *parent=nullptr) | |
| Public Member Functions inherited from CardZone | |
| int | type () const override |
| CardZone (CardZoneLogic *logic, QGraphicsItem *parent=nullptr) | |
| void | retranslateUi () |
| CardZoneLogic * | getLogic () const |
| void | setMenu (QMenu *_menu, QAction *_doubleClickAction=0) |
| Public Member Functions inherited from AbstractGraphicsItem | |
| AbstractGraphicsItem (QGraphicsItem *parent=nullptr) | |
Private Slots | |
| void | updateBg () |
Private Attributes | |
| qreal | zoneHeight |
Additional Inherited Members | |
| Public Types inherited from CardZone | |
| enum | { Type = typeZone } |
| Public Slots inherited from CardZone | |
| bool | showContextMenu (const QPoint &screenPos) |
| void | onCardAdded (CardItem *addedCard) |
| Protected Member Functions inherited from SelectZone | |
| void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
| void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
| void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
| Protected Member Functions inherited from CardZone | |
| void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) override |
| void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
| virtual QPointF | closestGridPoint (const QPointF &point) |
| QMenu * | getMenu () const |
| Protected Member Functions inherited from AbstractGraphicsItem | |
| void | paintNumberEllipse (int number, int radius, const QColor &color, int position, int count, QPainter *painter) |
| Protected Attributes inherited from CardZone | |
| QMenu * | menu |
| QAction * | doubleClickAction |
| StackZone::StackZone | ( | StackZoneLogic * | _logic, |
| int | _zoneHeight, | ||
| QGraphicsItem * | parent ) |
|
override |
|
overridevirtual |
|
override |
|
overridevirtual |
|
privateslot |
|
private |