![]() |
VR-Forces 4.0.4 Class Documentation
|
The DtPopupToolbarButton class is a toolbar which controls the display of a toolbar. More...

Public Member Functions | |
| DtPopupToolbarButton (DtPopupToolbar *toolbar, QWidget *parent) | |
| Constructs a toolbar button which will control the visibility of the provided toolbar. | |
| virtual | ~DtPopupToolbarButton () |
| Delete the button. | |
| virtual void | setIconWithArrow (const QIcon &icon) |
| Sets the button to use an icon and an arrow next to it. | |
| void | showToolbar (bool show=true) |
| Shows the toolbar and updates the state/display of the button. | |
| void | hideToolbar () |
| Hides the toolbar and updates the state/display of the button. | |
Protected Slots | |
| void | slot_onToggle (bool toggled) |
| void | on_sliderToolBarShown () |
| void | on_sliderToolBarHidden () |
Protected Member Functions | |
| virtual void | changeEvent (QEvent *event) |
| void | buttonEnableDisable (bool enabled) |
| void | updateButtonIcon (bool checked) |
Static Protected Member Functions | |
| static QIcon | makeWideIconWithArrow (const QIcon &baseIcon, bool downArrow, QToolButton *button) |
| Utility function for creating an icon with an arrow next to it. | |
Protected Attributes | |
| DtPopupToolbar * | myToolbar |
| QIcon * | myUpArrowIcon |
| QIcon * | myDownArrowIcon |
The DtPopupToolbarButton class is a toolbar which controls the display of a toolbar.
| makVrv::DtPopupToolbarButton::DtPopupToolbarButton | ( | DtPopupToolbar * | toolbar, |
| QWidget * | parent | ||
| ) | [explicit] |
Constructs a toolbar button which will control the visibility of the provided toolbar.
| virtual makVrv::DtPopupToolbarButton::~DtPopupToolbarButton | ( | ) | [virtual] |
Delete the button.
| virtual void makVrv::DtPopupToolbarButton::setIconWithArrow | ( | const QIcon & | icon | ) | [virtual] |
Sets the button to use an icon and an arrow next to it.
| void makVrv::DtPopupToolbarButton::showToolbar | ( | bool | show = true | ) |
Shows the toolbar and updates the state/display of the button.
Hides the toolbar and updates the state/display of the button.
| virtual void makVrv::DtPopupToolbarButton::changeEvent | ( | QEvent * | event | ) | [protected, virtual] |
| void makVrv::DtPopupToolbarButton::buttonEnableDisable | ( | bool | enabled | ) | [protected] |
| void makVrv::DtPopupToolbarButton::updateButtonIcon | ( | bool | checked | ) | [protected] |
| void makVrv::DtPopupToolbarButton::slot_onToggle | ( | bool | toggled | ) | [protected, slot] |
| void makVrv::DtPopupToolbarButton::on_sliderToolBarShown | ( | ) | [protected, slot] |
| void makVrv::DtPopupToolbarButton::on_sliderToolBarHidden | ( | ) | [protected, slot] |
| static QIcon makVrv::DtPopupToolbarButton::makeWideIconWithArrow | ( | const QIcon & | baseIcon, |
| bool | downArrow, | ||
| QToolButton * | button | ||
| ) | [static, protected] |
Utility function for creating an icon with an arrow next to it.
DtPopupToolbar* makVrv::DtPopupToolbarButton::myToolbar [protected] |
QIcon* makVrv::DtPopupToolbarButton::myUpArrowIcon [protected] |
QIcon* makVrv::DtPopupToolbarButton::myDownArrowIcon [protected] |