Enhanced toolbar class.
#include <QtxToolBar.h>

Data Structures | |
| class | Watcher |
| Internal class which goal is to watch parent toolbar state changing. More... | |
Public Slots | |
| virtual void | setVisible (bool) |
| Show/hide the toolbar. | |
Public Member Functions | |
| QtxToolBar (const bool, const QString &, QWidget *) | |
| Constructor. | |
| QtxToolBar (const QString &, QWidget *) | |
| Constructor. | |
| QtxToolBar (const bool, QWidget *=0) | |
| Constructor. | |
| QtxToolBar (QWidget *=0) | |
| Constructor. | |
| virtual | ~QtxToolBar () |
| Destructor. | |
| QMainWindow * | mainWindow () const |
| Get parent main window. | |
Protected Member Functions | |
| virtual bool | event (QEvent *) |
Private Attributes | |
| Watcher * | myWatcher |
| watcher object | |
| bool | myStretch |
| stretching toolbar flag (not used) | |
| QtxToolBar::QtxToolBar | ( | const bool | watch, |
| const QString & | label, | ||
| QWidget * | parent | ||
| ) |
| watch | if true the event filter is installed to watch toolbar state changes to update it properly |
| label | toolbar title |
| parent | parent widget |
References myWatcher.
| QtxToolBar::QtxToolBar | ( | const QString & | label, |
| QWidget * | parent | ||
| ) |
| label | toolbar title |
| parent | parent widget |
| QtxToolBar::QtxToolBar | ( | const bool | watch, |
| QWidget * | parent = 0 |
||
| ) |
| watch | if true the event filter is installed to watch toolbar state changes to update it properly |
| parent | parent widget |
References myWatcher.
| QtxToolBar::QtxToolBar | ( | QWidget * | parent = 0 | ) |
| parent | parent widget |
| QtxToolBar::~QtxToolBar | ( | ) | [virtual] |
| QMainWindow * QtxToolBar::mainWindow | ( | ) | const |
| void QtxToolBar::setVisible | ( | bool | visible | ) | [virtual, slot] |
| on | new visibility state |
References QtxToolBar.Watcher.hidden(), myWatcher, and QtxToolBar.Watcher.shown().
| bool QtxToolBar::event | ( | QEvent * | e | ) | [protected, virtual] |
Watcher* QtxToolBar.myWatcher [private] |
bool QtxToolBar.myStretch [private] |