#ifndef SUPERVGUI_H
#define SUPERVGUI_H
-// Acces a l'ihm de SALOME
+// Acces a l`ihm de SALOME
// -----------------------
#include "QAD_Desktop.h"
#include "SUPERVGUI_Main.h"
//#include "SUPERVGUI_Information.h"
+#include "SALOMEGUI.h"
// Definition de la classe principale du module de supervision
// -----------------------------------------------------------
-class SUPERVGUI: public QObject {
+class SUPERVGUI: public SALOMEGUI {
Q_OBJECT
public:
- SUPERVGUI();
+ SUPERVGUI( const QString&, QObject* = 0 );
virtual ~SUPERVGUI();
QAD_Desktop* getDesktop();
void init(QAD_Desktop* parent);
SUPERVGUI_Main* getMain();
- void customPopup(QPopupMenu* popup);
- void activeStudyChanged();
+
+ bool OnGUIEvent(int theCommandID, QAD_Desktop* parent);
+ bool SetSettings(QAD_Desktop* parent);
+ void DefinePopup(QString & theContext,
+ QString & theParent,
+ QString & theObject ) ;
+ bool CustomPopup(QAD_Desktop* parent,
+ QPopupMenu* popup,
+ const QString & theContext,
+ const QString & theParent,
+ const QString & theObject);
+ bool ActiveStudyChanged( QAD_Desktop* parent );
+ void SupportedViewType (int* buffer, int bufferSize);
bool isContains(QAD_Study* theStudy, const QString theKey);