#include <select_zone.h>
Public Member Functions | |
| SelectZone (CardZoneLogic *logic, QGraphicsItem *parent=nullptr) | |
| Public Member Functions inherited from CardZone | |
| int | type () const override |
| virtual void | handleDropEvent (const QList< CardDragItem * > &dragItem, CardZoneLogic *startZone, const QPoint &dropPoint)=0 |
| 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) | |
Protected Member Functions | |
| 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 void | reorganizeCards ()=0 |
| 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) |
Private Attributes | |
| QPointF | selectionOrigin |
| QSet< CardItem * > | cardsInSelectionRect |
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 Attributes inherited from CardZone | |
| QMenu * | menu |
| QAction * | doubleClickAction |
A CardZone where the cards are laid out, with each card directly interactable by clicking.
| SelectZone::SelectZone | ( | CardZoneLogic * | logic, |
| QGraphicsItem * | parent = nullptr ) |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
private |
|
private |