QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ToolStripAction Class Reference

#include <ToolStripAction.h>

Inheritance diagram for ToolStripAction:
Collaboration diagram for ToolStripAction:

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

Detailed Description

Definition at line 8 of file ToolStripAction.h.

Constructor & Destructor Documentation

◆ ToolStripAction()

ToolStripAction::ToolStripAction ( QObject * parent = nullptr)

Definition at line 5 of file ToolStripAction.cc.

Member Function Documentation

◆ alternateIconSource()

QString ToolStripAction::alternateIconSource ( void ) const
inline

Definition at line 42 of file ToolStripAction.h.

References _alternateIconSource.

Referenced by alternateIconSourceChanged(), and setAlternateIconSource().

◆ alternateIconSourceChanged

void ToolStripAction::alternateIconSourceChanged ( QString alternateIconSource)
signal

References alternateIconSource().

Referenced by setAlternateIconSource().

◆ biColorIcon()

bool ToolStripAction::biColorIcon ( void ) const
inline

Definition at line 36 of file ToolStripAction.h.

References _biColorIcon.

Referenced by biColorIconChanged(), and setbiColorIcon().

◆ biColorIconChanged

void ToolStripAction::biColorIconChanged ( bool biColorIcon)
signal

References biColorIcon().

Referenced by setbiColorIcon().

◆ checkable()

bool ToolStripAction::checkable ( void ) const
inline

Definition at line 33 of file ToolStripAction.h.

References _checkable.

Referenced by checkableChanged(), and setCheckable().

◆ checkableChanged

void ToolStripAction::checkableChanged ( bool checkable)
signal

References checkable().

Referenced by setCheckable().

◆ checked()

bool ToolStripAction::checked ( void ) const
inline

Definition at line 34 of file ToolStripAction.h.

References _checked.

Referenced by checkedChanged(), and setChecked().

◆ checkedChanged

void ToolStripAction::checkedChanged ( bool checked)
signal

References checked().

Referenced by setChecked().

◆ dropPanelComponent()

QQmlComponent * ToolStripAction::dropPanelComponent ( void ) const
inline

Definition at line 43 of file ToolStripAction.h.

References _dropPanelComponent.

Referenced by setDropPanelComponent().

◆ dropPanelComponentChanged

void ToolStripAction::dropPanelComponentChanged ( void )
signal

Referenced by setDropPanelComponent().

◆ enabled()

bool ToolStripAction::enabled ( void ) const
inline

Definition at line 31 of file ToolStripAction.h.

References _enabled, and enabled().

Referenced by enabled(), enabledChanged(), and setEnabled().

◆ enabledChanged

void ToolStripAction::enabledChanged ( bool enabled)
signal

References enabled().

Referenced by setEnabled().

◆ fullColorIcon()

bool ToolStripAction::fullColorIcon ( void ) const
inline

Definition at line 37 of file ToolStripAction.h.

References _fullColorIcon.

Referenced by fullColorIconChanged(), and setfullColorIcon().

◆ fullColorIconChanged

void ToolStripAction::fullColorIconChanged ( bool fullColorIcon)
signal

References fullColorIcon().

Referenced by setfullColorIcon().

◆ iconSource()

QString ToolStripAction::iconSource ( void ) const
inline

Definition at line 41 of file ToolStripAction.h.

References _iconSource.

Referenced by iconSourceChanged(), and setIconSource().

◆ iconSourceChanged

void ToolStripAction::iconSourceChanged ( QString iconSource)
signal

References iconSource().

Referenced by setIconSource().

◆ nonExclusive()

bool ToolStripAction::nonExclusive ( void ) const
inline

Definition at line 38 of file ToolStripAction.h.

References _nonExclusive.

Referenced by nonExclusiveChanged(), and setNonExclusive().

◆ nonExclusiveChanged

void ToolStripAction::nonExclusiveChanged ( bool nonExclusive)
signal

References nonExclusive().

Referenced by setNonExclusive().

◆ setAlternateIconSource()

void ToolStripAction::setAlternateIconSource ( const QString & alternateIconSource)

◆ setbiColorIcon()

void ToolStripAction::setbiColorIcon ( bool biColorIcon)

Definition at line 55 of file ToolStripAction.cc.

References _biColorIcon, biColorIcon(), and biColorIconChanged().

◆ setCheckable()

void ToolStripAction::setCheckable ( bool checkable)

Definition at line 28 of file ToolStripAction.cc.

References _checkable, checkable(), and checkableChanged().

◆ setChecked()

void ToolStripAction::setChecked ( bool checked)

Definition at line 37 of file ToolStripAction.cc.

References _checked, checked(), and checkedChanged().

◆ setDropPanelComponent()

void ToolStripAction::setDropPanelComponent ( QQmlComponent * dropPanelComponent)

◆ setEnabled()

void ToolStripAction::setEnabled ( bool enabled)

Definition at line 11 of file ToolStripAction.cc.

References _enabled, enabled(), and enabledChanged().

◆ setfullColorIcon()

void ToolStripAction::setfullColorIcon ( bool fullColorIcon)

Definition at line 64 of file ToolStripAction.cc.

References _fullColorIcon, fullColorIcon(), and fullColorIconChanged().

◆ setIconSource()

void ToolStripAction::setIconSource ( const QString & iconSource)

Definition at line 100 of file ToolStripAction.cc.

References _iconSource, iconSource(), and iconSourceChanged().

◆ setNonExclusive()

void ToolStripAction::setNonExclusive ( bool nonExclusive)

Definition at line 73 of file ToolStripAction.cc.

References _nonExclusive, nonExclusive(), and nonExclusiveChanged().

◆ setShowAlternateIcon()

void ToolStripAction::setShowAlternateIcon ( bool showAlternateIcon)

◆ setText()

void ToolStripAction::setText ( const QString & text)

Definition at line 91 of file ToolStripAction.cc.

References _text, text(), and textChanged().

◆ setToolStripIndex()

void ToolStripAction::setToolStripIndex ( int toolStripIndex)

Definition at line 82 of file ToolStripAction.cc.

References _toolStripIndex, toolStripIndex(), and toolStripIndexChanged().

◆ setVisible()

void ToolStripAction::setVisible ( bool visible)

Definition at line 19 of file ToolStripAction.cc.

References _visible, visible(), and visibleChanged().

◆ showAlternateIcon()

bool ToolStripAction::showAlternateIcon ( void ) const
inline

Definition at line 35 of file ToolStripAction.h.

References _showAlternateIcon.

Referenced by setShowAlternateIcon(), and showAlternateIconChanged().

◆ showAlternateIconChanged

void ToolStripAction::showAlternateIconChanged ( bool showAlternateIcon)
signal

References showAlternateIcon().

Referenced by setShowAlternateIcon().

◆ text()

QString ToolStripAction::text ( void ) const
inline

Definition at line 40 of file ToolStripAction.h.

References _text.

Referenced by setText(), and textChanged().

◆ textChanged

void ToolStripAction::textChanged ( QString text)
signal

References text().

Referenced by setText().

◆ toolStripIndex()

int ToolStripAction::toolStripIndex ( void ) const
inline

Definition at line 39 of file ToolStripAction.h.

References _toolStripIndex.

Referenced by setToolStripIndex(), and toolStripIndexChanged().

◆ toolStripIndexChanged

void ToolStripAction::toolStripIndexChanged ( int toolStripIndex)
signal

References toolStripIndex().

Referenced by setToolStripIndex().

◆ triggered

void ToolStripAction::triggered ( QObject * source)
signal

◆ visible()

bool ToolStripAction::visible ( void ) const
inline

Definition at line 32 of file ToolStripAction.h.

References _visible.

Referenced by setVisible(), and visibleChanged().

◆ visibleChanged

void ToolStripAction::visibleChanged ( bool visible)
signal

References visible().

Referenced by setVisible().

Member Data Documentation

◆ _alternateIconSource

QString ToolStripAction::_alternateIconSource
protected

Definition at line 87 of file ToolStripAction.h.

Referenced by alternateIconSource(), and setAlternateIconSource().

◆ _biColorIcon

bool ToolStripAction::_biColorIcon = false
protected

Definition at line 81 of file ToolStripAction.h.

Referenced by biColorIcon(), and setbiColorIcon().

◆ _checkable

bool ToolStripAction::_checkable = false
protected

Definition at line 78 of file ToolStripAction.h.

Referenced by checkable(), and setCheckable().

◆ _checked

bool ToolStripAction::_checked = false
protected

Definition at line 79 of file ToolStripAction.h.

Referenced by checked(), and setChecked().

◆ _dropPanelComponent

QQmlComponent* ToolStripAction::_dropPanelComponent = nullptr
protected

Definition at line 88 of file ToolStripAction.h.

Referenced by dropPanelComponent(), and setDropPanelComponent().

◆ _enabled

bool ToolStripAction::_enabled = true
protected

Definition at line 76 of file ToolStripAction.h.

Referenced by enabled(), and setEnabled().

◆ _fullColorIcon

bool ToolStripAction::_fullColorIcon = false
protected

Definition at line 82 of file ToolStripAction.h.

Referenced by fullColorIcon(), and setfullColorIcon().

◆ _iconSource

QString ToolStripAction::_iconSource
protected

Definition at line 86 of file ToolStripAction.h.

Referenced by iconSource(), and setIconSource().

◆ _nonExclusive

bool ToolStripAction::_nonExclusive = false
protected

Definition at line 83 of file ToolStripAction.h.

Referenced by nonExclusive(), and setNonExclusive().

◆ _showAlternateIcon

bool ToolStripAction::_showAlternateIcon = false
protected

Definition at line 80 of file ToolStripAction.h.

Referenced by setShowAlternateIcon(), and showAlternateIcon().

◆ _text

QString ToolStripAction::_text
protected

Definition at line 85 of file ToolStripAction.h.

Referenced by setText(), and text().

◆ _toolStripIndex

int ToolStripAction::_toolStripIndex = -1
protected

Definition at line 84 of file ToolStripAction.h.

Referenced by setToolStripIndex(), and toolStripIndex().

◆ _visible

bool ToolStripAction::_visible = true
protected

Definition at line 77 of file ToolStripAction.h.

Referenced by setVisible(), and visible().


The documentation for this class was generated from the following files: