Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
printing_selector_card_selection_widget.h
Go to the documentation of this file.
1
6
7
#ifndef PRINTING_SELECTOR_CARD_SELECTION_WIDGET_H
8
#define PRINTING_SELECTOR_CARD_SELECTION_WIDGET_H
9
10
#include <QWidget>
11
#include <qtmetamacros.h>
12
13
class
DeckStateManager
;
14
class
PrintingSelector
;
15
class
QHBoxLayout;
16
class
QPushButton;
17
18
class
PrintingSelectorCardSelectionWidget
:
public
QWidget
19
{
20
Q_OBJECT
21
22
public
:
23
explicit
PrintingSelectorCardSelectionWidget
(
PrintingSelector
*
parent
,
DeckStateManager
*
deckStateManager
);
24
25
void
connectSignals
();
26
27
public
slots:
28
void
selectSetForCards
();
29
30
private
:
31
PrintingSelector
*
parent
;
32
DeckStateManager
*
deckStateManager
;
33
QHBoxLayout *
cardSelectionBarLayout
;
34
QPushButton *
previousCardButton
;
35
QPushButton *
selectSetForCardsButton
;
36
QPushButton *
nextCardButton
;
37
};
38
39
#endif
// PRINTING_SELECTOR_CARD_SELECTION_WIDGET_H
DeckStateManager
This class centralizes the management of the state of the deck in the deck editor tab....
Definition
deck_state_manager.h:32
PrintingSelectorCardSelectionWidget::PrintingSelectorCardSelectionWidget
PrintingSelectorCardSelectionWidget(PrintingSelector *parent, DeckStateManager *deckStateManager)
Constructs a PrintingSelectorCardSelectionWidget for navigating through cards in the deck.
Definition
printing_selector_card_selection_widget.cpp:19
PrintingSelectorCardSelectionWidget::selectSetForCards
void selectSetForCards()
Definition
printing_selector_card_selection_widget.cpp:56
PrintingSelectorCardSelectionWidget::previousCardButton
QPushButton * previousCardButton
Definition
printing_selector_card_selection_widget.h:34
PrintingSelectorCardSelectionWidget::connectSignals
void connectSignals()
Connects the signals from the buttons to the appropriate slots in the parent widget.
Definition
printing_selector_card_selection_widget.cpp:50
PrintingSelectorCardSelectionWidget::parent
PrintingSelector * parent
Definition
printing_selector_card_selection_widget.h:31
PrintingSelectorCardSelectionWidget::cardSelectionBarLayout
QHBoxLayout * cardSelectionBarLayout
Definition
printing_selector_card_selection_widget.h:33
PrintingSelectorCardSelectionWidget::deckStateManager
DeckStateManager * deckStateManager
Definition
printing_selector_card_selection_widget.h:32
PrintingSelectorCardSelectionWidget::selectSetForCardsButton
QPushButton * selectSetForCardsButton
Definition
printing_selector_card_selection_widget.h:35
PrintingSelectorCardSelectionWidget::nextCardButton
QPushButton * nextCardButton
Definition
printing_selector_card_selection_widget.h:36
PrintingSelector
Definition
printing_selector.h:41
cockatrice
src
interface
widgets
printing_selector
printing_selector_card_selection_widget.h
Generated by
1.18.0