Cockatrice
2026-03-05-Development-2.11.0-beta.54
A virtual tabletop for multiplayer card games
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 "
printing_selector.h
"
11
12
#include <QHBoxLayout>
13
#include <QPushButton>
14
#include <QWidget>
15
16
class
PrintingSelectorCardSelectionWidget
:
public
QWidget
17
{
18
Q_OBJECT
19
20
public
:
21
explicit
PrintingSelectorCardSelectionWidget
(
PrintingSelector
*
parent
,
DeckStateManager
*
deckStateManager
);
22
23
void
connectSignals
();
24
25
public
slots:
26
void
selectSetForCards
();
27
28
private
:
29
PrintingSelector
*
parent
;
30
DeckStateManager
*
deckStateManager
;
31
QHBoxLayout *
cardSelectionBarLayout
;
32
QPushButton *
previousCardButton
;
33
QPushButton *
selectSetForCardsButton
;
34
QPushButton *
nextCardButton
;
35
};
36
37
#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:22
PrintingSelectorCardSelectionWidget::PrintingSelectorCardSelectionWidget
PrintingSelectorCardSelectionWidget(PrintingSelector *parent, DeckStateManager *deckStateManager)
Constructs a PrintingSelectorCardSelectionWidget for navigating through cards in the deck.
Definition
printing_selector_card_selection_widget.cpp:14
PrintingSelectorCardSelectionWidget::selectSetForCards
void selectSetForCards()
Definition
printing_selector_card_selection_widget.cpp:51
PrintingSelectorCardSelectionWidget::previousCardButton
QPushButton * previousCardButton
Definition
printing_selector_card_selection_widget.h:32
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:45
PrintingSelectorCardSelectionWidget::parent
PrintingSelector * parent
Definition
printing_selector_card_selection_widget.h:29
PrintingSelectorCardSelectionWidget::cardSelectionBarLayout
QHBoxLayout * cardSelectionBarLayout
Definition
printing_selector_card_selection_widget.h:31
PrintingSelectorCardSelectionWidget::deckStateManager
DeckStateManager * deckStateManager
Definition
printing_selector_card_selection_widget.h:30
PrintingSelectorCardSelectionWidget::selectSetForCardsButton
QPushButton * selectSetForCardsButton
Definition
printing_selector_card_selection_widget.h:33
PrintingSelectorCardSelectionWidget::nextCardButton
QPushButton * nextCardButton
Definition
printing_selector_card_selection_widget.h:34
PrintingSelector
Definition
printing_selector.h:32
printing_selector.h
TODO: Document this.
cockatrice
src
interface
widgets
printing_selector
printing_selector_card_selection_widget.h
Generated by
1.14.0