RGuiAction
Class in Core Module
Header: #include <src/core/RGuiAction.h>
Inherits: QAction, RFocusListener, RTransactionListener, RSelectionListener
Description
Section titled “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: This class is available in script environments.
Public Types
Section titled “Public Types”| typedef | void(*) FactoryFunction |
Public Functions
Section titled “Public Functions”RGuiAction(const QString &oriText, QObject *parent=0) |
|
| virtual | ~RGuiAction() |
| 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, …). |
| virtual bool | isChecked() const |
| bool | isGroupDefault() |
| bool | isIconDisabled() const |
| bool | isOverride() const |
| bool | isToggleable() const |
| void | removeShortcuts() |
| void | setAllowInterrupt() |
| virtual void | setChecked(bool on)Checks or unchecks this action. |
| void | setCommands(const QStringList &cmds)Sets the command(s) that can trigger this action from a command line. |
| virtual void | setCurrentBlock(RDocument *document) |
| 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. |
| virtual void | setEnabledOverride(bool on, int override)Enables or disables the action. |
| 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). |
| 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. |
| void | setNoState(bool checkable=false) |
| void | setOverride() |
| void | setRequiresDocument(bool on)If on is true, this action requires a document to be open. |
| void | setRequiresRedoableTransaction(bool on) |
| void | setRequiresSelection(bool on)If on is true, this action requires a selection to operate on. |
| void | setRequiresUndoableTransaction(bool on) |
| void | setScriptFile(const QString &sf, bool isSecondary=false)Sets the script file to be used for this action. |
| void | setShortcut(const QKeySequence &shortcut)Sets the shortcut(s) for this action. |
| 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. |
| void | setText(const QString &oriText) |
| void | setToggleable(bool on=true)If enabled, action terminates when activated and already running. |
| virtual void | setToolTip(const QString &tip)Sets the tooltip for this action. |
| 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. |
| void | updateIcon() |
| virtual void | updateSelectionListener(RDocumentInterface *documentInterface)Called by the document whenever the current selection changes. |
| virtual void | updateTransactionListener(RDocument *document, RTransaction *transaction=NULL)Called by the document whenever the current transaction stack changes. |
Static Public Functions
Section titled “Static Public Functions”| static void | addSeparatorToWidget(QAction *a, QWidget *w) |
| static void | addToWidget(QAction *a, QWidget *w) |
| static void | clear()Cleans up all GUI action objects. |
| 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 RGuiAction * | getByClassName(const QString &className) |
| static RGuiAction * | getByCommand(const QString &command) |
| static RGuiAction * | getByScriptFile(const QString &scriptFile) |
| static int | getGroupSortOrderStatic(const QAction *a, const QWidget *w=NULL) |
| static QString | getIconPath(const QString &iconFile, bool inverse=false) |
| 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. |
| static bool | triggerByScriptFile(const QString &scriptFile)Triggers the first action in the list of actions that is based on the given scriptFile. |
| static bool | triggerByShortcut(const QString &sc) |
| static void | triggerGroupDefault(const QString &group) |
| static void | triggerGroupDefaults() |
| static void | updateIcons() |
| static void | updateToolTips() |
Public Slots
Section titled “Public Slots”| bool | slotTrigger(const QString &command=QString())Called when the action is triggered (e.g. |
Protected Attributes
Section titled “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 |
| QString | oriToolTip |
| bool | override |
| bool | requiresDocument |
| bool | requiresRedoableTransaction |
| bool | requiresSelection |
| bool | requiresUndoableTransaction |
| QString | scriptFile |
| QString | shortcutText |
| bool | toggleable |
| QString | uniqueGroup |
Static Protected Attributes
Section titled “Static Protected Attributes”| static QList< RGuiAction * > | actions |
| static QMap< QString, RGuiAction * > | actionsByCommand |
| static QMultiMap< QString, RGuiAction * > | actionsByGroup |
| static QMap< QString, RGuiAction * > | actionsByPrimaryCommand |
| static QMap< QString, RGuiAction * > | actionsByScriptFile |
| static QMap< QString, RGuiAction * > | actionsByShortcut |
Signals
Section titled “Signals”| void | postTriggered() |
Member Documentation
Section titled “Member Documentation”FactoryFunction
Section titled “FactoryFunction”typedef void(*) RGuiAction::FactoryFunction(RGuiAction *)(RGuiAction *)RGuiAction
Section titled “RGuiAction”RGuiAction::RGuiAction(const QString &oriText, QObject *parent=0)~RGuiAction
Section titled “~RGuiAction”virtual RGuiAction::~RGuiAction()virtual
addArgument
Section titled “addArgument”void RGuiAction::addArgument(const QString &arg)addShortcut
Section titled “addShortcut”void RGuiAction::addShortcut(const QKeySequence &shortcut)addToMenu
Section titled “addToMenu”void RGuiAction::addToMenu(QMenu *menu)addToToolBar
Section titled “addToToolBar”void RGuiAction::addToToolBar(QToolBar *tb)clearArguments
Section titled “clearArguments”void RGuiAction::clearArguments()disableIcon
Section titled “disableIcon”void RGuiAction::disableIcon()getAllowInterrupt
Section titled “getAllowInterrupt”bool RGuiAction::getAllowInterrupt() constinline const
getArguments
Section titled “getArguments”QStringList RGuiAction::getArguments()getCommands
Section titled “getCommands”QStringList RGuiAction::getCommands() constinline const
Returns: Complete list of commands that may be used to trigger this action.
getDefaultCommands
Section titled “getDefaultCommands”QStringList RGuiAction::getDefaultCommands()inline
getDefaultShortcuts
Section titled “getDefaultShortcuts”QList< QKeySequence > RGuiAction::getDefaultShortcuts()getForceGlobal
Section titled “getForceGlobal”bool RGuiAction::getForceGlobal() constinline const
getGroup
Section titled “getGroup”QString RGuiAction::getGroup()getGroupSortOrder
Section titled “getGroupSortOrder”int RGuiAction::getGroupSortOrder(const QWidget *w=NULL) constconst
getMainCommand
Section titled “getMainCommand”QString RGuiAction::getMainCommand() constinline const
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
Section titled “getRequiresDocument”bool RGuiAction::getRequiresDocument() constinline const
Return values:
true: This action requires an open document to be started.false: This action does not require an open document to be started.
getRequiresRedoableTransaction
Section titled “getRequiresRedoableTransaction”bool RGuiAction::getRequiresRedoableTransaction() constinline const
getRequiresSelection
Section titled “getRequiresSelection”bool RGuiAction::getRequiresSelection() constinline const
Return values:
true: This action requires an selection to be started.false: This action does not require a selection to be started.
getRequiresUndoableTransaction
Section titled “getRequiresUndoableTransaction”bool RGuiAction::getRequiresUndoableTransaction() constinline const
getScriptClass
Section titled “getScriptClass”QString RGuiAction::getScriptClass() constconst
getScriptFile
Section titled “getScriptFile”QString RGuiAction::getScriptFile() constinline const
Returns: Script file on which this action is based on.
getShortcuts
Section titled “getShortcuts”QList< QKeySequence > RGuiAction::getShortcuts() constconst
getShortcutsString
Section titled “getShortcutsString”QString RGuiAction::getShortcutsString(const QString &separator=",", QKeySequence::SequenceFormat format=QKeySequence::PortableText) constconst
getShortcutText
Section titled “getShortcutText”QString RGuiAction::getShortcutText() constconst
getSortOrder
Section titled “getSortOrder”int RGuiAction::getSortOrder(const QWidget *w=NULL) constconst
getToolTip
Section titled “getToolTip”QString RGuiAction::getToolTip(const QString &oriText, const QString &shortcut)getUniqueGroup
Section titled “getUniqueGroup”QString RGuiAction::getUniqueGroup() constinline const
getWidgetNames
Section titled “getWidgetNames”QStringList RGuiAction::getWidgetNames() constconst
hasNoState
Section titled “hasNoState”bool RGuiAction::hasNoState() constinline const
virtual void RGuiAction::init()virtual
initTexts
Section titled “initTexts”virtual void RGuiAction::initTexts()virtual
Initializes the GUI action texts (for menus, tooltips, …).
This function is called whenever the text of the action changes.
isChecked
Section titled “isChecked”virtual bool RGuiAction::isChecked() constvirtual const
Returns: True if this action is checked.
isGroupDefault
Section titled “isGroupDefault”bool RGuiAction::isGroupDefault()isIconDisabled
Section titled “isIconDisabled”bool RGuiAction::isIconDisabled() constconst
isOverride
Section titled “isOverride”bool RGuiAction::isOverride() constinline const
isToggleable
Section titled “isToggleable”bool RGuiAction::isToggleable() constinline const
removeShortcuts
Section titled “removeShortcuts”void RGuiAction::removeShortcuts()setAllowInterrupt
Section titled “setAllowInterrupt”void RGuiAction::setAllowInterrupt()inline
setChecked
Section titled “setChecked”virtual void RGuiAction::setChecked(bool on)virtual
Checks or unchecks this action.
setCommands
Section titled “setCommands”void RGuiAction::setCommands(const QStringList &cmds)Sets the command(s) that can trigger this action from a command line.
Parameters:
cmd: Comma separated list of command(s) to set for this action.
e.g. “mycommand”, “mycommand,mycom,mc”.
setCurrentBlock
Section titled “setCurrentBlock”virtual void RGuiAction::setCurrentBlock(RDocument *document)virtual inline
Reimplemented from setCurrentBlock.
setDefaultCommands
Section titled “setDefaultCommands”void RGuiAction::setDefaultCommands(const QStringList &cmds)setDefaultShortcut
Section titled “setDefaultShortcut”void RGuiAction::setDefaultShortcut(const QKeySequence &shortcut)setDefaultShortcuts
Section titled “setDefaultShortcuts”void RGuiAction::setDefaultShortcuts(const QList< QKeySequence > &shortcuts)setEnabled
Section titled “setEnabled”virtual void RGuiAction::setEnabled(bool on)virtual
Enables or disables the action.
setEnabledOverride
Section titled “setEnabledOverride”virtual 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
Section titled “setFactory”void RGuiAction::setFactory(FactoryFunction f)Non-Scriptable: This function is not available in script environments.
setForceGlobal
Section titled “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
Section titled “setGroup”virtual void RGuiAction::setGroup(const QString &title)virtual
setGroupDefault
Section titled “setGroupDefault”void RGuiAction::setGroupDefault(bool on)setGroupSortOrder
Section titled “setGroupSortOrder”void RGuiAction::setGroupSortOrder(int sortOrder)setGroupSortOrderOverride
Section titled “setGroupSortOrderOverride”void RGuiAction::setGroupSortOrderOverride(const QString &widgetName, int sortOrder)setIcon
Section titled “setIcon”virtual void RGuiAction::setIcon(const QString &iconFile)virtual
Sets the action icon to the given icon file.
setNoState
Section titled “setNoState”void RGuiAction::setNoState(bool checkable=false)inline
setOverride
Section titled “setOverride”void RGuiAction::setOverride()inline
setRequiresDocument
Section titled “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
Section titled “setRequiresRedoableTransaction”void RGuiAction::setRequiresRedoableTransaction(bool on)inline
setRequiresSelection
Section titled “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
Section titled “setRequiresUndoableTransaction”void RGuiAction::setRequiresUndoableTransaction(bool on)inline
setScriptFile
Section titled “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:
isSecondary: true 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
Section titled “setShortcut”void RGuiAction::setShortcut(const QKeySequence &shortcut)Sets the shortcut(s) for this action.
Parameters:
shortcut: Comma separated list of shortcuts (e.g. “Ctrl-Shift-Z,Ctrl-Y”).
setShortcuts
Section titled “setShortcuts”void RGuiAction::setShortcuts(const QList< QKeySequence > &shortcuts)setShortcutsFromStrings
Section titled “setShortcutsFromStrings”void RGuiAction::setShortcutsFromStrings(const QStringList &shortcuts)setShortcutText
Section titled “setShortcutText”void RGuiAction::setShortcutText(const QString &oriText)setSortOrder
Section titled “setSortOrder”void RGuiAction::setSortOrder(int sortOrder)setSortOrderOverride
Section titled “setSortOrderOverride”void RGuiAction::setSortOrderOverride(const QString &widgetName, int sortOrder)setStatusTip
Section titled “setStatusTip”virtual 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
Section titled “setText”void RGuiAction::setText(const QString &oriText)setToggleable
Section titled “setToggleable”void RGuiAction::setToggleable(bool on=true)inline
If enabled, action terminates when activated and already running.
setToolTip
Section titled “setToolTip”virtual 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
Section titled “setUniqueGroup”void RGuiAction::setUniqueGroup(const QString &ug)inline
setWidgetNames
Section titled “setWidgetNames”void RGuiAction::setWidgetNames(const QStringList &widgetNames)updateFocus
Section titled “updateFocus”virtual void RGuiAction::updateFocus(RDocumentInterface *documentInterface)virtual
Called by the document whenever the focus changed from one MDI to another.
Parameters:
di: The document interface that has now the focus.
Reimplemented from updateFocus.
updateIcon
Section titled “updateIcon”void RGuiAction::updateIcon()updateSelectionListener
Section titled “updateSelectionListener”virtual void RGuiAction::updateSelectionListener(RDocumentInterface *documentInterface)virtual
Called by the document whenever the current selection changes.
Reimplemented from updateSelectionListener.
updateTransactionListener
Section titled “updateTransactionListener”virtual void RGuiAction::updateTransactionListener(RDocument *document, RTransaction *transaction=NULL)virtual
Called by the document whenever the current transaction stack changes.
Reimplemented from updateTransactionListener.
addSeparatorToWidget
Section titled “addSeparatorToWidget”static void RGuiAction::addSeparatorToWidget(QAction *a, QWidget *w)static
addToWidget
Section titled “addToWidget”static void RGuiAction::addToWidget(QAction *a, QWidget *w)static
static void RGuiAction::clear()static
Cleans up all GUI action objects.
fixSeparators
Section titled “fixSeparators”static void RGuiAction::fixSeparators(const QWidget *w)static
formatToolTip
Section titled “formatToolTip”static QString RGuiAction::formatToolTip(const QString &oriText, const QString &shortcut)static
getActions
Section titled “getActions”static QList< RGuiAction * > RGuiAction::getActions()static inline
Returns: List of all instantiated actions.
getAvailableCommands
Section titled “getAvailableCommands”static 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:
primaryOnly: True: only include primary commands (e.g. ‘point’) False: also include secondary commands (e.g. ‘po’)
getAvailableCommands
Section titled “getAvailableCommands”static 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:
primaryOnly: True: only include primary commands (e.g. ‘point’) False: also include secondary commands (e.g. ‘po’)
getByClassName
Section titled “getByClassName”static 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
Section titled “getByCommand”static RGuiAction * RGuiAction::getByCommand(const QString &command)static
getByScriptFile
Section titled “getByScriptFile”static RGuiAction * RGuiAction::getByScriptFile(const QString &scriptFile)static
Returns: The first action in the list of actions that is based on the given scriptFile.
getGroupSortOrderStatic
Section titled “getGroupSortOrderStatic”static int RGuiAction::getGroupSortOrderStatic(const QAction *a, const QWidget *w=NULL)static
getIconPath
Section titled “getIconPath”static QString RGuiAction::getIconPath(const QString &iconFile, bool inverse=false)static
getSortOrderStatic
Section titled “getSortOrderStatic”static int RGuiAction::getSortOrderStatic(const QAction *a, const QWidget *w=NULL)static
getWidgetNamesStatic
Section titled “getWidgetNamesStatic”static QStringList RGuiAction::getWidgetNamesStatic(const QAction *a)static
removeFromWidget
Section titled “removeFromWidget”static void RGuiAction::removeFromWidget(QAction *a, QWidget *w)static
setGroupSortOrderOverrideStatic
Section titled “setGroupSortOrderOverrideStatic”static void RGuiAction::setGroupSortOrderOverrideStatic(QAction *a, const QString &widgetName, int sortOrder)static
setGroupSortOrderStatic
Section titled “setGroupSortOrderStatic”static void RGuiAction::setGroupSortOrderStatic(QAction *a, int sortOrder)static
setSortOrderOverrideStatic
Section titled “setSortOrderOverrideStatic”static void RGuiAction::setSortOrderOverrideStatic(QAction *a, const QString &widgetName, int sortOrder)static
setSortOrderStatic
Section titled “setSortOrderStatic”static void RGuiAction::setSortOrderStatic(QAction *a, int sortOrder)static
setWidgetNamesStatic
Section titled “setWidgetNamesStatic”static void RGuiAction::setWidgetNamesStatic(QAction *a, const QStringList &widgetNames)static
triggerByCommand
Section titled “triggerByCommand”static 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:
command: Command that was launched (e.g. “line” or “ln”).
triggerByScriptFile
Section titled “triggerByScriptFile”static bool RGuiAction::triggerByScriptFile(const QString &scriptFile)static
Triggers the first action in the list of actions that is based on the given scriptFile.
triggerByShortcut
Section titled “triggerByShortcut”static bool RGuiAction::triggerByShortcut(const QString &sc)static
triggerGroupDefault
Section titled “triggerGroupDefault”static void RGuiAction::triggerGroupDefault(const QString &group)static
found &&
triggerGroupDefaults
Section titled “triggerGroupDefaults”static void RGuiAction::triggerGroupDefaults()static
updateIcons
Section titled “updateIcons”static void RGuiAction::updateIcons()static
updateToolTips
Section titled “updateToolTips”static void RGuiAction::updateToolTips()static
slotTrigger
Section titled “slotTrigger”bool RGuiAction::slotTrigger(const QString &command=QString())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).
allowInterrupt
Section titled “allowInterrupt”bool RGuiAction::allowInterruptprotected
arguments
Section titled “arguments”QStringList RGuiAction::argumentsprotected
commandList
Section titled “commandList”QStringList RGuiAction::commandListprotected
defaultCommandList
Section titled “defaultCommandList”QStringList RGuiAction::defaultCommandListprotected
defaultShortcuts
Section titled “defaultShortcuts”QList<QKeySequence> RGuiAction::defaultShortcutsprotected
enabledOverride
Section titled “enabledOverride”int RGuiAction::enabledOverrideprotected
factory
Section titled “factory”FactoryFunction RGuiAction::factoryprotected
forceGlobal
Section titled “forceGlobal”bool RGuiAction::forceGlobalprotected
QString RGuiAction::groupprotected
groupDefault
Section titled “groupDefault”bool RGuiAction::groupDefaultprotected
iconDisabled
Section titled “iconDisabled”bool RGuiAction::iconDisabledprotected
iconFile
Section titled “iconFile”QString RGuiAction::iconFileprotected
mainCommand
Section titled “mainCommand”QString RGuiAction::mainCommandprotected
multiKeyShortcuts
Section titled “multiKeyShortcuts”QList<QKeySequence> RGuiAction::multiKeyShortcutsprotected
noState
Section titled “noState”bool RGuiAction::noStateprotected
oriText
Section titled “oriText”QString RGuiAction::oriTextprotected
oriToolTip
Section titled “oriToolTip”QString RGuiAction::oriToolTipprotected
override
Section titled “override”bool RGuiAction::overrideprotected
requiresDocument
Section titled “requiresDocument”bool RGuiAction::requiresDocumentprotected
requiresRedoableTransaction
Section titled “requiresRedoableTransaction”bool RGuiAction::requiresRedoableTransactionprotected
requiresSelection
Section titled “requiresSelection”bool RGuiAction::requiresSelectionprotected
requiresUndoableTransaction
Section titled “requiresUndoableTransaction”bool RGuiAction::requiresUndoableTransactionprotected
scriptFile
Section titled “scriptFile”QString RGuiAction::scriptFileprotected
shortcutText
Section titled “shortcutText”QString RGuiAction::shortcutTextprotected
toggleable
Section titled “toggleable”bool RGuiAction::toggleableprotected
uniqueGroup
Section titled “uniqueGroup”QString RGuiAction::uniqueGroupprotected
actions
Section titled “actions”static QList< RGuiAction * > RGuiAction::actionsstatic protected
actionsByCommand
Section titled “actionsByCommand”static QMap< QString, RGuiAction * > RGuiAction::actionsByCommandstatic protected
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
Section titled “actionsByGroup”static QMultiMap< QString, RGuiAction * > RGuiAction::actionsByGroupstatic protected
actionsByPrimaryCommand
Section titled “actionsByPrimaryCommand”static QMap< QString, RGuiAction * > RGuiAction::actionsByPrimaryCommandstatic protected
actionsByScriptFile
Section titled “actionsByScriptFile”static QMap< QString, RGuiAction * > RGuiAction::actionsByScriptFilestatic protected
actionsByShortcut
Section titled “actionsByShortcut”static QMap< QString, RGuiAction * > RGuiAction::actionsByShortcutstatic protected
postTriggered
Section titled “postTriggered”void RGuiAction::postTriggered()