Sets the current cursor of the current document interface (all views attached to it) to the normal arrow cursor.

void EAction::setCommandPrompt

(

void

prompt

)

inline

void EAction::setCrosshairCursor

(

)

inline

Sets the current cursor of the current document interface (all views attached to it) to crosshair cursor.

void EAction::setCursor

(

void

cursor,

void

name

)

inline

void EAction::setLeftMouseTip

(

void

tip

)

inline

void EAction::setRightMouseTip

(

void

tip

)

inline

void EAction::setState

(

void

state

)

inline

Set the state of this action.

Action implementations overwrite this function to initialize this action for the given state. This includes setting the appropriate click mode, displaying the appropriate CAD toolbar, setting mouse tips, mouse cursor, etc.

void EAction::setUiOptions

(

void

uiFile,

void

split

)

inline

Sets the UI options toolbar content for this tool.

By default, a tool shows the options toolbar defined in "DefaultOptions.ui".

Parameters

uiFile

A path to a single UI file or an array of UI file paths.

split

If true, the options are split up into multiple toolbars.

void EAction::showDialog

(

)

inline

Show dialog to enter some or all of the options.

The default implementation creates a dialog based on this.dialogUiFile. Widgets in the options tool bar which have the property "MoveToDialog" or "HideInDialogMode" set are hidden in the options tool bar.

void EAction::showUiOptions

(

void

resume,

void

restoreFromSettings

)

inline

Shows the UI options of this action if this.uiFile is set.

UI options are typically shown in a horizontal toolbar at the top of the drawing area.

Usually this function does not need to be called directly by implementing actions.

Parameters

resume

Action was resumed from suspension.

restoreFromSettings

Restore settings from document / config file (default).

void EAction::simulateMouseMoveEvent

(

)

inline

void EAction::slotReset

(

)

inline

Called if the user clicks the reset button of an action.

A reset button may be displayed as part of the UI options of this action and must have the object name "Reset".

void EAction::suspendEvent

(

)

inlinevirtual

Called whenver the action is suspended, for example if another action is started while this action is active.