CMS 3D CMS Logo

Ig3DStringControl.h

Go to the documentation of this file.
00001 #ifndef IGUANA_GL_BROWSERS_IG_3D_STRING_CONTROL_H
00002 # define IGUANA_GL_BROWSERS_IG_3D_STRING_CONTROL_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/GLBrowsers/interface/Ig3DFieldControl.h"
00007 # include <Inventor/SbLinear.h>
00008 # include <Inventor/fields/SoSFString.h>
00009 
00010 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00011 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00012 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00013 
00014 class IgQtLineEdit;
00015 
00016 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00017 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00018 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00019 
00020 class IGUANA_GL_BROWSERS_API Ig3DStringControl : public Ig3DFieldControl
00021 {
00022     Q_OBJECT
00023 
00024 public:
00025     Ig3DStringControl (IgControlCategory *pane, QString label);
00026     // implicit copy constructor
00027     // implicit assignment operator
00028     // implicit destructor
00029 
00030     SoSFString *        field (void) const;
00031     void                setField (SoSFString *field);
00032     SbString            fieldValue (void) const;
00033 
00034     SbString            value (void) const;
00035     IgQtLineEdit *      widget (void) const;
00036 
00037 public slots:
00038     void                setValue (const SbString& newval); 
00039 
00040 protected:
00041     virtual void        updateValue (void);
00042     virtual void        applyValue (void);
00043 
00044 private slots:
00045     void                textChanged (const QString& newval); 
00046 
00047 private:
00048     IgQtLineEdit        *m_value;
00049 };
00050 
00051 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00052 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00053 
00054 #endif // IGUANA_GL_BROWSERS_IG_3D_STRING_CONTROL_H

Generated on Tue Jun 9 17:38:31 2009 for CMSSW by  doxygen 1.5.4