SUPERVGUI_Main(SUPERVGraph_ViewFrame*, SUIT_Desktop*/*QAD_Desktop**/, SUPERV_Graph);
virtual ~SUPERVGUI_Main();
+ SUIT_ResourceMgr* resMgr() const;
+
void run( const bool andSuspend );
void kill();
void suspendResume();
//void stopRestart();
void openSubGraph(SUPERV_CNode theNode, bool correct = false);
+ void destroySubGraph(QString theSubGraphName); // mkr : IPAL11549
bool putDataStudy(SUPERV_Port port, const char* inout);
GraphViewType getViewType() { return myCurrentView; }
+ virtual void resizeView( QResizeEvent* theEvent );
+
+ // mkr : PAL8150
+ void setRunTime( QDateTime theRunTime ) { myRunTime = theRunTime; }
+ QDateTime getRunTime() const { return myRunTime; }
+
+ // srn: marks an active study as being modified by the Supervisor
+ // Note: to set the modified flag the method requires that Supervision
+ // component was previously added to study.
+ static void setModifiedFlag();
+
signals:
void KillMyThread(bool theValue);
+ void EventToSync(); // mkr : IPAL11362
public slots:
void execute(char * theNodeNode, SUPERV::GraphState theNodeState);
void changeDSGraphParameters();
void onSubGraphClosed( SUIT_ViewWindow* );
void onSubGraphActivated( SUIT_ViewWindow* );
+
+ void onShowToolbar();
+
+ void onObjectCreatedDeleted(); // mkr : PAL8237
+ void onPutInStudy( QString* ); // mkr : PAL8150
private slots:
void chooseData(QListViewItem* item);
void syncNotification();
bool isFiltered(char* graph, char* node, char* type, char* message, char* sender, long counter, char* date, long stamp);
void closeEvent(QCloseEvent*);
-
+ void syncPutInStudy(); // mkr : PAL8150
+
SUPERV_Graph dataflow;
QMap<QString, SUIT_ViewWindow*> mySubGraphs;
- QMap<QString, QString> mySubGraphMap;
- SUIT_ViewWindow* myLastGraph;
+ QMap<QString, QString> mySubGraphMap;
+ SUIT_ViewWindow* myLastGraph;
- SUIT_Study* study;
- OB_Browser* objectBrowser;
- LogWindow* message;
+ SUIT_Study* study;
+ OB_Browser* objectBrowser;
+ LogWindow* message;
GraphViewType myCurrentView;
SUPERVGUI_CanvasArray* myArray;
SUPERVGUI_Thread* myThread;
- QPtrList< char * > myEventNodes ;
- QPtrList< SUPERV::GraphState > myStates ;
+ QPtrList<char*> myEventNodes ;
+ QPtrList<SUPERV::GraphState> myStates ;
QTimer* myTimer;
};
protected:
virtual void run();
+ void main_thread_run(SUPERV_CNode& aNode, SUPERV::GraphEvent& aEvent, SUPERV::GraphState& aState);
private:
bool myIsActive;