#include <ToolStripAction.h>
Signals | |
| void | enabledChanged (bool enabled) |
| void | visibleChanged (bool visible) |
| void | checkableChanged (bool checkable) |
| void | checkedChanged (bool checked) |
| void | showAlternateIconChanged (bool showAlternateIcon) |
| void | biColorIconChanged (bool biColorIcon) |
| void | fullColorIconChanged (bool fullColorIcon) |
| void | nonExclusiveChanged (bool nonExclusive) |
| void | toolStripIndexChanged (int toolStripIndex) |
| void | textChanged (QString text) |
| void | iconSourceChanged (QString iconSource) |
| void | alternateIconSourceChanged (QString alternateIconSource) |
| void | triggered (QObject *source) |
| void | dropPanelComponentChanged (void) |
Public Member Functions | |
| ToolStripAction (QObject *parent=nullptr) | |
| bool | enabled (void) const |
| bool | visible (void) const |
| bool | checkable (void) const |
| bool | checked (void) const |
| bool | showAlternateIcon (void) const |
| bool | biColorIcon (void) const |
| bool | fullColorIcon (void) const |
| bool | nonExclusive (void) const |
| int | toolStripIndex (void) const |
| QString | text (void) const |
| QString | iconSource (void) const |
| QString | alternateIconSource (void) const |
| QQmlComponent * | dropPanelComponent (void) const |
| void | setEnabled (bool enabled) |
| void | setVisible (bool visible) |
| void | setCheckable (bool checkable) |
| void | setChecked (bool checked) |
| void | setShowAlternateIcon (bool showAlternateIcon) |
| void | setbiColorIcon (bool biColorIcon) |
| void | setfullColorIcon (bool fullColorIcon) |
| void | setNonExclusive (bool nonExclusive) |
| void | setToolStripIndex (int toolStripIndex) |
| void | setText (const QString &text) |
| void | setIconSource (const QString &iconSource) |
| void | setAlternateIconSource (const QString &alternateIconSource) |
| void | setDropPanelComponent (QQmlComponent *dropPanelComponent) |
Protected Attributes | |
| bool | _enabled = true |
| bool | _visible = true |
| bool | _checkable = false |
| bool | _checked = false |
| bool | _showAlternateIcon = false |
| bool | _biColorIcon = false |
| bool | _fullColorIcon = false |
| bool | _nonExclusive = false |
| int | _toolStripIndex = -1 |
| QString | _text |
| QString | _iconSource |
| QString | _alternateIconSource |
| QQmlComponent * | _dropPanelComponent = nullptr |
Definition at line 8 of file ToolStripAction.h.
| ToolStripAction::ToolStripAction | ( | QObject * | parent = nullptr | ) |
Definition at line 5 of file ToolStripAction.cc.
|
inline |
Definition at line 42 of file ToolStripAction.h.
References _alternateIconSource.
Referenced by alternateIconSourceChanged(), and setAlternateIconSource().
|
signal |
References alternateIconSource().
Referenced by setAlternateIconSource().
|
inline |
Definition at line 36 of file ToolStripAction.h.
References _biColorIcon.
Referenced by biColorIconChanged(), and setbiColorIcon().
|
signal |
References biColorIcon().
Referenced by setbiColorIcon().
|
inline |
Definition at line 33 of file ToolStripAction.h.
References _checkable.
Referenced by checkableChanged(), and setCheckable().
|
signal |
References checkable().
Referenced by setCheckable().
|
inline |
Definition at line 34 of file ToolStripAction.h.
References _checked.
Referenced by checkedChanged(), and setChecked().
|
signal |
References checked().
Referenced by setChecked().
|
inline |
Definition at line 43 of file ToolStripAction.h.
References _dropPanelComponent.
Referenced by setDropPanelComponent().
|
signal |
Referenced by setDropPanelComponent().
|
inline |
Definition at line 31 of file ToolStripAction.h.
References _enabled, and enabled().
Referenced by enabled(), enabledChanged(), and setEnabled().
|
signal |
References enabled().
Referenced by setEnabled().
|
inline |
Definition at line 37 of file ToolStripAction.h.
References _fullColorIcon.
Referenced by fullColorIconChanged(), and setfullColorIcon().
|
signal |
References fullColorIcon().
Referenced by setfullColorIcon().
|
inline |
Definition at line 41 of file ToolStripAction.h.
References _iconSource.
Referenced by iconSourceChanged(), and setIconSource().
|
signal |
References iconSource().
Referenced by setIconSource().
|
inline |
Definition at line 38 of file ToolStripAction.h.
References _nonExclusive.
Referenced by nonExclusiveChanged(), and setNonExclusive().
|
signal |
References nonExclusive().
Referenced by setNonExclusive().
| void ToolStripAction::setAlternateIconSource | ( | const QString & | alternateIconSource | ) |
Definition at line 109 of file ToolStripAction.cc.
References _alternateIconSource, alternateIconSource(), and alternateIconSourceChanged().
| void ToolStripAction::setbiColorIcon | ( | bool | biColorIcon | ) |
Definition at line 55 of file ToolStripAction.cc.
References _biColorIcon, biColorIcon(), and biColorIconChanged().
| void ToolStripAction::setCheckable | ( | bool | checkable | ) |
Definition at line 28 of file ToolStripAction.cc.
References _checkable, checkable(), and checkableChanged().
| void ToolStripAction::setChecked | ( | bool | checked | ) |
Definition at line 37 of file ToolStripAction.cc.
References _checked, checked(), and checkedChanged().
| void ToolStripAction::setDropPanelComponent | ( | QQmlComponent * | dropPanelComponent | ) |
Definition at line 117 of file ToolStripAction.cc.
References _dropPanelComponent, dropPanelComponent(), and dropPanelComponentChanged().
| void ToolStripAction::setEnabled | ( | bool | enabled | ) |
Definition at line 11 of file ToolStripAction.cc.
References _enabled, enabled(), and enabledChanged().
| void ToolStripAction::setfullColorIcon | ( | bool | fullColorIcon | ) |
Definition at line 64 of file ToolStripAction.cc.
References _fullColorIcon, fullColorIcon(), and fullColorIconChanged().
| void ToolStripAction::setIconSource | ( | const QString & | iconSource | ) |
Definition at line 100 of file ToolStripAction.cc.
References _iconSource, iconSource(), and iconSourceChanged().
| void ToolStripAction::setNonExclusive | ( | bool | nonExclusive | ) |
Definition at line 73 of file ToolStripAction.cc.
References _nonExclusive, nonExclusive(), and nonExclusiveChanged().
| void ToolStripAction::setShowAlternateIcon | ( | bool | showAlternateIcon | ) |
Definition at line 46 of file ToolStripAction.cc.
References _showAlternateIcon, showAlternateIcon(), and showAlternateIconChanged().
| void ToolStripAction::setText | ( | const QString & | text | ) |
Definition at line 91 of file ToolStripAction.cc.
References _text, text(), and textChanged().
| void ToolStripAction::setToolStripIndex | ( | int | toolStripIndex | ) |
Definition at line 82 of file ToolStripAction.cc.
References _toolStripIndex, toolStripIndex(), and toolStripIndexChanged().
| void ToolStripAction::setVisible | ( | bool | visible | ) |
Definition at line 19 of file ToolStripAction.cc.
References _visible, visible(), and visibleChanged().
|
inline |
Definition at line 35 of file ToolStripAction.h.
References _showAlternateIcon.
Referenced by setShowAlternateIcon(), and showAlternateIconChanged().
|
signal |
References showAlternateIcon().
Referenced by setShowAlternateIcon().
|
inline |
Definition at line 40 of file ToolStripAction.h.
References _text.
Referenced by setText(), and textChanged().
|
signal |
|
inline |
Definition at line 39 of file ToolStripAction.h.
References _toolStripIndex.
Referenced by setToolStripIndex(), and toolStripIndexChanged().
|
signal |
References toolStripIndex().
Referenced by setToolStripIndex().
|
signal |
|
inline |
Definition at line 32 of file ToolStripAction.h.
References _visible.
Referenced by setVisible(), and visibleChanged().
|
signal |
References visible().
Referenced by setVisible().
|
protected |
Definition at line 87 of file ToolStripAction.h.
Referenced by alternateIconSource(), and setAlternateIconSource().
|
protected |
Definition at line 81 of file ToolStripAction.h.
Referenced by biColorIcon(), and setbiColorIcon().
|
protected |
Definition at line 78 of file ToolStripAction.h.
Referenced by checkable(), and setCheckable().
|
protected |
Definition at line 79 of file ToolStripAction.h.
Referenced by checked(), and setChecked().
|
protected |
Definition at line 88 of file ToolStripAction.h.
Referenced by dropPanelComponent(), and setDropPanelComponent().
|
protected |
Definition at line 76 of file ToolStripAction.h.
Referenced by enabled(), and setEnabled().
|
protected |
Definition at line 82 of file ToolStripAction.h.
Referenced by fullColorIcon(), and setfullColorIcon().
|
protected |
Definition at line 86 of file ToolStripAction.h.
Referenced by iconSource(), and setIconSource().
|
protected |
Definition at line 83 of file ToolStripAction.h.
Referenced by nonExclusive(), and setNonExclusive().
|
protected |
Definition at line 80 of file ToolStripAction.h.
Referenced by setShowAlternateIcon(), and showAlternateIcon().
|
protected |
Definition at line 85 of file ToolStripAction.h.
|
protected |
Definition at line 84 of file ToolStripAction.h.
Referenced by setToolStripIndex(), and toolStripIndex().
|
protected |
Definition at line 77 of file ToolStripAction.h.
Referenced by setVisible(), and visible().