kaddressbook
#include <quicksearchwidget.h>
Inherits QWidget.
Signals | |
void | arrowDownKeyPressed () |
void | filterStringChanged (const QString &filterString) |
Public Member Functions | |
QuickSearchWidget (QWidget *parent=0) | |
virtual | ~QuickSearchWidget () |
virtual QSize | sizeHint () const |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *) |
Detailed Description
The quick search widget from the toolbar.
This widget allows the user to filter for contacts that match a given string criteria. The filter string the user enters here is emitted to the ContactsFilterModel, which does the real filtering.
Definition at line 39 of file quicksearchwidget.h.
Constructor & Destructor Documentation
|
explicit |
Creates the quick search widget.
- Parameters
-
parent The parent widget.
Definition at line 31 of file quicksearchwidget.cpp.
|
virtual |
Destroys the quick search widget.
Definition at line 57 of file quicksearchwidget.cpp.
Member Function Documentation
|
signal |
This signal is emitted whenever the user pressed the arrow down key.
In this case we set the focus on the item view that shows the contacts, so the user can navigate much faster.
|
signal |
This signal is emitted whenever the user has changed the filter string in the line edit.
- Parameters
-
filterString The new filter string.
|
protected |
Definition at line 79 of file quicksearchwidget.cpp.
|
virtual |
Returns the size hint of the quick search widget.
Definition at line 61 of file quicksearchwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.