![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <tab.h>
Signals | |
| void | userEvent (bool globalEvent=true) |
| void | tabTextChanged (Tab *tab, const QString &newTabText) |
| void | cockatriceLinkActivated (const QString &url) |
Public Member Functions | |
| Tab (TabSupervisor *_tabSupervisor) | |
| const QList< QMenu * > & | getTabMenus () const |
| TabSupervisor * | getTabSupervisor () const |
| bool | getContentsChanged () const |
| void | setContentsChanged (bool _contentsChanged) |
| virtual QString | getTabText () const =0 |
| virtual void | retranslateUi ()=0 |
| virtual bool | closeRequest () |
| virtual void | tabActivated () |
Protected Slots | |
| void | showCardInfoPopup (const QPoint &pos, const CardRef &cardRef) |
| void | deleteCardInfoPopup (const QString &cardName) |
Protected Member Functions | |
| void | addTabMenu (QMenu *menu) |
Protected Attributes | |
| TabSupervisor * | tabSupervisor |
Private Attributes | |
| CardRef | currentCard |
| bool | contentsChanged |
| CardInfoDisplayWidget * | infoPopup |
| QList< QMenu * > | tabMenus |
|
explicit |
|
inlineprotected |
|
virtual |
Nicely asks to close the tab. Override this method to do checks or ask for confirmation before closing the tab. If you need to force close the tab, just call close() instead.
Reimplemented in TabGame, and TabPublicDecks.
|
signal |
|
protectedslot |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
nodiscardpure virtual |
Implemented in AbstractTabDeckEditor, TabAccount, TabAdmin, TabArchidekt, TabCardArtRules, TabDeckEditor, TabDeckEditorVisual, TabDeckStorage, TabDeckStorageVisual, TabDeveloper, TabEdhRec, TabEdhRecMain, TabGame, TabHome, TabLog, TabMessage, TabModeration, TabPublicDecks, TabReplays, TabReport, TabRoom, TabServer, and TabVisualDatabaseDisplay.
|
pure virtual |
Implemented in AbstractTabDeckEditor, TabAccount, TabAdmin, TabArchidekt, TabCardArtRules, TabDeckEditor, TabDeckEditorVisual, TabDeckStorage, TabDeckStorageVisual, TabDeveloper, TabEdhRec, TabEdhRecMain, TabGame, TabHome, TabLog, TabMessage, TabModeration, TabPublicDecks, TabReplays, TabReport, TabRoom, TabServer, and TabVisualDatabaseDisplay.
|
inline |
|
protectedslot |
|
inlinevirtual |
Reimplemented in TabMessage, and TabRoom.
|
signal |
|
signal |
|
private |
|
private |
|
private |
|
private |
|
protected |