Salome HOME
This commit was generated by cvs2git to create tag 'V1_4_0b2'.
[modules/kernel.git] / src / SALOME_PYQT / SALOME_PYQT_GUI.hxx
1 //=============================================================================
2 // File      : SALOME_PYQT_GUI.hxx
3 // Created   : mer jun  4 17:17:20 UTC 2003
4 // Author    : Paul RASCLE, EDF 
5 // Project   : SALOME
6 // Copyright : EDF 2003
7 // $Header$
8 //=============================================================================
9
10 #ifndef _SALOME_PYQT_GUI_HXX_
11 #define _SALOME_PYQT_GUI_HXX_
12
13 #include "QAD_Desktop.h"
14
15 class SALOME_PYQT_GUI: public QObject
16 {
17   Q_OBJECT
18     
19 private:
20   
21 public:
22   
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);
38   
39 protected:
40   
41 };
42
43 #endif