|
ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
|
#include <AbstractActionsManager.h>
Signals | |
| void | actionAdded (gui::WidgetAction *action) |
| void | actionAboutToBeRemoved (gui::WidgetAction *action) |
| void | actionRemoved (const QString &actionId) |
| void | publicActionAdded (gui::WidgetAction *publicAction) |
| void | publicActionAboutToBeRemoved (gui::WidgetAction *publicAction) |
| void | publicActionRemoved (const QString &publicActionId) |
| void | actionTypeAdded (const QString &actionType) |
| void | actionTypeRemoved (const QString &actionType) |
| void | actionTypesChanged (const QStringList &actionTypes) |
| void | actionTypesHumanFriendlyChanged (const QStringList &actionTypesHumanFriendly) |
Signals inherited from hdps::AbstractManager | |
| void | managerAboutToBeInitialized () |
| void | managerInitialized () |
| void | managerAboutToBeReset () |
| void | managerReset () |
Public Member Functions | |
| AbstractActionsManager (QObject *parent=nullptr) | |
| virtual const gui::WidgetActions & | getActions () const final |
| virtual const gui::WidgetActions & | getPublicActions () const final |
| virtual gui::WidgetAction * | getAction (const QString &id) final |
| template<typename ActionType > | |
| void | addAction (ActionType *action) |
| template<typename ActionType > | |
| void | removeAction (ActionType *action) |
| virtual bool | publishPrivateAction (gui::WidgetAction *privateAction, const QString &name="", bool recursive=true, bool allowDuplicateName=false)=0 |
| virtual void | connectPrivateActionToPublicAction (gui::WidgetAction *privateAction, gui::WidgetAction *publicAction, bool recursive) final |
| virtual void | connectPrivateActions (gui::WidgetAction *privateSourceAction, gui::WidgetAction *privateTargetAction, const QString &publicActionName="") final |
| virtual void | disconnectPrivateActionFromPublicAction (gui::WidgetAction *privateAction, bool recursive) final |
| const QStringList | getActionTypes () const |
| const QStringList | getActionTypesHumanFriendly () const |
Public Member Functions inherited from hdps::AbstractManager | |
| AbstractManager (QObject *parent=nullptr, const QString &name="") | |
| virtual void | initialize () |
| virtual void | beginReset () final |
| virtual void | reset ()=0 |
| virtual void | endReset () final |
| virtual void | beginInitialization () final |
| virtual void | endInitialization () final |
| virtual bool | isInitialized () const final |
| virtual QIcon | getIcon () const |
| gui::LockingAction & | getLockingAction () |
| virtual bool | mayLock () const |
| virtual bool | mayUnlock () const |
Public Member Functions inherited from hdps::util::Serializable | |
| Serializable (const QString &serializationName="") | |
| virtual QString | getId () const final |
| virtual void | setId (const QString &id) final |
| virtual QString | getSerializationName () const final |
| virtual void | setSerializationName (const QString &serializationName) final |
| virtual void | fromVariantMap (const QVariantMap &variantMap) |
| virtual void | fromParentVariantMap (const QVariantMap &parentVariantMap) |
| virtual QVariantMap | toVariantMap () const |
| virtual void | insertIntoVariantMap (QVariantMap &variantMap) const final |
| virtual void | fromJsonDocument (const QJsonDocument &jsonDocument) final |
| virtual QJsonDocument | toJsonDocument () const final |
| virtual void | fromJsonFile (const QString &filePath="") final |
| virtual void | toJsonFile (const QString &filePath="") final |
| virtual void | makeUnique () final |
Protected Member Functions | |
| virtual void | addPrivateActionToPublicAction (gui::WidgetAction *privateAction, gui::WidgetAction *publicAction) final |
| virtual void | removePrivateActionFromPublicAction (gui::WidgetAction *privateAction, gui::WidgetAction *publicAction) final |
| void | addActionType (const QString &actionType) |
| void | removeActionType (const QString &actionType) |
| virtual void | makeActionPublic (gui::WidgetAction *action) final |
Protected Attributes | |
| gui::WidgetActions | _actions |
| gui::WidgetActions | _publicActions |
| QMap< QString, ActionType > | _actionTypes |
Friends | |
| class | gui::WidgetAction |
Additional Inherited Members | |
Public Types inherited from hdps::util::Serializable | |
| enum class | State { Idle , Reading , Writing } |
Static Public Member Functions inherited from hdps::util::Serializable | |
| static QString | createId () |
Static Protected Member Functions inherited from hdps::util::Serializable | |
| static void | fromVariantMap (Serializable *serializable, const QVariantMap &variantMap) |
| static void | fromVariantMap (Serializable &serializable, const QVariantMap &variantMap, const QString &key) |
| static QVariantMap | toVariantMap (const Serializable *serializable) |
| static void | insertIntoVariantMap (const Serializable &serializable, QVariantMap &variantMap, const QString &key) |
| static void | insertIntoVariantMap (const Serializable &serializable, QVariantMap &variantMap) |
Abstract actions manager
Base abstract actions manager class for managing widget actions.
|
inline |
Construct actions manager with parent object
| parent | Pointer to parent object |
|
signal |
Signals that action is about to be removed from the manager
| action | Pointer to action that is about to be removed from the manager |
|
signal |
Signals that action is added to the manager
| action | Pointer to action that is added to the manager |
|
signal |
Signals that action with actionId was removed from the manager
| actionId | Globally unique identifier of the action that was removed from the manager |
|
signal |
Signals that a new actionType has been added to the manager
| actionType | Action type |
|
signal |
Signals that the last instance of actionType has been removed from the manager
| actionType | Action type |
|
signal |
Signals that the actionTypes changed
| actionTypes | Action types |
|
signal |
Signals that the human-friendly actionTypes changed
| actionTypesHumanFriendly | Human-friendly action types |
|
inline |
Add action of action type to the manager
| action | Pointer to action |
|
inlineprotected |
Add actionType string
| actionType | Action type string to add |
|
inlinefinalprotectedvirtual |
Add privateAction to the list of connected actions in the publicAction and notify listeners
| privateAction | Pointer to private action |
| publicAction | Pointer to public action |
|
inlinefinalvirtual |
Connect privateSourceAction to privateTargetAction
| privateSourceAction | Pointer to private source action |
| privateTargetAction | Pointer to private target action (private source action will be connected to published private target action) |
| publicActionName | Name of the public action (ask for name if empty) |
|
inlinefinalvirtual |
Connect privateAction to publicAction
| privateAction | Pointer to private action |
| publicAction | Pointer to public action |
| recursive | Whether to also connect descendant child actions |
|
inlinefinalvirtual |
Disconnect privateAction from public action
| privateAction | Pointer to private action |
| recursive | Whether to also disconnect descendant child actions |
|
inlinefinalvirtual |
Get action with id
|
inlinefinalvirtual |
Get all actions in the manager
|
inline |
Get set of action types
|
inline |
Get set of human-friendly action types (without prefixes)
|
inlinefinalvirtual |
Get all public actions in the manager
|
inlinefinalprotectedvirtual |
Make widget action public
| action | Pointer to action |
|
signal |
Signals that publicAction is about to be removed from the manager
| action | Pointer to public action that is about to be removed from the manager |
|
signal |
Signals that publicAction is added to the manager
| action | Pointer to public action that is added to the manager |
|
signal |
Signals that public action with publicActionId was removed from the manager
| publicActionId | Globally unique identifier of the public action that was removed from the manager |
|
pure virtual |
Publish privateAction so that other private actions can connect to it
| privateAction | Pointer to private action to publish |
| name | Name of the published widget action (if empty, a name choosing dialog will popup) |
| recursive | Whether to also publish the child actions recursively |
| allowDuplicateName | Boolean determining whether publishing will take place when a public with the same name already exists in the public actions database |
Implemented in hdps::ActionsManager.
|
inline |
Remove action of action type from the manager
| action | Pointer to action |
|
inlineprotected |
Remove actionType string
| actionType | Action type string to remove |
|
inlinefinalprotectedvirtual |
Remove privateAction from the list of connected actions in the publicAction and notify listeners
| privateAction | Pointer to private action |
| publicAction | Pointer to public action |
|
friend |
Maps action type to counter and human-friendly action type string
|
protected |
|
protected |
List of public actions that are instantiated in the plugin system
|
protected |
List of actions that are instantiated in the plugin system