#include <tab.h>
◆ Tab()
◆ addTabMenu()
| void Tab::addTabMenu |
( |
QMenu * | menu | ) |
|
|
inlineprotected |
◆ closeRequest()
| bool Tab::closeRequest |
( |
| ) |
|
|
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.
- Returns
- True if the tab is successfully closed.
Reimplemented in TabGame.
◆ deleteCardInfoPopup
| void Tab::deleteCardInfoPopup |
( |
const QString & | cardName | ) |
|
|
protectedslot |
◆ getContentsChanged()
| bool Tab::getContentsChanged |
( |
| ) |
const |
|
inlinenodiscard |
◆ getTabMenus()
| const QList< QMenu * > & Tab::getTabMenus |
( |
| ) |
const |
|
inlinenodiscard |
◆ getTabSupervisor()
◆ getTabText()
| virtual QString Tab::getTabText |
( |
| ) |
const |
|
nodiscardpure virtual |
Implemented in AbstractTabDeckEditor, TabAccount, TabAdmin, TabArchidekt, TabDeckEditor, TabDeckEditorVisual, TabDeckStorage, TabDeckStorageVisual, TabEdhRec, TabEdhRecMain, TabGame, TabHome, TabLog, TabMessage, TabReplays, TabRoom, TabServer, and TabVisualDatabaseDisplay.
◆ retranslateUi()
| virtual void Tab::retranslateUi |
( |
| ) |
|
|
pure virtual |
Implemented in AbstractTabDeckEditor, TabAccount, TabAdmin, TabArchidekt, TabDeckEditor, TabDeckEditorVisual, TabDeckStorage, TabDeckStorageVisual, TabEdhRec, TabEdhRecMain, TabGame, TabHome, TabLog, TabMessage, TabReplays, TabRoom, TabServer, and TabVisualDatabaseDisplay.
◆ setContentsChanged()
| void Tab::setContentsChanged |
( |
bool | _contentsChanged | ) |
|
|
inline |
◆ showCardInfoPopup
| void Tab::showCardInfoPopup |
( |
const QPoint & | pos, |
|
|
const CardRef & | cardRef ) |
|
protectedslot |
◆ tabActivated()
| virtual void Tab::tabActivated |
( |
| ) |
|
|
inlinevirtual |
◆ tabTextChanged
| void Tab::tabTextChanged |
( |
Tab * | tab, |
|
|
const QString & | newTabText ) |
|
signal |
◆ userEvent
| void Tab::userEvent |
( |
bool | globalEvent = true | ) |
|
|
signal |
◆ contentsChanged
| bool Tab::contentsChanged |
|
private |
◆ currentCard
◆ infoPopup
◆ tabMenus
| QList<QMenu *> Tab::tabMenus |
|
private |
◆ tabSupervisor
The documentation for this class was generated from the following files:
- cockatrice/src/interface/widgets/tabs/tab.h
- cockatrice/src/interface/widgets/tabs/tab.cpp