Cockatrice 2026-06-27-Development-3.1.0-beta.3
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
printing_selector.h
Go to the documentation of this file.
1
6
7#ifndef PRINTING_SELECTOR_H
8#define PRINTING_SELECTOR_H
9
14
15#include <QCheckBox>
16#include <QLabel>
17#include <QTreeView>
18#include <QVBoxLayout>
19#include <QWidget>
22
23#define BATCH_SIZE 10
24
26{
27 int mainboard = 0;
28 int sideboard = 0;
29 int tokensboard = 0;
30};
31
36class PrintingSelectorViewOptionsWidget;
91
92#endif // PRINTING_SELECTOR_H
QSharedPointer< CardInfo > CardInfoPtr
Definition card_info.cpp:20
AbstractTabDeckEditor is the base class for all deck editor tabs.
Definition abstract_tab_deck_editor.h:93
A widget for adjusting card sizes using a slider.
Definition card_size_widget.h:21
This class centralizes the management of the state of the deck in the deck editor tab....
Definition deck_state_manager.h:22
Definition flow_widget.h:22
Definition printing_selector_card_search_widget.h:17
Definition printing_selector_card_selection_widget.h:17
Definition printing_selector_card_sorting_widget.h:17
Definition printing_selector_placeholder_widget.h:9
void printingsInDeckChanged()
Definition printing_selector.cpp:99
CardInfoPtr selectedCard
Definition printing_selector.h:87
void retranslateUi()
Definition printing_selector.cpp:94
AbstractTabDeckEditor * deckEditor
Definition printing_selector.h:85
void nextCardRequested()
int currentIndex
Definition printing_selector.h:89
void updateDisplay()
Updates the display by clearing the layout and loading new sets for the current card.
Definition printing_selector.cpp:151
QWidget * sortAndOptionsContainer
Definition printing_selector.h:76
QCheckBox * navigationCheckBox
Definition printing_selector.h:78
SettingsButtonWidget * displayOptionsWidget
Definition printing_selector.h:75
CardSizeWidget * cardSizeWidget
Definition printing_selector.h:83
FlowWidget * flowWidget
Definition printing_selector.h:82
PrintingSelectorCardSearchWidget * searchBar
Definition printing_selector.h:80
void cardAmountsChanged(const QMap< QString, ZoneCounts > &uuidToAmounts)
DeckStateManager * deckStateManager
Definition printing_selector.h:86
QVBoxLayout * layout
Definition printing_selector.h:74
void setCard(const CardInfoPtr &newCard)
Sets the current card for the selector and updates the display.
Definition printing_selector.cpp:177
PrintingSelectorCardSortingWidget * sortToolBar
Definition printing_selector.h:79
PrintingSelector(QWidget *parent, AbstractTabDeckEditor *deckEditor)
Constructs a PrintingSelector widget to display and manage card printings.
Definition printing_selector.cpp:27
PrintingSelectorPlaceholderWidget * placeholderWidget
Definition printing_selector.h:81
QHBoxLayout * sortAndOptionsLayout
Definition printing_selector.h:77
PrintingSelectorCardSelectionWidget * cardSelectionBar
Definition printing_selector.h:84
void toggleVisibilityNavigationButtons(bool _state)
Toggles the visibility of the navigation buttons.
Definition printing_selector.cpp:254
void prevCardRequested()
void getAllSetsForCurrentCard()
Loads and displays all sets for the current selected card.
Definition printing_selector.cpp:202
QTimer * widgetLoadingBufferTimer
Definition printing_selector.h:88
void updateCardAmounts()
Definition printing_selector.cpp:138
Definition settings_button_widget.h:17
A QWidget that wraps a FlowLayout inside an optional QScrollArea.
Definition printing_selector.h:26
int sideboard
Definition printing_selector.h:28
int mainboard
Definition printing_selector.h:27
int tokensboard
Definition printing_selector.h:29