A widget that contains a line edit for a search text and a button to clear the search text.
More...
#include <SearchWidget.moc.h>
|
void | textChanged (const QString &sText) |
| Passed through from the QLineEdit.
|
|
void | enterPressed () |
| The user pressed the enter key.
|
|
void | specialKeyPressed (Qt::Key key) |
| This signal is sent when certain keys are pressed that could be used by external code to implement additional features. Currently exposed: Qt::Key_Up, Qt::Key_Down Qt::Key_Tab, Qt::Key_Backtab (that's SHIFT+Tab) Qt::Key_F1, Qt::Key_F2, Qt::Key_F3.
|
|
void | visibleEvent () |
|
|
| plQtSearchWidget (QWidget *pParent) |
|
void | setText (const QString &sText) |
| Passed through to the QLineEdit.
|
|
QString | text () const |
| Passed through from the QLineEdit.
|
|
void | setPlaceholderText (const QString &sText) |
| Passed through to the QLineEdit.
|
|
void | selectAll () |
| Passed through to the QLineEdit.
|
|
|
virtual bool | eventFilter (QObject *obj, QEvent *e) override |
|
virtual void | showEvent (QShowEvent *e) override |
|
|
QLineEdit * | m_pLineEdit |
|
QPushButton * | m_pClearButton |
|
A widget that contains a line edit for a search text and a button to clear the search text.
The clear button is only active when the line edit has text. The text can be cleared by pressing ESC while the line edit has focus.
The documentation for this class was generated from the following files:
- Code/Tools/Libs/GuiFoundation/Widgets/SearchWidget.moc.h
- Code/Tools/Libs/GuiFoundation/Widgets/Implementation/SearchWidget.cpp