41 #ifndef YQPkgSearchFilterView_h
42 #define YQPkgSearchFilterView_h
88 bool check( ZyppSel selectable,
136 void message(
const QString & text );
162 bool check( ZyppSel selectable,
164 const QRegExp & regexp );
169 bool check(
const string & attribute,
const QRegExp & regexp );
176 bool check(
const zypp::Capabilities & capSet,
const QRegExp & regexp );
180 QComboBox * _searchText;
181 QPushButton * _searchButton;
183 QCheckBox * _searchInName;
184 QCheckBox * _searchInKeywords;
185 QCheckBox * _searchInSummary;
186 QCheckBox * _searchInDescription;
187 QCheckBox * _searchInRequires;
188 QCheckBox * _searchInProvides;
189 QCheckBox * _searchInFileList;
191 QComboBox * _searchMode;
192 QCheckBox * _caseSensitive;
199 #endif // ifndef YQPkgSearchFilterView_h
void filterMatch(ZyppSel selectable, ZyppPkg pkg)
Emitted during filtering for each pkg that matches the filter.
bool check(ZyppSel selectable, ZyppObj zyppObj)
Check one ResObject against the currently selected values.
void filterIfVisible()
Same as filter(), but only if this widget is currently visible.
Filter view for searching within packages.
YQPkgSearchFilterView(QWidget *parent)
Constructor.
virtual QSize minimumSizeHint() const
Returns the minimum size required for this widget.
void message(const QString &text)
Send a short message about unsuccessful searches.
void filterFinished()
Emitted when filtering is finished.
virtual ~YQPkgSearchFilterView()
Destructor.
virtual void keyPressEvent(QKeyEvent *event)
Key press event: Execute search upon 'Return' Reimplemented from QVBox / QWidget. ...
void filterStart()
Emitted when the filtering starts.
void setFocus()
Set the keyboard focus into this view's input field.
void filter()
Filter according to the view's rules and current selection.