ModelSelectionAction

Qualified name: mv::gui::ModelSelectionAction

class ModelSelectionAction : public mv::gui::HorizontalGroupAction

Model selection action class.

Action for selecting items in a model

Note: This action is developed for internal use only

Author

Thomas Kroes

Public Functions

explicit Q_INVOKABLE ModelSelectionAction(QObject *parent, const QString &title, QItemSelectionModel *selectionModel = nullptr)

Construct with pointer to parent object, action title and possibly pointer to an item selectionModel.

Parameters:
  • parent – Pointer to parent object

  • title – Title of the action

  • selectionModel – Pointer to item selection model

void initialize(QItemSelectionModel *selectionModel)

Initializes with a pointer to the selectionModel.

Parameters:

selectionModel – Pointer to item selection model