00001 #ifndef IGUANA_STUDIO_IG_QT_LINE_EDIT_H
00002 # define IGUANA_STUDIO_IG_QT_LINE_EDIT_H
00003
00004
00005
00006 # include "Iguana/Studio/interface/config.h"
00007 # include <qlineedit.h>
00008
00009
00010
00011
00012
00013
00014
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
00025
00026
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
00044
00045
00046 #endif // IGUANA_STUDIO_IG_QT_LINE_EDIT_H