LabelProxyAction

Qualified name: mv::gui::LabelProxyAction

class LabelProxyAction : public mv::gui::WidgetAction

Label proxy action class.

Sole purpose is to override the label text of the source action

Note: This action is developed for internal use only and is in a WIP state

Author

Thomas Kroes

Public Functions

Q_INVOKABLE LabelProxyAction(QObject *parent, const QString &title, WidgetAction *sourceAction)

Construct with pointer to parent object, title and source action.

Parameters:
  • parent – Pointer to parent object

  • title – Title of the action

  • sourceAction – Pointer to source action

Protected Functions

inline virtual QWidget *getWidget(QWidget *parent, const std::int32_t &widgetFlags) override

Get widget representation of the label proxy action.

Parameters:
  • parent – Pointer to parent widget

  • widgetFlags – Widget flags for the configuration of the widget (type)

Friends

friend class AbstractActionsManager