Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
GameView Class Reference

#include <game_view.h>

Inheritance diagram for GameView:
[legend]
Collaboration diagram for GameView:
[legend]

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)
void stopRubberBand ()
void refreshShortcuts ()

Private Attributes

QAction * aCloseMostRecentZoneView
QRubberBand * rubberBand
QPointF selectionOrigin

Constructor & Destructor Documentation

◆ GameView()

GameView::GameView ( GameScene * scene,
QWidget * parent = nullptr )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ refreshShortcuts

void GameView::refreshShortcuts ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resizeEvent()

void GameView::resizeEvent ( QResizeEvent * event)
overrideprotected
Here is the call graph for this function:

◆ resizeRubberBand

void GameView::resizeRubberBand ( const QPointF & cursorPoint)
privateslot
Here is the caller graph for this function:

◆ startRubberBand

void GameView::startRubberBand ( const QPointF & selectionOrigin)
privateslot
Here is the caller graph for this function:

◆ stopRubberBand

void GameView::stopRubberBand ( )
privateslot
Here is the caller graph for this function:

◆ updateSceneRect

void GameView::updateSceneRect ( const QRectF & rect)
slot
Here is the caller graph for this function:

Member Data Documentation

◆ aCloseMostRecentZoneView

QAction* GameView::aCloseMostRecentZoneView
private

◆ rubberBand

QRubberBand* GameView::rubberBand
private

◆ selectionOrigin

QPointF GameView::selectionOrigin
private

The documentation for this class was generated from the following files: