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.
|
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.
|
Detailed Description
The DtPopupToolbarButton class is a toolbar which controls the display of a toolbar.
Constructor & Destructor Documentation
| 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 |
Member Function Documentation
| 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.
| void makVrv::DtPopupToolbarButton::hideToolbar |
( |
| ) |
|
Hides the toolbar and updates the state/display of the button.
| virtual void makVrv::DtPopupToolbarButton::changeEvent |
( |
QEvent * |
event | ) |
|
|
protectedvirtual |
| void makVrv::DtPopupToolbarButton::buttonEnableDisable |
( |
bool |
enabled | ) |
|
|
protected |
| void makVrv::DtPopupToolbarButton::updateButtonIcon |
( |
bool |
checked | ) |
|
|
protected |
| void makVrv::DtPopupToolbarButton::slot_onToggle |
( |
bool |
toggled | ) |
|
|
protectedslot |
| void makVrv::DtPopupToolbarButton::on_sliderToolBarShown |
( |
| ) |
|
|
protectedslot |
| void makVrv::DtPopupToolbarButton::on_sliderToolBarHidden |
( |
| ) |
|
|
protectedslot |
| static QIcon makVrv::DtPopupToolbarButton::makeWideIconWithArrow |
( |
const QIcon & |
baseIcon, |
|
|
bool |
downArrow, |
|
|
QToolButton * |
button |
|
) |
| |
|
staticprotected |
Utility function for creating an icon with an arrow next to it.
Member Data Documentation
| QIcon* makVrv::DtPopupToolbarButton::myUpArrowIcon |
|
protected |
| QIcon* makVrv::DtPopupToolbarButton::myDownArrowIcon |
|
protected |
The documentation for this class was generated from the following file: