SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
SC_RecentlyClosedTabWidget Class Reference
Inheritance diagram for SC_RecentlyClosedTabWidget:

Public Slots

void removePreview (QWidget *widget=0)
 
bool addIndexToPreview (const QModelIndex &index)
 
bool previewNext (QWidget *exclude=0)
 
void removePreviewAndAddNextOrHide (QWidget *widget)
 
void removePreviousTabFromPreview ()
 
void restoreCurrentlySelected ()
 
void addTab (QWidget *widget, const QString &title, const QString &tooltip, const QIcon &icon)
 
void previewNextOrHide (QWidget *exclude=0)
 
void showContextMenu (const QPoint &p)
 
void restoreTabSlot (QWidget *widget, const QString &title, const QString &tooltip, const QIcon &icon)
 
void clearHistory ()
 
void removeCurrentItem ()
 
void clearHistoryPrompt ()
 
void restoreAllTabs ()
 
void currentChanged (const QModelIndex &current, const QModelIndex &previous)
 

Signals

void hideRequest ()
 
void showRequest ()
 
void restoreTab (QWidget *widget, const QString &title, const QString &tooltip, const QIcon &icon)
 

Public Member Functions

 SC_RecentlyClosedTabWidget (QWidget *parent=0, QBoxLayout::Direction grow=QBoxLayout::LeftToRight, SC_RecentlyClosedTabItemModel *modelToUse=0)
 
SC_RecentlyClosedTabItemModelgetModel ()
 

Protected Member Functions

void init ()
 
QWidget * initListView ()
 
QModelIndex getSelectionAndMakeSureIsValidIfElementsAvailable ()
 
void showEvent (QShowEvent *e) override