20 #ifndef _GENERICGUI_HXX_
21 #define _GENERICGUI_HXX_
26 #include <QActionGroup>
28 #include <QMainWindow>
29 #include <QDockWidget>
53 class SubjectDataPort;
54 class BatchJobsListDialog;
69 void showBaseMenus(
bool show);
70 void showEditionMenus(
bool show);
71 void showExecMenus(
bool show);
72 void showCommonMenus(
bool show);
73 void switchContext(
QWidget *view,
bool onExit =
false);
74 bool closeContext(
QWidget *view,
bool onExit =
false);
75 void showDockWidgets(
bool isVisible);
78 std::list<std::string> getMachineList();
79 void createForEachLoop(std::string type=
"double");
80 void putGraphInForeachLoop(std::string type);
81 virtual void loadSchema(
const std::string& filename,
bool edit=
true,
bool arrangeLocalNodes=
false);
82 virtual void onHelpContextModule(
const QString&,
const QString&,
const QString& = QString() );
84 const QString& schemaName,
85 const QString& runName,
89 QAction *_newSchemaAct;
205 void onCleanOnExit();
209 QString getSaveFileName(
const QString& fileName = QString());
231 void onImportSchema();
232 void onChooseBatchJob();
233 void onImportSupervSchema();
234 void onExportSchema();
235 void onExportSchemaAs();
236 void onImportCatalog();
238 void onRunLoadedSchema(
bool withState =
false);
239 void onLoadRunStateSchema();
240 void onLoadAndRunSchema();
242 void onStartResume();
246 void onSaveRunState();
249 void onWithoutStopMode(
bool checked);
250 void onBreakpointsMode(
bool checked);
251 void onStepByStepMode(
bool checked);
253 void onToggleStopOnError(
bool checked);
255 void onGetYacsContainerLog();
256 void onGetErrorReport();
257 void onGetErrorDetails();
258 void onGetContainerLog();
259 void onShutdownProc();
261 void onEditDataTypes();
262 void onCreateDataType();
263 void onImportDataType();
265 void onNewContainer();
266 void onNewHPContainer();
267 void onSelectComponentInstance();
268 void onNewSalomeComponent();
269 void onNewSalomePythonComponent();
270 void onNewCorbaComponent();
272 void onSalomeServiceNode();
273 void onServiceInlineNode();
274 void onCORBAServiceNode();
275 void onNodeNodeServiceNode();
279 void onOutDataNode();
280 void onInStudyNode();
281 void onOutStudyNode();
282 void onInlineScriptNode();
283 void onInlineFunctionNode();
286 void onFOREACHNode();
289 void onOptimizerLoop();
290 void onNodeFromCatalog();
297 void onPutGraphInBloc();
298 void onPutGraphInForLoop();
299 void onPutGraphInWhileLoop();
300 void onPutGraphInOptimizerLoop();
301 void onArrangeLocalNodes();
302 void onArrangeRecurseNodes();
303 void onRebuildLinks();
305 void onCenterOnNode();
306 void onShrinkExpand();
307 void onShrinkExpandChildren();
308 void onShrinkExpandElementaryRecursively();
309 void onToggleStraightLinks(
bool checked);
310 void onToggleAutomaticComputeLinks(
bool checked);
311 void onToggleSimplifyLinks(
bool checked);
312 void onToggleForce2NodesLinks(
bool checked);
313 void onToggleAddRowCols(
bool checked);
315 void onToggleSceneItemVisible(
bool checked);
317 void onShowAllLinks();
318 void onHideAllLinks();
320 void onShowOnlyPortLinks();
321 void onShowPortLinks();
322 void onHidePortLinks();
323 void onEmphasisPortLinks();
325 void onShowOnlyCtrlLinks();
326 void onShowCtrlLinks();
327 void onHideCtrlLinks();
328 void onEmphasisCtrlLinks();
330 void onShowOnlyLink();
333 void onEmphasisLink();
334 void onDeEmphasizeAll();
336 void onSelectReference();
345 void displayLinks(
bool isShown);
346 void displayControlLinks(
bool isShown);
347 void displayPortLinks(
bool isShown);
348 void displayALink(
bool isShown);