Documentation


SFBoolGUI.h

Go to the documentation of this file.
00001 
00002 //                            SFBoolGUI.h                                     //
00004 
00005 #ifndef SF_BOOL_GUI_H
00006 #define SF_BOOL_GUI_H
00007 
00008 #include <qwidget.h>
00009 
00010 class QHBoxLayout;
00011 class QLabel;
00012 class QRadioButton;
00013 
00014 namespace X3DTK {
00015 namespace Qt{
00016 
00018 class SFBoolGUI : public QWidget
00019 {
00020   Q_OBJECT
00021 
00022 public:
00023   SFBoolGUI( QString nameOfField, bool * boolToEdit, QWidget * parent, const char* name = 0, WFlags fl = 0 );
00024   ~SFBoolGUI();
00025 
00026   void setValue();
00027 
00028 signals:
00029   void changed();
00030 
00031 public slots:
00032   void changeValue(bool);
00033 
00034 private:// Attributs
00035   bool * boolToEdit; 
00036 
00037 protected:// Attributs
00038   QHBoxLayout* SFBoolLayout;
00039 
00040 public: // Attributs
00041   QRadioButton* radioButton;
00042 
00043 };
00044 } // Qt
00045 } // X3DTK
00046 #endif // SF_BOOL_GUI_H
00047 

Generated on Thu Dec 23 13:52:27 2004 by doxygen 1.3.6