IntegralPointAction

Qualified name: mv::gui::IntegralPointAction

class IntegralPointAction : public mv::gui::NumericalPointAction<std::int32_t, IntegralAction>

Integral action class.

Stores a two-dimensional integral point value.

Author

Thomas Kroes

Public Functions

explicit Q_INVOKABLE IntegralPointAction(QObject *parent, const QString &title)

Construct with pointer to parent object and title.

Parameters:
  • parent – Pointer to parent object

  • title – Title of the action

void valueChanged(std::int32_t x, std::int32_t y)

Signals that the coordinate values changed to x and y.

Parameters:
  • x – X coordinate value

  • y – Y coordinate value

Protected Functions

virtual void connectToPublicAction(WidgetAction *publicAction, bool recursive) override

Connect this action to a public action.

Parameters:
  • publicAction – Pointer to public action to connect to

  • recursive – Whether to also connect descendant child actions

virtual void disconnectFromPublicAction(bool recursive) override

Disconnect this action from its public action.

Parameters:

recursive – Whether to also disconnect descendant child actions