![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <tab_deck_storage_visual.h>
Public Slots | |
| void | actOpenLocalDeck (const QString &filePath) |
| void | actShareDeck (const QString &filePath) |
Signals | |
| void | openDeckEditor (const LoadedDeck &deck) |
| Signals inherited from Tab | |
| void | userEvent (bool globalEvent=true) |
| void | tabTextChanged (Tab *tab, const QString &newTabText) |
| void | cockatriceLinkActivated (const QString &url) |
Public Member Functions | |
| TabDeckStorageVisual (TabSupervisor *_tabSupervisor, AbstractClient *_client) | |
| void | retranslateUi () override |
| QString | getTabText () const override |
| void | enterShareMode (const QStringList &preselectFiles={}) |
| Enters share-selection mode, optionally preselecting the given deck files. | |
| void | exitShareMode () |
| Leaves share-selection mode and clears the selection. | |
| bool | isShareModeActive () const |
| Public Member Functions inherited from Tab | |
| Tab (TabSupervisor *_tabSupervisor) | |
| const QList< QMenu * > & | getTabMenus () const |
| TabSupervisor * | getTabSupervisor () const |
| bool | getContentsChanged () const |
| void | setContentsChanged (bool _contentsChanged) |
| virtual bool | closeRequest () |
| virtual void | tabActivated () |
Private Slots | |
| void | actShareSelected () |
| void | shareFinished (const Response &response, const CommandContainer &commandContainer) |
| void | onShareTimeout () |
| void | onShareSelectionChanged () |
| void | handleConnectionChanged (ClientStatus status) |
Private Member Functions | |
| void | showShareNotice (const QString &message, bool warning=false) |
| void | updateShareHint () |
Private Attributes | |
| VisualDeckStorageWidget * | visualDeckStorageWidget |
| ShareBarWidget * | shareBar = nullptr |
| AbstractClient * | client |
| QTimer * | shareTimeoutTimer |
| int | shareRequestSeq = 0 |
| int | shareInFlightSeq = 0 |
| bool | shareDeckAvailable = false |
Additional Inherited Members | |
| Protected Slots inherited from Tab | |
| void | showCardInfoPopup (const QPoint &pos, const CardRef &cardRef) |
| void | deleteCardInfoPopup (const QString &cardName) |
| Protected Member Functions inherited from Tab | |
| void | addTabMenu (QMenu *menu) |
| Protected Attributes inherited from Tab | |
| TabSupervisor * | tabSupervisor |
|
explicit |
|
slot |
|
slot |
|
privateslot |
| void TabDeckStorageVisual::enterShareMode | ( | const QStringList & | preselectFiles = {} | ) |
Enters share-selection mode, optionally preselecting the given deck files.
| void TabDeckStorageVisual::exitShareMode | ( | ) |
Leaves share-selection mode and clears the selection.
|
inlinenodiscardoverridevirtual |
Implements Tab.
|
privateslot |
|
inlinenodiscard |
|
privateslot |
|
privateslot |
|
signal |
|
overridevirtual |
Implements Tab.
|
privateslot |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |