![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <game_view.h>
Public Slots | |
| void | updateSceneRect (const QRectF &rect) |
Public Member Functions | |
| GameView (GameScene *scene, QWidget *parent=nullptr) | |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *event) override |
Private Slots | |
| void | startRubberBand (const QPointF &selectionOrigin) |
| void | resizeRubberBand (const QPointF &cursorPoint, int selectedCount) |
| void | stopRubberBand () |
| void | refreshShortcuts () |
| void | updateTotalSelectionCount (const QSize &viewSize=QSize()) |
| void | setFocusDisabled (bool disabled) |
Private Member Functions | |
| QSize | rebuildTallyLabels (const QList< TallyRow > &entries) |
| void | clearTallyLabels () |
Private Attributes | |
| QAction * | aCloseMostRecentZoneView |
| QRubberBand * | rubberBand |
| QLabel * | dragCountLabel |
| QLabel * | totalCountLabel |
| QWidget * | tallyContainer |
| QGridLayout * | tallyLayout |
| QPointF | selectionOrigin |
| QRect | previousBandRect |
| Last rubber-band rect for targeted repaint. | |
| QList< TallyRow > | cachedTallyRows |
| Cached entries to avoid redundant rebuilds. | |
|
explicit |
|
private |
|
privateslot |
|
overrideprotected |
|
privateslot |
|
privateslot |
Disabling focus on the game view will allow chat to maintain the autofocusing behavior of pre 2.10.3, at the cost of disabling the zone view search bar.
|
privateslot |
|
privateslot |
|
slot |
|
privateslot |
|
private |
|
private |
|
private |
Last rubber-band rect for targeted repaint.
|
private |
|
private |
|
private |
|
private |
|
private |