ActionsWidget

Qualified name: mv::gui::ActionsWidget

class ActionsWidget : public QWidget

Actions widget class.

Widget class for viewing the contents of an actions model (e.g. list or hierarchy)

Author

Thomas Kroes

Public Functions

ActionsWidget(QWidget *parent, AbstractActionsModel &actionsModel, const QString &itemTypeName = "Parameter")

Constructor.

Parameters:
  • parent – Parent widget

  • actionsModel – Reference to actions input model

  • itemTypeName – Name of the action in the hierarchy widget

ActionsFilterModel &getFilterModel()

Get filter model.

Returns:

Reference to actions filter model

HierarchyWidget &getHierarchyWidget()

Get hierarchy widget.

Returns:

Reference to hierarchy widget

void setRequestContextMenuCallback(RequestContextMenuFN requestContextMenu)

Sets the callback function which is called when the widget asks for a context menu.

Parameters:

requestContextMenu – Callback function which is called when the widget asks for a context menu