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

#include <deck_list_history_manager_widget.h>

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

Public Slots

void retranslateUi ()

Signals

void requestDisplayWidgetSync ()

Public Member Functions

 DeckListHistoryManagerWidget (DeckListModel *deckListModel, DeckListStyleProxy *styleProxy, DeckListHistoryManager *manager, QWidget *parent=nullptr)
void setDeckListModel (DeckListModel *_deckListModel)

Private Slots

void refreshList ()
void onListClicked (QListWidgetItem *item)
void doUndo ()
void doRedo ()

Private Attributes

DeckListModeldeckListModel
DeckListStyleProxystyleProxy
DeckListHistoryManagerhistoryManager
QHBoxLayout * layout
QAction * aUndo
QToolButton * undoButton
QAction * aRedo
QToolButton * redoButton
SettingsButtonWidgethistoryButton
QLabel * historyLabel
QListWidget * historyList

Constructor & Destructor Documentation

◆ DeckListHistoryManagerWidget()

DeckListHistoryManagerWidget::DeckListHistoryManagerWidget ( DeckListModel * deckListModel,
DeckListStyleProxy * styleProxy,
DeckListHistoryManager * manager,
QWidget * parent = nullptr )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ doRedo

void DeckListHistoryManagerWidget::doRedo ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ doUndo

void DeckListHistoryManagerWidget::doUndo ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onListClicked

void DeckListHistoryManagerWidget::onListClicked ( QListWidgetItem * item)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshList

void DeckListHistoryManagerWidget::refreshList ( )
privateslot
Here is the caller graph for this function:

◆ requestDisplayWidgetSync

void DeckListHistoryManagerWidget::requestDisplayWidgetSync ( )
signal
Here is the caller graph for this function:

◆ retranslateUi

void DeckListHistoryManagerWidget::retranslateUi ( )
slot
Here is the caller graph for this function:

◆ setDeckListModel()

void DeckListHistoryManagerWidget::setDeckListModel ( DeckListModel * _deckListModel)

Member Data Documentation

◆ aRedo

QAction* DeckListHistoryManagerWidget::aRedo
private

◆ aUndo

QAction* DeckListHistoryManagerWidget::aUndo
private

◆ deckListModel

DeckListModel* DeckListHistoryManagerWidget::deckListModel
private

◆ historyButton

SettingsButtonWidget* DeckListHistoryManagerWidget::historyButton
private

◆ historyLabel

QLabel* DeckListHistoryManagerWidget::historyLabel
private

◆ historyList

QListWidget* DeckListHistoryManagerWidget::historyList
private

◆ historyManager

DeckListHistoryManager* DeckListHistoryManagerWidget::historyManager
private

◆ layout

QHBoxLayout* DeckListHistoryManagerWidget::layout
private

◆ redoButton

QToolButton* DeckListHistoryManagerWidget::redoButton
private

◆ styleProxy

DeckListStyleProxy* DeckListHistoryManagerWidget::styleProxy
private

◆ undoButton

QToolButton* DeckListHistoryManagerWidget::undoButton
private

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