7#ifndef PRINTING_SELECTOR_H
8#define PRINTING_SELECTOR_H
12#include <qtmetamacros.h>
23template <
class Key,
class T>
class QMap;
QSharedPointer< CardInfo > CardInfoPtr
Definition card_info.cpp:15
AbstractTabDeckEditor is the base class for all deck editor tabs.
Definition abstract_tab_deck_editor.h:77
This class centralizes the management of the state of the deck in the deck editor tab....
Definition deck_state_manager.h:32
void printingsInDeckChanged()
Definition printing_selector.cpp:123
CardInfoPtr selectedCard
Definition printing_selector.h:89
void retranslateUi()
Definition printing_selector.cpp:118
AbstractTabDeckEditor * deckEditor
Definition printing_selector.h:87
int currentIndex
Definition printing_selector.h:91
void updateDisplay()
Updates the display by clearing the layout and loading new sets for the current card.
Definition printing_selector.cpp:175
QWidget * sortAndOptionsContainer
Definition printing_selector.h:78
QCheckBox * navigationCheckBox
Definition printing_selector.h:80
SettingsButtonWidget * displayOptionsWidget
Definition printing_selector.h:77
CardSizeWidget * cardSizeWidget
Definition printing_selector.h:85
FlowWidget * flowWidget
Definition printing_selector.h:84
PrintingSelectorCardSearchWidget * searchBar
Definition printing_selector.h:82
void cardAmountsChanged(const QMap< QString, ZoneCounts > &uuidToAmounts)
DeckStateManager * deckStateManager
Definition printing_selector.h:88
QVBoxLayout * layout
Definition printing_selector.h:76
void setCard(const CardInfoPtr &newCard)
Sets the current card for the selector and updates the display.
Definition printing_selector.cpp:201
PrintingSelectorCardSortingWidget * sortToolBar
Definition printing_selector.h:81
PrintingSelector(QWidget *parent, AbstractTabDeckEditor *deckEditor)
Constructs a PrintingSelector widget to display and manage card printings.
Definition printing_selector.cpp:48
PrintingSelectorPlaceholderWidget * placeholderWidget
Definition printing_selector.h:83
QHBoxLayout * sortAndOptionsLayout
Definition printing_selector.h:79
PrintingSelectorCardSelectionWidget * cardSelectionBar
Definition printing_selector.h:86
void toggleVisibilityNavigationButtons(bool _state)
Toggles the visibility of the navigation buttons.
Definition printing_selector.cpp:278
void getAllSetsForCurrentCard()
Loads and displays all sets for the current selected card.
Definition printing_selector.cpp:226
QTimer * widgetLoadingBufferTimer
Definition printing_selector.h:90
void updateCardAmounts()
Definition printing_selector.cpp:162
Definition printing_selector.h:28
int sideboard
Definition printing_selector.h:30
int mainboard
Definition printing_selector.h:29
int tokensboard
Definition printing_selector.h:31