|
ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
|
#include <PublicActionsModel.h>
Public Member Functions | |
| PublicActionsModel (QObject *parent) | |
| void | initialize () override |
| void | addAction (gui::WidgetAction *action) |
| void | removeAction (gui::WidgetAction *action) |
| void | addPublicAction (gui::WidgetAction *publicAction) |
| void | removePublicAction (gui::WidgetAction *publicAction) |
Public Member Functions inherited from hdps::AbstractActionsModel | |
| AbstractActionsModel (QObject *parent=nullptr) | |
| Qt::ItemFlags | flags (const QModelIndex &index) const override |
| gui::WidgetAction * | getAction (const QModelIndex &index) |
| gui::WidgetAction * | getAction (std::int32_t rowIndex) |
| gui::WidgetAction * | getAction (const QString &name) |
| virtual QModelIndex | getActionIndex (const gui::WidgetAction *action, const Column &column=Column::Name) const final |
| virtual QStandardItem * | getActionItem (const gui::WidgetAction *action) const final |
Protected Member Functions | |
| void | actionAddedToManager (gui::WidgetAction *action) override |
| void | actionAboutToBeRemovedFromManager (gui::WidgetAction *action) override |
| void | publicActionAddedToManager (gui::WidgetAction *publicAction) override |
| void | publicActionAboutToBeRemovedFromManager (gui::WidgetAction *publicAction) override |
Protected Member Functions inherited from hdps::AbstractActionsModel | |
| Qt::DropActions | supportedDropActions () const override |
| Qt::DropActions | supportedDragActions () const override |
| QStringList | mimeTypes () const override |
| QMimeData * | mimeData (const QModelIndexList &indexes) const override |
| bool | canDropMimeData (const QMimeData *mimeData, Qt::DropAction dropAction, int row, int column, const QModelIndex &parent) const override |
| bool | dropMimeData (const QMimeData *mimeData, Qt::DropAction dropAction, int row, int column, const QModelIndex &parent) override |
Additional Inherited Members | |
Public Types inherited from hdps::AbstractActionsModel | |
| enum class | Column { Name , Location , ID , Type , Scope , ForceDisabled , ForceHidden , MayPublish , MayConnect , MayDisconnect , SortIndex , Stretch , ParentActionId , IsConnected , NumberOfConnectedActions , PublicActionID , IsRoot , IsLeaf , InternalUseOnly , Count } |
Static Public Attributes inherited from hdps::AbstractActionsModel | |
| static QMap< Column, ColumHeaderInfo > | columnInfo |
Actions hierarchy model class
Hierarchical actions model class for management of public actions (parameters)
| hdps::PublicActionsModel::PublicActionsModel | ( | QObject * | parent | ) |
Construct with parent object
| parent | Pointer to parent object |
|
overrideprotectedvirtual |
Helper method which is invoked when action is about to be removed from the actions manager
| action | Pointer to action that was removed |
Reimplemented from hdps::AbstractActionsModel.
|
overrideprotectedvirtual |
Helper method which is invoked when action is added to the actions manager
| action | Pointer to action that was added |
Reimplemented from hdps::AbstractActionsModel.
| void hdps::PublicActionsModel::addAction | ( | gui::WidgetAction * | action | ) |
Add action to the model
| action | Pointer to action to add |
| void hdps::PublicActionsModel::addPublicAction | ( | gui::WidgetAction * | publicAction | ) |
Add publicAction to the model
| publicAction | Pointer to public action to add |
|
overridevirtual |
Initializes the model from the current state of the actions manager
Implements hdps::AbstractActionsModel.
|
overrideprotectedvirtual |
Helper method which is invoked when publicAction is about to be removed from the actions manager
| publicAction | Pointer to public action to remove |
Reimplemented from hdps::AbstractActionsModel.
|
overrideprotectedvirtual |
Helper method which is invoked when publicAction is added to the actions manager
| publicAction | Pointer to public action that was added |
Reimplemented from hdps::AbstractActionsModel.
| void hdps::PublicActionsModel::removeAction | ( | gui::WidgetAction * | action | ) |
Remove action from the model
| action | Pointer to action to remove |
| void hdps::PublicActionsModel::removePublicAction | ( | gui::WidgetAction * | publicAction | ) |
Remove publicAction from the model
| publicAction | Pointer to public action to remove |