1#ifndef WINDOW_DECKEDITORVISUAL_H
2#define WINDOW_DECKEDITORVISUAL_H
107 [[nodiscard]] QString
getTabText()
const override;
160 const QString &zoneName);
AbstractTabDeckEditor(TabSupervisor *_tabSupervisor)
Constructs an AbstractTabDeckEditor.
Definition abstract_tab_deck_editor.cpp:53
Definition card_info_picture_with_text_overlay_widget.h:18
Represents a specific card instance, defined by its CardInfo and a particular printing.
Definition exact_card.h:19
void onDeckChanged() override
Refresh UI when the deck changes.
Definition tab_deck_editor_visual.cpp:84
void processMainboardCardClick(QMouseEvent *event, CardInfoPictureWithTextOverlayWidget *instance, const QString &zoneName)
Handle card clicks in the mainboard visual deck.
Definition tab_deck_editor_visual.cpp:144
void refreshShortcuts() override
Refresh keyboard shortcuts for this tab.
Definition tab_deck_editor_visual.cpp:250
void createSearchAndDatabaseFrame()
Create search and database display frame.
QWidget * centralWidget
Central widget of the editor.
Definition tab_deck_editor_visual.h:89
void retranslateUi() override
Retranslate UI strings (for i18n support).
Definition tab_deck_editor_visual.cpp:295
void processCardClickDatabaseDisplay(QMouseEvent *event, CardInfoPictureWithTextOverlayWidget *instance)
Handle card clicks in the database visual display.
Definition tab_deck_editor_visual.cpp:220
void showPrintingSelector() override
Show the printing selector dock for the currently active card.
Definition tab_deck_editor_visual.cpp:242
void restartLayout() override
Reset and restart the layout to default.
Definition tab_deck_editor_visual.cpp:270
TabDeckEditorVisual(TabSupervisor *_tabSupervisor)
Constructs a visual deck editor tab.
Definition tab_deck_editor_visual.cpp:39
QHBoxLayout * searchLayout
Layout for search bar.
Definition tab_deck_editor_visual.h:87
bool actSaveDeckAs() override
Save the deck under a new name.
Definition tab_deck_editor_visual.cpp:233
QVBoxLayout * searchAndDatabaseFrame
Layout for search and database display.
Definition tab_deck_editor_visual.h:86
TabDeckEditorVisualTabWidget * tabContainer
Tab container holding different visual widgets.
Definition tab_deck_editor_visual.h:83
void changeModelIndexAndCardInfo(const ExactCard &activeCard)
Update the currently selected card in the deck and UI.
Definition tab_deck_editor_visual.cpp:125
bool eventFilter(QObject *o, QEvent *e) override
Synchronize dock state with menu items.
Definition tab_deck_editor_visual.cpp:323
void createCentralFrame()
Create central frame for visual widgets.
Definition tab_deck_editor_visual.cpp:57
void changeModelIndexToCard(const ExactCard &activeCard)
Change the deck view selection to a specific card.
Definition tab_deck_editor_visual.cpp:132
void createDeckAnalyticsDock()
Create the deck analytics dock widget.
QString getTabText() const override
Get the display text for the tab.
Definition tab_deck_editor_visual.cpp:116
void loadLayout() override
Load the editor layout from settings.
Definition tab_deck_editor_visual.cpp:257
QVBoxLayout * centralFrame
Layout for central widgets.
Definition tab_deck_editor_visual.h:85
QDockWidget * searchAndDatabaseDock
Dock widget for search/database display.
Definition tab_deck_editor_visual.h:88
void createMenus() override
Setup menus for this visual deck editor.
Definition tab_deck_editor_visual.cpp:93
Definition tab_supervisor.h:83