Salome HOME
premiere version
[samples/hello.git] / src / HELLOGUI / HELLOGUI.h
1 //  HELLOGUI : HELLO component GUI implemetation 
2 //
3
4 #ifndef _HELLOGUI_H_
5 #define _HELLOGUI_H_
6
7 #include "QAD_Desktop.h"
8
9 #include <SALOMEconfig.h>
10 #include CORBA_CLIENT_HEADER(HELLO_Gen)
11
12
13
14 class HELLOGUI: public QObject
15 {
16   Q_OBJECT
17
18 public:
19
20   static bool OnGUIEvent (int theCommandID, QAD_Desktop* parent);
21
22   static bool SetSettings (QAD_Desktop* parent);
23
24   static bool CustomPopup ( QAD_Desktop* parent,
25                             QPopupMenu* popup,
26                             const QString & theContext,
27                             const QString & theParent,
28                             const QString & theObject);
29
30   static void DefinePopup(QString & theContext, QString & theParent, QString & theObject);
31
32   static void ActiveStudyChanged ( QAD_Desktop* parent );
33
34   static HELLO_ORB::HELLO_Gen_ptr InitHELLOGen(QAD_Desktop* parent);
35
36 protected:
37
38 private:
39
40 };
41
42 #endif