#include <YQPkgSearchFilterView.h>
Public Slots | |
| void | filter () |
| void | filterIfVisible () |
| void | setFocus () |
Signals | |
| void | filterStart () |
| void | filterMatch (PMPackagePtr pkg) |
| void | filterFinished () |
| void | message (const QString &text) |
Public Member Functions | |
| YQPkgSearchFilterView (QWidget *parent) | |
| virtual | ~YQPkgSearchFilterView () |
| virtual QSize | minimumSizeHint () const |
Protected Types | |
| enum | SearchMode { Contains = 0, BeginsWith, ExactMatch, UseWildcards, UseRegExp } |
Protected Member Functions | |
| bool | check (PMPackagePtr pkg, const QRegExp ®exp) |
| bool | check (const string &attribute, const QRegExp ®exp) |
| bool | check (const list< string > &strList, const QRegExp ®exp) |
| bool | check (const PMSolvable::PkgRelList_type &relList, const QRegExp ®exp) |
| virtual void | keyPressEvent (QKeyEvent *event) |
Protected Attributes | |
| QComboBox * | _searchText |
| QPushButton * | _searchButton |
| QCheckBox * | _searchInName |
| QCheckBox * | _searchInSummary |
| QCheckBox * | _searchInDescription |
| QCheckBox * | _searchInRequires |
| QCheckBox * | _searchInProvides |
| QComboBox * | _searchMode |
| QCheckBox * | _caseSensitive |
| int | _matchCount |
|
|
|
|
|
Constructor |
|
|
Destructor |
|
||||||||||||
|
Check PkgRelList attribute ( PMSolvable::provides(), PMSolvable::requires(), ... ) |
|
||||||||||||
|
Check multi-line attribute |
|
||||||||||||
|
Check if a single pkg attribute matches the search criteria. |
|
||||||||||||
|
Check if pkg matches the search criteria. |
|
|
Filter according to the view's rules and current selection. Emits those signals: filterStart() filterMatch() for each pkg that matches the filter filterFinished() |
|
|
Emitted when filtering is finished. |
|
|
Same as filter(), but only if this widget is currently visible. |
|
|
Emitted during filtering for each pkg that matches the filter. |
|
|
Emitted when the filtering starts. Use this to clear package lists etc. prior to adding new entries. |
|
|
Key press event: Execute search upon 'Return' Reimplemented from QVBox / QWidget. |
|
|
Send a short message about unsuccessful searches. |
|
|
Returns the minimum size required for this widget. Inherited from QWidget. |
|
|
Set the keyboard focus into this view's input field. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4