Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / wrappergen / bin / HXX2SALOME_GENERIC_CLASS_NAME_SRC / src / HXX2SALOME_GENERIC_CLASS_NAMEGUI / HXX2SALOME_GENERIC_CLASS_NAMEGUI.h
1 //  HXX2SALOME_GENERIC_CLASS_NAMEGUI : HXX2SALOME_GENERIC_CLASS_NAME component GUI implemetation 
2 //
3
4 #ifndef _HXX2SALOME_GENERIC_CLASS_NAMEGUI_H_
5 #define _HXX2SALOME_GENERIC_CLASS_NAMEGUI_H_
6
7 #include <SalomeApp_Module.h>
8
9 #include <SALOMEconfig.h>
10 #include CORBA_CLIENT_HEADER(HXX2SALOME_GENERIC_CLASS_NAME_Gen)
11
12 class SalomeApp_Application;
13 class HXX2SALOME_GENERIC_CLASS_NAMEGUI: public SalomeApp_Module
14 {
15   Q_OBJECT
16
17 public:
18   HXX2SALOME_GENERIC_CLASS_NAMEGUI();
19
20   void    initialize( CAM_Application* );
21   QString engineIOR() const;
22   void    windows( QMap<int, int>& ) const;
23
24   static HXX2SALOME_GENERIC_CLASS_NAME_ORB::HXX2SALOME_GENERIC_CLASS_NAME_Gen_ptr InitHXX2SALOME_GENERIC_CLASS_NAMEGen( SalomeApp_Application* );
25
26   virtual void                createPreferences();
27   virtual void                preferencesChanged( const QString&, const QString& );
28
29 public slots:
30   bool    deactivateModule( SUIT_Study* );
31   bool    activateModule( SUIT_Study* );
32
33 protected slots:
34   void            OnMyNewItem();
35   void            OnCallAction();
36
37 private:
38   bool default_bool;
39   int default_int;
40   int default_spinInt;
41   double default_spinDbl;
42   QString default_selection;
43   
44   QStringList selector_strings;
45   
46 };
47
48 #endif