Class to provide extra functionality for working with ToolBar controls.
More...
#include <ToolBar.h>
|
enum class | ToolBarIconSize { IconNormal
, IconLarge
, Default = IconNormal
} |
| Enum used to specify the ToolBar icon size. Icon sizing is also affected by the toolbar group (primary/secondary).
|
|
|
static Config | loadConfig (QSettings &settings) |
|
static Config | defaultConfig () |
| Gets the default ToolBar style configuration.
|
|
static void | addMainToolBarStyle (QToolBar *toolbar) |
| Applies the primary styling to a ToolBar.
|
|
static void | setToolBarIconSize (QToolBar *toolbar, ToolBarIconSize size) |
| Sets the icon size on the toolbar to the size provided.
|
|
static QToolButton * | getToolBarExpansionButton (QToolBar *toolBar) |
|
Class to provide extra functionality for working with ToolBar controls.
◆ getToolBarExpansionButton()
static QToolButton * AzQtComponents::ToolBar::getToolBarExpansionButton |
( |
QToolBar * |
toolBar | ) |
|
|
static |
Returns a pointer to the toolbar's expander button. Used to override the default toolbar overflow behavior.
◆ loadConfig()
static Config AzQtComponents::ToolBar::loadConfig |
( |
QSettings & |
settings | ) |
|
|
static |
Sets the ToolBar style configuration.
- Parameters
-
settings | The settings object to load the configuration from. |
- Returns
- The new configuration of the ToolBar.
The documentation for this class was generated from the following file:
- Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/ToolBar.h