Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
ReplayWidget Class Reference

The top-level widget that is put in the replay dock widget. Contains the replay timeline as well as the buttons. More...

#include <replay_widget.h>

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

Signals

void rewound ()
void eventReplayed (const GameEventContainer &cont, EventProcessingOptions options)

Public Member Functions

 ReplayWidget (QWidget *parent, GameReplay *replay)

Private Slots

void replayFinished ()
void replayPlayButtonToggled (bool checked)
void updateTimeScaleFactor (bool checked)
void refreshShortcuts ()

Private Attributes

ReplayManagerreplayManager
ReplayTimelineWidgettimelineWidget
QToolButton * replayPlayButton
QToolButton * replayFastForwardButton
ReplayQuickSettingsWidgetsettingsWidget
QAction * aReplaySkipForward
QAction * aReplaySkipBackward
QAction * aReplaySkipForwardBig
QAction * aReplaySkipBackwardBig

Detailed Description

The top-level widget that is put in the replay dock widget. Contains the replay timeline as well as the buttons.

Constructor & Destructor Documentation

◆ ReplayWidget()

ReplayWidget::ReplayWidget ( QWidget * parent,
GameReplay * replay )
Parameters
parentThe parent widget
replayCannot be null. Takes ownership of the replay.
Here is the call graph for this function:

Member Function Documentation

◆ eventReplayed

void ReplayWidget::eventReplayed ( const GameEventContainer & cont,
EventProcessingOptions options )
signal
Here is the caller graph for this function:

◆ refreshShortcuts

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

◆ replayFinished

void ReplayWidget::replayFinished ( )
privateslot
Here is the caller graph for this function:

◆ replayPlayButtonToggled

void ReplayWidget::replayPlayButtonToggled ( bool checked)
privateslot
Here is the caller graph for this function:

◆ rewound

void ReplayWidget::rewound ( )
signal
Here is the caller graph for this function:

◆ updateTimeScaleFactor

void ReplayWidget::updateTimeScaleFactor ( bool checked)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ aReplaySkipBackward

QAction * ReplayWidget::aReplaySkipBackward
private

◆ aReplaySkipBackwardBig

QAction * ReplayWidget::aReplaySkipBackwardBig
private

◆ aReplaySkipForward

QAction* ReplayWidget::aReplaySkipForward
private

◆ aReplaySkipForwardBig

QAction * ReplayWidget::aReplaySkipForwardBig
private

◆ replayFastForwardButton

QToolButton * ReplayWidget::replayFastForwardButton
private

◆ replayManager

ReplayManager* ReplayWidget::replayManager
private

◆ replayPlayButton

QToolButton* ReplayWidget::replayPlayButton
private

◆ settingsWidget

ReplayQuickSettingsWidget* ReplayWidget::settingsWidget
private

◆ timelineWidget

ReplayTimelineWidget* ReplayWidget::timelineWidget
private

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