You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
625 B
28 lines
625 B
#ifndef HINTLINEEDIT_H
|
|
#define HINTLINEEDIT_H
|
|
|
|
#include <klineedit.h> //baseclass
|
|
|
|
class QVBox;
|
|
class QLabel;
|
|
class QWidget;
|
|
|
|
class HintLineEdit : public KLineEdit
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
HintLineEdit( const QString &hint, const QString &text, QWidget *parent = 0, const char *name = 0 );
|
|
HintLineEdit( const QString &text, QWidget *parent = 0, const char *name = 0 );
|
|
HintLineEdit( QWidget *parent = 0, const char *name = 0 );
|
|
virtual ~HintLineEdit();
|
|
virtual QObject *parent();
|
|
virtual void setHint( const QString &hint );
|
|
private:
|
|
void init();
|
|
QVBox *m_vbox;
|
|
QLabel *m_hint;
|
|
};
|
|
|
|
#endif
|