]> SALOME platform Git repositories - samples/hello.git/blob - src/HELLOGUI/HELLOGUI.h
Salome HOME
CCAR: It seems that the tagged version (V2_1_0) does not work.
[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 "SALOMEGUI.h"
8 #include "QAD_Desktop.h"
9
10 #include <SALOMEconfig.h>
11 #include CORBA_CLIENT_HEADER(HELLO_Gen)
12
13
14
15 class HELLOGUI: public SALOMEGUI
16 {
17   Q_OBJECT
18
19 public:
20   HELLOGUI( const QString& name = "", QObject* parent = 0 );
21
22   virtual bool OnGUIEvent (int theCommandID, QAD_Desktop* parent);
23
24   virtual bool SetSettings (QAD_Desktop* parent);
25
26   virtual bool CustomPopup ( QAD_Desktop* parent,
27                             QPopupMenu* popup,
28                             const QString & theContext,
29                             const QString & theParent,
30                             const QString & theObject);
31
32   virtual void DefinePopup(QString & theContext, QString & theParent, QString & theObject);
33
34   virtual bool ActiveStudyChanged ( QAD_Desktop* parent );
35
36   static HELLO_ORB::HELLO_Gen_ptr InitHELLOGen(QAD_Desktop* parent);
37
38 protected:
39
40 private:
41
42 };
43
44 #endif