Documentation


SFVector4GUI.h

Go to the documentation of this file.
00001 
00002 //                            SFVector4GUI.h                                  //
00004 
00005 #ifndef SF_VECTOR4_GUI_H
00006 #define SF_VECTOR4_GUI_H
00007 
00008 #include <qwidget.h>
00009 #include <animal/vec4.h>
00010 
00011 class QHBoxLayout;
00012 class QLabel;
00013 class WFloatLineEdit;
00014 
00015 namespace X3DTK {
00016 namespace Qt{
00017 
00019 class SFVector4GUI : public QWidget
00020 {
00021   Q_OBJECT
00022 
00023 public:
00024   SFVector4GUI( QString nameOfField, animal::Vec4 * Vec4ToEdit, QWidget * parent, const char* name = 0, WFlags fl = 0 );
00025   ~SFVector4GUI();
00026 
00027   void setValue();
00028 
00029 signals:
00030   void changed();
00031 
00032 public slots:
00033   void changeValueX(float);
00034   void changeValueY(float);
00035   void changeValueZ(float);
00036   void changeValueA(float);
00037   
00038 private:// Attributs
00039   animal::Vec4 * Vec4ToEdit; 
00040 
00041 protected:// Attributs
00042   QHBoxLayout* SFVector4Layout;
00043 
00044 public: // Attributs
00045   WFloatLineEdit* editX;
00046   WFloatLineEdit* editY;
00047   WFloatLineEdit* editZ;
00048   WFloatLineEdit* editA;
00049 };
00050 
00051 } // Qt
00052 } // X3DTK
00053 #endif

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