![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtUtilityBar (QMainWindow *parent) | |
| virtual | ~DtUtilityBar () |
| virtual void | init () |
| virtual QDockWidget * | createToolBar (const QString &tab, const QString &toolBarName) |
| Creates a new toolbar on the specified tab and returns it. | |
| virtual QDockWidget * | createToolBar (int iTab, const QString &toolBarName) |
| Creates a tool bar using the tab at the specified index. | |
| virtual QTextStream & | write (QTextStream &ts) |
| Archive current toolbar information. | |
| virtual QTextStream & | read (QTextStream &ts) |
| virtual DtToolBarArea | createToolBarArea (const QString &tab) |
| virtual QWidget * | createTabArea (const QString &tab) |
| virtual bool | renameTabArea (const QString &label, const QString &newLabel) |
| virtual bool | removeTabArea (const QString &label) |
| Removes tab from utility bar and deletes the page and all tool bars on it. | |
| QTabWidget * | tabWidget () |
| virtual void | removeToolBar (QDockWidget **bar, bool removePage=false) |
| Removes the toolbar from the utility bar. | |
Static Public Member Functions | |
| static DtUtilityBar * | create (QMainWindow *parent) |
Protected Slots | |
| virtual void | toolBarDestroyed () |
Protected Attributes | |
| QTabWidget * | myTabWidget |
| QMainWindow * | myOwner |
| bool | myShownOnce |
| QList< QDockWidget * > | myToolBars |
| QHash< QString, DtToolBarArea > | myToolBarAreas |
| DtUtilityBar::DtUtilityBar | ( | QMainWindow * | parent | ) |
| virtual DtUtilityBar::~DtUtilityBar | ( | ) | [virtual] |
| virtual void DtUtilityBar::init | ( | ) | [virtual] |
| virtual QDockWidget* DtUtilityBar::createToolBar | ( | const QString & | tab, |
| const QString & | toolBarName | ||
| ) | [virtual] |
Creates a new toolbar on the specified tab and returns it.
If tab does not exist, creates a new tab.
| virtual QDockWidget* DtUtilityBar::createToolBar | ( | int | iTab, |
| const QString & | toolBarName | ||
| ) | [virtual] |
Creates a tool bar using the tab at the specified index.
| virtual QTextStream& DtUtilityBar::write | ( | QTextStream & | ts | ) | [virtual] |
Archive current toolbar information.
| virtual QTextStream& DtUtilityBar::read | ( | QTextStream & | ts | ) | [virtual] |
| virtual DtToolBarArea DtUtilityBar::createToolBarArea | ( | const QString & | tab | ) | [virtual] |
| virtual QWidget* DtUtilityBar::createTabArea | ( | const QString & | tab | ) | [virtual] |
| virtual bool DtUtilityBar::renameTabArea | ( | const QString & | label, |
| const QString & | newLabel | ||
| ) | [virtual] |
| virtual bool DtUtilityBar::removeTabArea | ( | const QString & | label | ) | [virtual] |
Removes tab from utility bar and deletes the page and all tool bars on it.
Returns true if tab area was found
| QTabWidget * DtUtilityBar::tabWidget | ( | ) | [inline] |
References myTabWidget.
| virtual void DtUtilityBar::removeToolBar | ( | QDockWidget ** | bar, |
| bool | removePage = false |
||
| ) | [virtual] |
Removes the toolbar from the utility bar.
If removePage is true, removes the page if there are no more toolbars on that page. In either case, the toolbar is destroyed. The supplied address is set to NULL after the removal
| static DtUtilityBar* DtUtilityBar::create | ( | QMainWindow * | parent | ) | [static] |
| virtual void DtUtilityBar::toolBarDestroyed | ( | ) | [protected, virtual, slot] |
QTabWidget* DtUtilityBar::myTabWidget [protected] |
Referenced by tabWidget().
QMainWindow* DtUtilityBar::myOwner [protected] |
bool DtUtilityBar::myShownOnce [protected] |
QList<QDockWidget*> DtUtilityBar::myToolBars [protected] |
QHash<QString, DtToolBarArea> DtUtilityBar::myToolBarAreas [protected] |