QToolBarChangeEvent Class
The QToolBarChangeEvent class provides an event that is sent whenever a the toolbar button is clicked on macOS. More...
Header: | #include <QToolBarChangeEvent> |
Inherits: | QEvent |
Public Functions
QToolBarChangeEvent(bool t) | |
bool | toggle() const |
Detailed Description
\internal
\ingroup
events \inmodule
QtGui
The QToolBarChangeEvent is sent when the toolbar button is clicked. On macOS, this is the long oblong button on the right side of the window title bar. The default implementation is to toggle the appearance (hidden or shown) of the associated toolbars for the window.
Member Function Documentation
[explicit]
QToolBarChangeEvent::QToolBarChangeEvent(bool t)
\internal
Construct a QToolBarChangeEvent given the current button state in state.
bool QToolBarChangeEvent::toggle() const
\internal