Cockatrice 2026-01-14-Development-2.11.0-beta.46
A cross-platform 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
29class PrintingSelectorViewOptionsWidget;
84
85#endif // PRINTING_SELECTOR_H
QSharedPointer< CardInfo > CardInfoPtr
Definition card_info.cpp:20
TODO: Document this.
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:20
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:80
void retranslateUi()
Definition printing_selector.cpp:94
AbstractTabDeckEditor * deckEditor
Definition printing_selector.h:78
void nextCardRequested()
void cardAmountsChanged(const QMap< QString, QPair< int, int > > &uuidToAmounts)
int currentIndex
Definition printing_selector.h:82
void updateDisplay()
Updates the display by clearing the layout and loading new sets for the current card.
Definition printing_selector.cpp:144
QWidget * sortAndOptionsContainer
Definition printing_selector.h:69
QCheckBox * navigationCheckBox
Definition printing_selector.h:71
SettingsButtonWidget * displayOptionsWidget
Definition printing_selector.h:68
CardSizeWidget * cardSizeWidget
Definition printing_selector.h:76
FlowWidget * flowWidget
Definition printing_selector.h:75
PrintingSelectorCardSearchWidget * searchBar
Definition printing_selector.h:73
DeckStateManager * deckStateManager
Definition printing_selector.h:79
QVBoxLayout * layout
Definition printing_selector.h:67
void setCard(const CardInfoPtr &newCard)
Sets the current card for the selector and updates the display.
Definition printing_selector.cpp:170
PrintingSelectorCardSortingWidget * sortToolBar
Definition printing_selector.h:72
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:74
QHBoxLayout * sortAndOptionsLayout
Definition printing_selector.h:70
PrintingSelectorCardSelectionWidget * cardSelectionBar
Definition printing_selector.h:77
void toggleVisibilityNavigationButtons(bool _state)
Toggles the visibility of the navigation buttons.
Definition printing_selector.cpp:248
void prevCardRequested()
void getAllSetsForCurrentCard()
Loads and displays all sets for the current selected card.
Definition printing_selector.cpp:195
QTimer * widgetLoadingBufferTimer
Definition printing_selector.h:81
void updateCardAmounts()
Definition printing_selector.cpp:131
Definition settings_button_widget.h:17
TODO: Document this.
TODO: Document this.