Plasma
Go to the documentation of this file.
20 #ifndef PLASMA_LINEEDIT_H
21 #define PLASMA_LINEEDIT_H
23 #include <QtGui/QGraphicsProxyWidget>
32 class LineEditPrivate;
44 Q_PROPERTY(
QString text READ text WRITE setText NOTIFY textChanged)
45 Q_PROPERTY(
bool clearButtonShown READ isClearButtonShown WRITE setClearButtonShown)
46 Q_PROPERTY(
QString clickMessage READ clickMessage WRITE setClickMessage)
47 Q_PROPERTY(
QString styleSheet READ styleSheet WRITE setStyleSheet)
48 Q_PROPERTY(KLineEdit *nativeWidget READ nativeWidget WRITE setNativeWidget)
59 void setText(const
QString &text);
70 void setClearButtonShown(
bool show);
76 bool isClearButtonShown() const;
84 void setClickMessage(const
QString &message);
97 void setStyleSheet(const
QString &stylesheet);
110 void setNativeWidget(KLineEdit *nativeWidget);
115 KLineEdit *nativeWidget() const;
120 void changeEvent(
QEvent *event);
127 void editingFinished();
128 void returnPressed();
129 void textEdited(const
QString &text);
135 void textChanged(const
QString &text);
140 void focusChanged(
bool focused);
143 Q_PRIVATE_SLOT(d,
void setPalette())
145 LineEditPrivate *const d;
150 #endif // multiple inclusion guard
Provides a plasma-themed KLineEdit.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.