Filter view for searching within packages.
More...
#include <YQPkgSearchFilterView.h>
|
| enum | SearchMode {
Contains = 0,
BeginsWith,
ExactMatch,
UseWildcards,
UseRegExp
} |
| |
|
| virtual void | keyPressEvent (QKeyEvent *event) |
| |
| bool | check (ZyppSel selectable, ZyppObj zyppObj, const QRegExp ®exp) |
| |
| bool | check (const string &attribute, const QRegExp ®exp) |
| |
| bool | check (const zypp::Capabilities &capSet, const QRegExp ®exp) |
| |
|
|
QComboBox * | _searchText |
| |
|
QPushButton * | _searchButton |
| |
|
QCheckBox * | _searchInName |
| |
|
QCheckBox * | _searchInKeywords |
| |
|
QCheckBox * | _searchInSummary |
| |
|
QCheckBox * | _searchInDescription |
| |
|
QCheckBox * | _searchInRequires |
| |
|
QCheckBox * | _searchInProvides |
| |
|
QCheckBox * | _searchInFileList |
| |
|
QComboBox * | _searchMode |
| |
|
QCheckBox * | _caseSensitive |
| |
|
int | _matchCount |
| |
Filter view for searching within packages.
◆ YQPkgSearchFilterView()
| YQPkgSearchFilterView::YQPkgSearchFilterView |
( |
QWidget * |
parent | ) |
|
◆ ~YQPkgSearchFilterView()
| YQPkgSearchFilterView::~YQPkgSearchFilterView |
( |
| ) |
|
|
virtual |
◆ check() [1/4]
| bool YQPkgSearchFilterView::check |
( |
ZyppSel |
selectable, |
|
|
ZyppObj |
zyppObj |
|
) |
| |
Check one ResObject against the currently selected values. Returns true if the package matches, false if not.
◆ check() [2/4]
| bool YQPkgSearchFilterView::check |
( |
ZyppSel |
selectable, |
|
|
ZyppObj |
zyppObj, |
|
|
const QRegExp & |
regexp |
|
) |
| |
|
protected |
Check if pkg matches the search criteria.
◆ check() [3/4]
| bool YQPkgSearchFilterView::check |
( |
const string & |
attribute, |
|
|
const QRegExp & |
regexp |
|
) |
| |
|
protected |
Check if a single pkg attribute matches the search criteria.
◆ check() [4/4]
| bool YQPkgSearchFilterView::check |
( |
const zypp::Capabilities & |
capSet, |
|
|
const QRegExp & |
regexp |
|
) |
| |
|
protected |
Check capability like zypp::Resolvable::dep( zypp::Dep::PROVIDES ), zypp::Resolvable::dep( zypp::Dep::REQUIRES )
◆ filter
| void YQPkgSearchFilterView::filter |
( |
| ) |
|
|
slot |
◆ filterFinished
| void YQPkgSearchFilterView::filterFinished |
( |
| ) |
|
|
signal |
Emitted when filtering is finished.
◆ filterIfVisible
| void YQPkgSearchFilterView::filterIfVisible |
( |
| ) |
|
|
slot |
Same as filter(), but only if this widget is currently visible.
◆ filterMatch
| void YQPkgSearchFilterView::filterMatch |
( |
ZyppSel |
selectable, |
|
|
ZyppPkg |
pkg |
|
) |
| |
|
signal |
Emitted during filtering for each pkg that matches the filter.
◆ filterStart
| void YQPkgSearchFilterView::filterStart |
( |
| ) |
|
|
signal |
Emitted when the filtering starts. Use this to clear package lists etc. prior to adding new entries.
◆ keyPressEvent()
| void YQPkgSearchFilterView::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protectedvirtual |
Key press event: Execute search upon 'Return' Reimplemented from QVBox / QWidget.
◆ message
| void YQPkgSearchFilterView::message |
( |
const QString & |
text | ) |
|
|
signal |
Send a short message about unsuccessful searches.
◆ minimumSizeHint()
| QSize YQPkgSearchFilterView::minimumSizeHint |
( |
| ) |
const |
|
virtual |
Returns the minimum size required for this widget. Inherited from QWidget.
◆ setFocus
| void YQPkgSearchFilterView::setFocus |
( |
| ) |
|
|
slot |
Set the keyboard focus into this view's input field.
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/libyui-qt-pkg-4.0.0/src/YQPkgSearchFilterView.h
- /home/abuild/rpmbuild/BUILD/libyui-qt-pkg-4.0.0/src/YQPkgSearchFilterView.cc