#include <Plasma/Widgets/LineEdit>
List of all members.
Detailed Description
Provides a plasma-themed KLineEdit.
Definition at line 32 of file lineedit.h.
Constructor & Destructor Documentation
| Plasma::LineEdit::~LineEdit |
( |
| ) |
|
Member Function Documentation
| void Plasma::LineEdit::changeEvent |
( |
QEvent * |
event | ) |
[protected] |
| QString Plasma::LineEdit::clickMessage |
( |
| ) |
const |
- Returns:
- the text of a greyed out message that will go away when clicked
- Since:
- 4.5
| void Plasma::LineEdit::editingFinished |
( |
| ) |
[signal] |
| void Plasma::LineEdit::focusChanged |
( |
bool |
focused | ) |
[signal] |
Emitted when the widget receives or loses focus.
- Since:
- 4.7
| void Plasma::LineEdit::focusInEvent |
( |
QFocusEvent * |
event | ) |
[protected] |
| void Plasma::LineEdit::focusOutEvent |
( |
QFocusEvent * |
event | ) |
[protected] |
| void Plasma::LineEdit::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
[protected] |
| void Plasma::LineEdit::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
[protected] |
| bool Plasma::LineEdit::isClearButtonShown |
( |
| ) |
const |
- Returns:
- true if the clear button is set to be shown
- Since:
- 4.3
Definition at line 92 of file lineedit.cpp.
| void Plasma::LineEdit::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
[protected] |
| KLineEdit* Plasma::LineEdit::nativeWidget |
( |
| ) |
const |
- Returns:
- the native widget wrapped by this LineEdit
| void Plasma::LineEdit::returnPressed |
( |
| ) |
[signal] |
| void Plasma::LineEdit::setClearButtonShown |
( |
bool |
show | ) |
|
Shows a button to clear the text.
- Since:
- 4.3
Definition at line 87 of file lineedit.cpp.
| void Plasma::LineEdit::setClickMessage |
( |
const QString & |
message | ) |
|
Sets a greyed out message that will go away after the user clicked the line edit.
- Parameters:
-
- Since:
- 4.5
Definition at line 97 of file lineedit.cpp.
| void Plasma::LineEdit::setNativeWidget |
( |
KLineEdit * |
nativeWidget | ) |
|
Sets the line edit wrapped by this LineEdit (widget must inherit KLineEdit), ownership is transferred to the LineEdit.
- Parameters:
-
| nativeWidget | line edit that will be wrapped by this LineEdit |
- Since:
- KDE4.4
Definition at line 117 of file lineedit.cpp.
| void Plasma::LineEdit::setStyleSheet |
( |
const QString & |
stylesheet | ) |
|
Sets the stylesheet used to control the visual display of this LineEdit.
- Parameters:
-
Definition at line 107 of file lineedit.cpp.
| void Plasma::LineEdit::setText |
( |
const QString & |
text | ) |
|
Sets the display text for this LineEdit.
- Parameters:
-
| text | the text to display; should be translated. |
Definition at line 77 of file lineedit.cpp.
| QString Plasma::LineEdit::styleSheet |
( |
| ) |
|
- Returns:
- the stylesheet currently used with this widget
| QString Plasma::LineEdit::text |
( |
| ) |
const |
| void Plasma::LineEdit::textChanged |
( |
const QString & |
text | ) |
[signal] |
Emitted when the text changes.
- Since:
- 4.4
| void Plasma::LineEdit::textEdited |
( |
const QString & |
text | ) |
[signal] |
Property Documentation
bool Plasma::LineEdit::clearButtonShown [read, write] |
QString Plasma::LineEdit::clickMessage [read, write] |
KLineEdit * Plasma::LineEdit::nativeWidget [read, write] |
QString Plasma::LineEdit::styleSheet [read, write] |
QString Plasma::LineEdit::text [read, write] |
The documentation for this class was generated from the following files: