+ }*/
+
+/*!
+ \brief Create actions for ParaViS
+*/
+void PVGUI_Module::createActions()
+{
+ QAction* anAction;
+
+ // New ParaView window
+ anAction = new QtxAction(tr("MEN_NEW_PV_VIEW"), tr("MEN_NEW_PV_VIEW"), 0,
+ this, false, "ParaViS:Create new ParaView view");
+ connect(anAction, SIGNAL(triggered()), this, SLOT(onNewParaViewWindow()));
+ registerAction(ParaViewNewWindowId, anAction);
+
+ // Save state under the module root object
+ anAction = new QAction(tr("MEN_SAVE_MULTI_STATE"), this);
+ connect(anAction, SIGNAL(triggered()), this, SLOT(onSaveMultiState()));
+ registerAction(SaveStatePopupId, anAction);
+
+ // Restore the selected state by merging with the current one
+ anAction = new QAction(tr("MEN_ADD_STATE"), this);
+ connect(anAction, SIGNAL(triggered()), this, SLOT(onAddState()));
+ registerAction(AddStatePopupId, anAction);
+
+ // Clean the current state and restore the selected one
+ anAction = new QAction(tr("MEN_CLEAN_ADD_STATE"), this);
+ connect(anAction, SIGNAL(triggered()), this, SLOT(onCleanAddState()));
+ registerAction(CleanAndAddStatePopupId, anAction);
+
+ // Rename the selected object (Object Browser)
+ anAction = new QAction(tr("MEN_PARAVIS_RENAME"), this);
+ connect(anAction, SIGNAL(triggered()), this, SLOT(onRename()));
+ registerAction(ParaVisRenameId, anAction);
+
+ // Delete the selected object (Object Browser)
+ anAction = new QAction(tr("MEN_PARAVIS_DELETE"), this);
+ connect(anAction, SIGNAL(triggered()), this, SLOT(onDelete()));
+ registerAction(ParaVisDeleteId, anAction);