#define SUPERVGUI_Main_H
#include "SUPERVGraph_ViewFrame.h"
-#include "QAD_Desktop.h"
#include "SUPERVGUI_Canvas.h"
#include "SUPERVGUI_CanvasView.h"
#include "SUPERVGUI_ArrayView.h"
#include <qapplication.h>
#include <qthread.h>
-class QAD_Study;
-class QAD_ObjectBrowser;
-class QAD_Message;
-class QAD_SpinBoxDbl;
+class SUIT_Study;
+class OB_Browser;
+class LogWindow;
+class QtxDblSpinBox;
class QLineEdit;
class QComboBox;
class NOTIFICATION_Consumer;
friend class SUPERVGUI_Thread;
public:
- SUPERVGUI_Main(SUPERVGraph_ViewFrame*, QAD_Desktop*, SUPERV_Graph);
+ SUPERVGUI_Main(SUPERVGraph_ViewFrame*, SUIT_Desktop*/*QAD_Desktop**/, SUPERV_Graph);
virtual ~SUPERVGUI_Main();
void run( const bool andSuspend );
SUPERVGUI_Canvas* getCanvas();
SUPERVGUI_CanvasView* getCanvasView();
SUPERV_Graph getDataflow();
- QAD_Message* getMessage();
- QAD_Study* getStudy();
+ LogWindow* getMessage();
+ SUIT_Study* getStudy();
bool isArrayShown();
void showPopup(QPopupMenu* p, QMouseEvent* e);
void filterNotification();
void changeDSGraphParameters();
- void onSubGraphClosed(QAD_StudyFrame* );
- void onSubGraphActivated(QAD_StudyFrame* );
+ void onSubGraphClosed( SUIT_ViewWindow* );
+ void onSubGraphActivated( SUIT_ViewWindow* );
private slots:
void chooseData(QListViewItem* item);
void checkExecution();
private:
- void init(QAD_Desktop* parent);
+ void init(SUIT_Desktop* parent);
void syncNotification();
bool isFiltered(char* graph, char* node, char* type, char* message, char* sender, long counter, char* date, long stamp);
void closeEvent(QCloseEvent*);
SUPERV_Graph dataflow;
- QMap<QString, QAD_StudyFrame*> mySubGraphs;
- QMap<QString, QString> mySubGraphMap;
- QAD_StudyFrame* myLastGraph;
+ QMap<QString, SUIT_ViewWindow*> mySubGraphs;
+ QMap<QString, QString> mySubGraphMap;
+ SUIT_ViewWindow* myLastGraph;
- QAD_Study* study;
- QAD_ObjectBrowser* objectBrowser;
- QAD_Message* message;
+ SUIT_Study* study;
+ OB_Browser* objectBrowser;
+ LogWindow* message;
GraphViewType myCurrentView;
SUPERVGUI_CanvasArray* myArray;
void KillThread(bool theValue);
protected:
- void run();
+ virtual void run();
private:
bool myIsActive;
void setData();
- QAD_SpinBoxDbl* myDeltaTime;
+ QtxDblSpinBox* myDeltaTime;
QLineEdit* myTimeOut;
QComboBox* myDataStreamTrace;