QCAD
Open Source 2D CAD
RGuiAction Class Reference

Abstract base class for GUI action classes. More...

#include <RGuiAction.h>

Inheritance diagram for RGuiAction:
RFocusListener RTransactionListener RSelectionListener

Public Types

typedef void(* FactoryFunction) (RGuiAction *)
 

Public Slots

bool slotTrigger (const QString &command=QString::null)
 Called when the action is triggered (e.g. More...
 

Signals

void postTriggered ()
 

Public Member Functions

void addArgument (const QString &arg)
 
void addShortcut (const QKeySequence &shortcut)
 
void addToMenu (QMenu *menu)
 
void addToToolBar (QToolBar *tb)
 
void clearArguments ()
 
void disableIcon ()
 
bool getAllowInterrupt () const
 
QStringList getArguments ()
 
QStringList getCommands () const
 
QStringList getDefaultCommands ()
 
QList< QKeySequence > getDefaultShortcuts ()
 
bool getForceGlobal () const
 
QString getGroup ()
 
int getGroupSortOrder (const QWidget *w=NULL) const
 
QString getMainCommand () const
 
bool getRequiresDocument () const
 
bool getRequiresRedoableTransaction () const
 
bool getRequiresSelection () const
 
bool getRequiresUndoableTransaction () const
 
QString getScriptClass () const
 
QString getScriptFile () const
 
QList< QKeySequence > getShortcuts () const
 
QString getShortcutsString (const QString &separator=",", QKeySequence::SequenceFormat format=QKeySequence::PortableText) const
 
QString getShortcutText () const
 
int getSortOrder (const QWidget *w=NULL) const
 
QString getToolTip (const QString &oriText, const QString &shortcut)
 
QString getUniqueGroup () const
 
QStringList getWidgetNames () const
 
bool hasNoState () const
 
virtual void init ()
 
virtual void initTexts ()
 Initializes the GUI action texts (for menus, tooltips, ...). More...
 
virtual bool isChecked () const
 
bool isGroupDefault ()
 
bool isIconDisabled () const
 
bool isOverride () const
 
bool isToggleable () const
 
void removeShortcuts ()
 
 RGuiAction (const QString &oriText, QObject *parent=0)
 
void setAllowInterrupt ()
 
virtual void setChecked (bool on)
 Checks or unchecks this action. More...
 
void setCommands (const QStringList &cmds)
 Sets the command(s) that can trigger this action from a command line. More...
 
void setDefaultCommands (const QStringList &cmds)
 
void setDefaultShortcut (const QKeySequence &shortcut)
 
void setDefaultShortcuts (const QList< QKeySequence > &shortcuts)
 
virtual void setEnabled (bool on)
 Enables or disables the action. More...
 
virtual void setEnabledOverride (bool on, int override)
 Enables or disables the action. More...
 
void setFactory (FactoryFunction f)
 
void setForceGlobal (bool on)
 If on is true, this action runs in the global script context (default for actions that don't require a document). More...
 
virtual void setGroup (const QString &title)
 
void setGroupDefault (bool on)
 
void setGroupSortOrder (int sortOrder)
 
void setGroupSortOrderOverride (const QString &widgetName, int sortOrder)
 
virtual void setIcon (const QString &iconFile)
 Sets the action icon to the given icon file. More...
 
void setNoState (bool checkable=false)
 
void setOverride ()
 
void setRequiresDocument (bool on)
 If on is true, this action requires a document to be open. More...
 
void setRequiresRedoableTransaction (bool on)
 
void setRequiresSelection (bool on)
 If on is true, this action requires a selection to operate on. More...
 
void setRequiresUndoableTransaction (bool on)
 
void setScriptFile (const QString &sf, bool isSecondary=false)
 Sets the script file to be used for this action. More...
 
void setShortcut (const QKeySequence &shortcut)
 Sets the shortcut(s) for this action. More...
 
void setShortcuts (const QList< QKeySequence > &shortcuts)
 
void setShortcutsFromStrings (const QStringList &shortcuts)
 
void setShortcutText (const QString &oriText)
 
void setSortOrder (int sortOrder)
 
void setSortOrderOverride (const QString &widgetName, int sortOrder)
 
virtual void setStatusTip (const QString &tip)
 Sets the status tip of this action. More...
 
void setText (const QString &oriText)
 
void setToggleable (bool on=true)
 If enabled, action terminates when activated and already running. More...
 
virtual void setToolTip (const QString &tip)
 Sets the tooltip for this action. More...
 
void setUniqueGroup (const QString &ug)
 
void setWidgetNames (const QStringList &widgetNames)
 
virtual void updateFocus (RDocumentInterface *documentInterface)
 Called by the document whenever the focus changed from one MDI to another. More...
 
void updateIcon ()
 
virtual void updateSelectionListener (RDocumentInterface *documentInterface)
 Called by the document whenever the current selection changes. More...
 
virtual void updateTransactionListener (RDocument *document, RTransaction *transaction=NULL)
 Called by the document whenever the current transaction stack changes. More...
 
virtual ~RGuiAction ()
 
- Public Member Functions inherited from RFocusListener
virtual ~RFocusListener ()
 
- Public Member Functions inherited from RTransactionListener
virtual ~RTransactionListener ()
 
- Public Member Functions inherited from RSelectionListener
virtual ~RSelectionListener ()
 

Static Public Member Functions

static void addSeparatorToWidget (QAction *a, QWidget *w)
 
static void addToWidget (QAction *a, QWidget *w)
 
static void clear ()
 Cleans up all GUI action objects. More...
 
static void fixSeparators (const QWidget *w)
 
static QString formatToolTip (const QString &oriText, const QString &shortcut)
 
static QList< RGuiAction * > getActions ()
 
static QStringList getAvailableCommands (bool primaryOnly=false)
 
static QStringList getAvailableCommands (const QString &start, bool primaryOnly=false)
 
static RGuiActiongetByClassName (const QString &className)
 
static RGuiActiongetByCommand (const QString &command)
 
static RGuiActiongetByScriptFile (const QString &scriptFile)
 
static int getGroupSortOrderStatic (const QAction *a, const QWidget *w=NULL)
 
static int getSortOrderStatic (const QAction *a, const QWidget *w=NULL)
 
static QStringList getWidgetNamesStatic (const QAction *a)
 
static void removeFromWidget (QAction *a, QWidget *w)
 
static void setGroupSortOrderOverrideStatic (QAction *a, const QString &widgetName, int sortOrder)
 
static void setGroupSortOrderStatic (QAction *a, int sortOrder)
 
static void setSortOrderOverrideStatic (QAction *a, const QString &widgetName, int sortOrder)
 
static void setSortOrderStatic (QAction *a, int sortOrder)
 
static void setWidgetNamesStatic (QAction *a, const QStringList &widgetNames)
 
static bool triggerByCommand (const QString &cmd)
 Triggers the first action in the list of actions that is registered to use the given command. More...
 
static bool triggerByScriptFile (const QString &scriptFile)
 Triggers the first action in the list of actions that is based on the given scriptFile. More...
 
static bool triggerByShortcut (const QString &sc)
 
static void triggerGroupDefault (const QString &group)
 
static void triggerGroupDefaults ()
 
static void updateIcons ()
 

Protected Attributes

bool allowInterrupt
 
QStringList arguments
 
QStringList commandList
 
QStringList defaultCommandList
 
QList< QKeySequence > defaultShortcuts
 
int enabledOverride
 
FactoryFunction factory
 
bool forceGlobal
 
QString group
 
bool groupDefault
 
bool iconDisabled
 
QString iconFile
 
QString mainCommand
 
QList< QKeySequence > multiKeyShortcuts
 
bool noState
 
QString oriText
 
bool override
 
bool requiresDocument
 
bool requiresRedoableTransaction
 
bool requiresSelection
 
bool requiresUndoableTransaction
 
QString scriptFile
 
QString shortcutText
 
bool toggleable
 
QString toolTip
 
QString uniqueGroup
 

Static Protected Attributes

static QList< RGuiAction * > actions
 
static QMap< QString, RGuiAction * > actionsByCommand
 Copyright (c) 2011-2018 by Andrew Mustun. More...
 
static QMultiMap< QString, RGuiAction * > actionsByGroup
 
static QMap< QString, RGuiAction * > actionsByPrimaryCommand
 
static QMap< QString, RGuiAction * > actionsByScriptFile
 
static QMap< QString, RGuiAction * > actionsByShortcut
 

Detailed Description

Abstract base class for GUI action classes.

Such classes represent a GUI action that can be used to start a tool. One GUI action class may be assigned to multiple GUI elements, for example a menu, a toolbutton and a context menu.

Each GUI action can have multiple commands assigned to it. These commands can be used to trigger the action from a command line.

Each GUI action can have multiple shortcuts assigned to it. Shortcuts are 'traditional' key combinations that can be used to trigger the action. e.g. Ctrl + Z, Ctrl + N, ...

Scriptable:\nThis class is available in script environments.\n

Member Typedef Documentation

◆ FactoryFunction

typedef void(* RGuiAction::FactoryFunction) (RGuiAction *)

Constructor & Destructor Documentation

◆ RGuiAction()

RGuiAction::RGuiAction ( const QString &  oriText,
QObject *  parent = 0 
)

◆ ~RGuiAction()

RGuiAction::~RGuiAction ( )
virtual

Member Function Documentation

◆ addArgument()

void RGuiAction::addArgument ( const QString &  arg)

◆ addSeparatorToWidget()

void RGuiAction::addSeparatorToWidget ( QAction *  a,
QWidget *  w 
)
static

◆ addShortcut()

void RGuiAction::addShortcut ( const QKeySequence &  shortcut)

◆ addToMenu()

void RGuiAction::addToMenu ( QMenu *  menu)

◆ addToToolBar()

void RGuiAction::addToToolBar ( QToolBar *  tb)

◆ addToWidget()

void RGuiAction::addToWidget ( QAction *  a,
QWidget *  w 
)
static

◆ clear()

void RGuiAction::clear ( )
static

Cleans up all GUI action objects.

◆ clearArguments()

void RGuiAction::clearArguments ( )

◆ disableIcon()

void RGuiAction::disableIcon ( )

◆ fixSeparators()

void RGuiAction::fixSeparators ( const QWidget *  w)
static

◆ formatToolTip()

QString RGuiAction::formatToolTip ( const QString &  oriText,
const QString &  shortcut 
)
static

◆ getActions()

static QList<RGuiAction*> RGuiAction::getActions ( )
inlinestatic
Returns
List of all instantiated actions.

◆ getAllowInterrupt()

bool RGuiAction::getAllowInterrupt ( ) const
inline

◆ getArguments()

QStringList RGuiAction::getArguments ( )

◆ getAvailableCommands() [1/2]

QStringList RGuiAction::getAvailableCommands ( bool  primaryOnly = false)
static
Returns
A list of available top level commands. These are commands that can be used to trigger actions.
Parameters
primaryOnlyTrue: only include primary commands (e.g. 'point') False: also include secondary commands (e.g. 'po')

◆ getAvailableCommands() [2/2]

QStringList RGuiAction::getAvailableCommands ( const QString &  start,
bool  primaryOnly = false 
)
static
Returns
List of available commands for triggering actions that start with start.

This is typically used when the user presses the Tab key in a command line to complete a started command. For example entering "li<tab>" will result in the command to be completed to "line".

Parameters
primaryOnlyTrue: only include primary commands (e.g. 'point') False: also include secondary commands (e.g. 'po')

◆ getByClassName()

RGuiAction * RGuiAction::getByClassName ( const QString &  className)
static
Returns
The first action in the list of actions that defines a class with the given name. Test is based on file name only.

◆ getByCommand()

RGuiAction * RGuiAction::getByCommand ( const QString &  command)
static

◆ getByScriptFile()

RGuiAction * RGuiAction::getByScriptFile ( const QString &  scriptFile)
static
Returns
The first action in the list of actions that is based on the given scriptFile.

◆ getCommands()

QStringList RGuiAction::getCommands ( ) const
inline
Returns
Complete list of commands that may be used to trigger this action.

◆ getDefaultCommands()

QStringList RGuiAction::getDefaultCommands ( )
inline

◆ getDefaultShortcuts()

QList< QKeySequence > RGuiAction::getDefaultShortcuts ( )

◆ getForceGlobal()

bool RGuiAction::getForceGlobal ( ) const
inline

◆ getGroup()

QString RGuiAction::getGroup ( )

◆ getGroupSortOrder()

int RGuiAction::getGroupSortOrder ( const QWidget *  w = NULL) const

◆ getGroupSortOrderStatic()

int RGuiAction::getGroupSortOrderStatic ( const QAction *  a,
const QWidget *  w = NULL 
)
static

◆ getMainCommand()

QString RGuiAction::getMainCommand ( ) const
inline
Returns
The main command used to trigger this action. This is typically the full command (e.g. "line") rather than one of the abbreviated commands such as "ln".

◆ getRequiresDocument()

bool RGuiAction::getRequiresDocument ( ) const
inline
Return values
trueThis action requires an open document to be started.
falseThis action does not require an open document to be started.

◆ getRequiresRedoableTransaction()

bool RGuiAction::getRequiresRedoableTransaction ( ) const
inline

◆ getRequiresSelection()

bool RGuiAction::getRequiresSelection ( ) const
inline
Return values
trueThis action requires an selection to be started.
falseThis action does not require a selection to be started.

◆ getRequiresUndoableTransaction()

bool RGuiAction::getRequiresUndoableTransaction ( ) const
inline

◆ getScriptClass()

QString RGuiAction::getScriptClass ( ) const
inline

◆ getScriptFile()

QString RGuiAction::getScriptFile ( ) const
inline
Returns
Script file on which this action is based on.

◆ getShortcuts()

QList< QKeySequence > RGuiAction::getShortcuts ( ) const

◆ getShortcutsString()

QString RGuiAction::getShortcutsString ( const QString &  separator = ",",
QKeySequence::SequenceFormat  format = QKeySequence::PortableText 
) const

◆ getShortcutText()

QString RGuiAction::getShortcutText ( ) const

◆ getSortOrder()

int RGuiAction::getSortOrder ( const QWidget *  w = NULL) const

◆ getSortOrderStatic()

int RGuiAction::getSortOrderStatic ( const QAction *  a,
const QWidget *  w = NULL 
)
static

◆ getToolTip()

QString RGuiAction::getToolTip ( const QString &  oriText,
const QString &  shortcut 
)

◆ getUniqueGroup()

QString RGuiAction::getUniqueGroup ( ) const
inline

◆ getWidgetNames()

QStringList RGuiAction::getWidgetNames ( ) const

◆ getWidgetNamesStatic()

QStringList RGuiAction::getWidgetNamesStatic ( const QAction *  a)
static

◆ hasNoState()

bool RGuiAction::hasNoState ( ) const
inline

◆ init()

void RGuiAction::init ( )
virtual

◆ initTexts()

void RGuiAction::initTexts ( )
virtual

Initializes the GUI action texts (for menus, tooltips, ...).

This function is called whenever the text of the action changes.

◆ isChecked()

bool RGuiAction::isChecked ( ) const
virtual
Returns
True if this action is checked.

◆ isGroupDefault()

bool RGuiAction::isGroupDefault ( )

◆ isIconDisabled()

bool RGuiAction::isIconDisabled ( ) const

◆ isOverride()

bool RGuiAction::isOverride ( ) const
inline

◆ isToggleable()

bool RGuiAction::isToggleable ( ) const
inline

◆ postTriggered

void RGuiAction::postTriggered ( )
signal

◆ removeFromWidget()

void RGuiAction::removeFromWidget ( QAction *  a,
QWidget *  w 
)
static

◆ removeShortcuts()

void RGuiAction::removeShortcuts ( )

◆ setAllowInterrupt()

void RGuiAction::setAllowInterrupt ( )
inline

◆ setChecked()

void RGuiAction::setChecked ( bool  on)
virtual

Checks or unchecks this action.

◆ setCommands()

void RGuiAction::setCommands ( const QStringList &  cmds)

Sets the command(s) that can trigger this action from a command line.

Parameters
cmdComma separated list of command(s) to set for this action.
e.g. "mycommand", "mycommand,mycom,mc".

◆ setDefaultCommands()

void RGuiAction::setDefaultCommands ( const QStringList &  cmds)

◆ setDefaultShortcut()

void RGuiAction::setDefaultShortcut ( const QKeySequence &  shortcut)

◆ setDefaultShortcuts()

void RGuiAction::setDefaultShortcuts ( const QList< QKeySequence > &  shortcuts)

◆ setEnabled()

void RGuiAction::setEnabled ( bool  on)
virtual

Enables or disables the action.

◆ setEnabledOverride()

void RGuiAction::setEnabledOverride ( bool  on,
int  override 
)
virtual

Enables or disables the action.

Parameters
override-1: don't set override (default), 1: true, 0: false

◆ setFactory()

void RGuiAction::setFactory ( FactoryFunction  f)
Non-Scriptable:\nThis function is not available in script environments.\n

◆ setForceGlobal()

void RGuiAction::setForceGlobal ( bool  on)
inline

If on is true, this action runs in the global script context (default for actions that don't require a document).

◆ setGroup()

void RGuiAction::setGroup ( const QString &  title)
virtual

◆ setGroupDefault()

void RGuiAction::setGroupDefault ( bool  on)

◆ setGroupSortOrder()

void RGuiAction::setGroupSortOrder ( int  sortOrder)

◆ setGroupSortOrderOverride()

void RGuiAction::setGroupSortOrderOverride ( const QString &  widgetName,
int  sortOrder 
)

◆ setGroupSortOrderOverrideStatic()

void RGuiAction::setGroupSortOrderOverrideStatic ( QAction *  a,
const QString &  widgetName,
int  sortOrder 
)
static

◆ setGroupSortOrderStatic()

void RGuiAction::setGroupSortOrderStatic ( QAction *  a,
int  sortOrder 
)
static

◆ setIcon()

void RGuiAction::setIcon ( const QString &  iconFile)
virtual

Sets the action icon to the given icon file.

◆ setNoState()

void RGuiAction::setNoState ( bool  checkable = false)
inline

◆ setOverride()

void RGuiAction::setOverride ( )
inline

◆ setRequiresDocument()

void RGuiAction::setRequiresDocument ( bool  on)
inline

If on is true, this action requires a document to be open.

The GUI element(s) can for example be grayed out if no document is open.

◆ setRequiresRedoableTransaction()

void RGuiAction::setRequiresRedoableTransaction ( bool  on)
inline

◆ setRequiresSelection()

void RGuiAction::setRequiresSelection ( bool  on)

If on is true, this action requires a selection to operate on.

The GUI element(s) can for example be grayed out if no selection is present.

◆ setRequiresUndoableTransaction()

void RGuiAction::setRequiresUndoableTransaction ( bool  on)
inline

◆ setScriptFile()

void RGuiAction::setScriptFile ( const QString &  sf,
bool  isSecondary = false 
)

Sets the script file to be used for this action.

This is only used for script based actions.

Parameters
isSecondarytrue to avoid this action to be identified by the given script file when calling getByScriptFile. Used for example for recent file menu entries which all refer to the script OpenFile.js.

◆ setShortcut()

void RGuiAction::setShortcut ( const QKeySequence &  shortcut)

Sets the shortcut(s) for this action.

Parameters
shortcutComma separated list of shortcuts (e.g. "Ctrl-Shift-Z,Ctrl-Y").

◆ setShortcuts()

void RGuiAction::setShortcuts ( const QList< QKeySequence > &  shortcuts)

◆ setShortcutsFromStrings()

void RGuiAction::setShortcutsFromStrings ( const QStringList &  shortcuts)

◆ setShortcutText()

void RGuiAction::setShortcutText ( const QString &  oriText)

◆ setSortOrder()

void RGuiAction::setSortOrder ( int  sortOrder)

◆ setSortOrderOverride()

void RGuiAction::setSortOrderOverride ( const QString &  widgetName,
int  sortOrder 
)

◆ setSortOrderOverrideStatic()

void RGuiAction::setSortOrderOverrideStatic ( QAction *  a,
const QString &  widgetName,
int  sortOrder 
)
static

◆ setSortOrderStatic()

void RGuiAction::setSortOrderStatic ( QAction *  a,
int  sortOrder 
)
static

◆ setStatusTip()

void RGuiAction::setStatusTip ( const QString &  tip)
virtual

Sets the status tip of this action.

The status tip is shown in the status bar of the application when the mouse cursor hovers of a menu entry.

◆ setText()

void RGuiAction::setText ( const QString &  oriText)

◆ setToggleable()

void RGuiAction::setToggleable ( bool  on = true)
inline

If enabled, action terminates when activated and already running.

◆ setToolTip()

void RGuiAction::setToolTip ( const QString &  tip)
virtual

Sets the tooltip for this action.

Tooltips are shown when the mouse cursor hovers over a GUI element for some time.

◆ setUniqueGroup()

void RGuiAction::setUniqueGroup ( const QString &  ug)
inline

◆ setWidgetNames()

void RGuiAction::setWidgetNames ( const QStringList &  widgetNames)

◆ setWidgetNamesStatic()

void RGuiAction::setWidgetNamesStatic ( QAction *  a,
const QStringList &  widgetNames 
)
static

◆ slotTrigger

bool RGuiAction::slotTrigger ( const QString &  command = QString::null)
slot

Called when the action is triggered (e.g.

This should be called when the action is triggered, i.e.

a button is pressed or a menu chosen).

a GUI element is activated (button pressed, menu selected, etc).

◆ triggerByCommand()

bool RGuiAction::triggerByCommand ( const QString &  cmd)
static

Triggers the first action in the list of actions that is registered to use the given command.

Parameters
commandCommand that was launched (e.g. "line" or "ln").

◆ triggerByScriptFile()

bool RGuiAction::triggerByScriptFile ( const QString &  scriptFile)
static

Triggers the first action in the list of actions that is based on the given scriptFile.

◆ triggerByShortcut()

bool RGuiAction::triggerByShortcut ( const QString &  sc)
static

◆ triggerGroupDefault()

void RGuiAction::triggerGroupDefault ( const QString &  group)
static

found &&

◆ triggerGroupDefaults()

void RGuiAction::triggerGroupDefaults ( )
static

◆ updateFocus()

void RGuiAction::updateFocus ( RDocumentInterface di)
virtual

Called by the document whenever the focus changed from one MDI to another.

Parameters
diThe document interface that has now the focus.

Implements RFocusListener.

◆ updateIcon()

void RGuiAction::updateIcon ( )

◆ updateIcons()

void RGuiAction::updateIcons ( )
static

◆ updateSelectionListener()

void RGuiAction::updateSelectionListener ( RDocumentInterface documentInterface)
virtual

Called by the document whenever the current selection changes.

Implements RSelectionListener.

◆ updateTransactionListener()

void RGuiAction::updateTransactionListener ( RDocument document,
RTransaction transaction = NULL 
)
virtual

Called by the document whenever the current transaction stack changes.

Implements RTransactionListener.

Member Data Documentation

◆ actions

QList< RGuiAction * > RGuiAction::actions
staticprotected

◆ actionsByCommand

QMap< QString, RGuiAction * > RGuiAction::actionsByCommand
staticprotected

Copyright (c) 2011-2018 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

◆ actionsByGroup

QMultiMap< QString, RGuiAction * > RGuiAction::actionsByGroup
staticprotected

◆ actionsByPrimaryCommand

QMap< QString, RGuiAction * > RGuiAction::actionsByPrimaryCommand
staticprotected

◆ actionsByScriptFile

QMap< QString, RGuiAction * > RGuiAction::actionsByScriptFile
staticprotected

◆ actionsByShortcut

QMap< QString, RGuiAction * > RGuiAction::actionsByShortcut
staticprotected

◆ allowInterrupt

bool RGuiAction::allowInterrupt
protected

◆ arguments

QStringList RGuiAction::arguments
protected

◆ commandList

QStringList RGuiAction::commandList
protected

◆ defaultCommandList

QStringList RGuiAction::defaultCommandList
protected

◆ defaultShortcuts

QList<QKeySequence> RGuiAction::defaultShortcuts
protected

◆ enabledOverride

int RGuiAction::enabledOverride
protected

◆ factory

FactoryFunction RGuiAction::factory
protected

◆ forceGlobal

bool RGuiAction::forceGlobal
protected

◆ group

QString RGuiAction::group
protected

◆ groupDefault

bool RGuiAction::groupDefault
protected

◆ iconDisabled

bool RGuiAction::iconDisabled
protected

◆ iconFile

QString RGuiAction::iconFile
protected

◆ mainCommand

QString RGuiAction::mainCommand
protected

◆ multiKeyShortcuts

QList<QKeySequence> RGuiAction::multiKeyShortcuts
protected

◆ noState

bool RGuiAction::noState
protected

◆ oriText

QString RGuiAction::oriText
protected

◆ override

bool RGuiAction::override
protected

◆ requiresDocument

bool RGuiAction::requiresDocument
protected

◆ requiresRedoableTransaction

bool RGuiAction::requiresRedoableTransaction
protected

◆ requiresSelection

bool RGuiAction::requiresSelection
protected

◆ requiresUndoableTransaction

bool RGuiAction::requiresUndoableTransaction
protected

◆ scriptFile

QString RGuiAction::scriptFile
protected

◆ shortcutText

QString RGuiAction::shortcutText
protected

◆ toggleable

bool RGuiAction::toggleable
protected

◆ toolTip

QString RGuiAction::toolTip
protected

◆ uniqueGroup

QString RGuiAction::uniqueGroup
protected

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