1 //=============================================================================
2 // File : SALOME_PYQT_GUI.hxx
3 // Created : mer jun 4 17:17:20 UTC 2003
4 // Author : Paul RASCLE, EDF
6 // Copyright : EDF 2003
8 //=============================================================================
10 #ifndef _SALOME_PYQT_GUI_HXX_
11 #define _SALOME_PYQT_GUI_HXX_
13 #include "QAD_Desktop.h"
15 class SALOME_PYQT_GUI: public QObject
23 static bool OnGUIEvent (int theCommandID, QAD_Desktop* parent);
24 static bool OnMousePress (QMouseEvent* pe, QAD_Desktop* parent,
25 QAD_StudyFrame* studyFrame);
26 static bool OnMouseMove (QMouseEvent* pe, QAD_Desktop* parent,
27 QAD_StudyFrame* studyFrame);
28 static bool OnKeyPress (QKeyEvent* pe, QAD_Desktop* parent,
29 QAD_StudyFrame* studyFrame);
30 static bool SetSettings (QAD_Desktop* parent, char* moduleName);
31 static bool CustomPopup (QAD_Desktop* parent, QPopupMenu* popup,
32 const QString & theContext,
33 const QString & theParent,
34 const QString & theObject);
35 static void DefinePopup (QString & theContext, QString & theParent,
36 QString & theObject) ;
37 static void ActiveStudyChanged (QAD_Desktop* parent);