Plasma
lineedit.cpp
Go to the documentation of this file.
160 void LineEdit::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
165 nativeWidget()->render(painter, QPoint(0, 0), QRegion(), QWidget::DrawChildren|QWidget::IgnoreMask);
QGraphicsWidget * parentWidget() const
void setStyleSheet(const QString &styleSheet)
KLineEdit * nativeWidget() const
virtual void focusInEvent(QFocusEvent *event)
void textEdited(const QString &text)
QString clickMessage() const
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Definition: lineedit.cpp:154
void editingFinished()
void mousePressEvent(QGraphicsSceneMouseEvent *event)
Definition: lineedit.cpp:174
QGraphicsScene * scene() const
void update(const QRectF &rect)
void returnPressed()
Qt::FocusReason reason() const
void setClickMessage(const QString &message)
Sets a greyed out message that will go away after the user clicked the line edit. ...
Definition: lineedit.cpp:102
virtual void changeEvent(QEvent *event)
QString styleSheet()
bool sendEvent(QObject *receiver, QEvent *event)
void deleteLater()
QString text() const
void setText(const QString &text)
Sets the display text for this LineEdit.
Definition: lineedit.cpp:82
virtual void closeEvent(QCloseEvent *event)
void setNativeWidget(KLineEdit *nativeWidget)
Sets the line edit wrapped by this LineEdit (widget must inherit KLineEdit), ownership is transferred...
Definition: lineedit.cpp:122
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Definition: lineedit.cpp:160
virtual void focusOutEvent(QFocusEvent *event)
void focusChanged(bool focused)
Emitted when the widget receives or loses focus.
bool hasFocus() const
void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Definition: lineedit.cpp:148
QWidget * widget() const
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setStyleSheet(const QString &stylesheet)
Sets the stylesheet used to control the visual display of this LineEdit.
Definition: lineedit.cpp:112
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
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.