CMS 3D CMS Logo

IgQtLineEdit.h

Go to the documentation of this file.
00001 #ifndef IGUANA_STUDIO_IG_QT_LINE_EDIT_H
00002 # define IGUANA_STUDIO_IG_QT_LINE_EDIT_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/Studio/interface/config.h"
00007 # include <qlineedit.h>
00008 
00009 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00010 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00011 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00012 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00013 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00014 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00015 
00016 class IGUANA_STUDIO_API IgQtLineEdit : public QLineEdit
00017 {
00018     Q_OBJECT
00019 public:
00020     IgQtLineEdit (QWidget *parent, const char *name = 0);
00021     IgQtLineEdit (const QString &contents,
00022                   QWidget       *parent,
00023                   const char    *name = 0);
00024     // implicit copy constructor
00025     // implicit assignment operator
00026     // implicit destructor
00027 
00028 public slots:
00029     virtual void        changed (void);
00030     virtual void        changed (const QString &text);
00031     virtual void        setChanged (bool option = true);
00032 
00033 signals:
00034     void                valueChanged (const QString &text);
00035 
00036 protected:
00037     void                focusOutEvent (QFocusEvent *event);
00038 
00039 private:
00040     bool                m_textChanged;
00041 };
00042 
00043 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00044 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00045 
00046 #endif // IGUANA_STUDIO_IG_QT_LINE_EDIT_H

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