41 #ifndef YQPkgSearchFilterView_h 42 #define YQPkgSearchFilterView_h 48 #include <QScrollArea> 89 bool check( ZyppSel selectable,
137 void message(
const QString & text );
163 bool check( ZyppSel selectable,
165 const QRegExp & regexp );
170 bool check(
const string & attribute,
const QRegExp & regexp );
177 bool check(
const zypp::Capabilities & capSet,
const QRegExp & regexp );
181 QComboBox * _searchText;
182 QPushButton * _searchButton;
184 QCheckBox * _searchInName;
185 QCheckBox * _searchInKeywords;
186 QCheckBox * _searchInSummary;
187 QCheckBox * _searchInDescription;
188 QCheckBox * _searchInRequires;
189 QCheckBox * _searchInProvides;
190 QCheckBox * _searchInFileList;
192 QComboBox * _searchMode;
193 QCheckBox * _caseSensitive;
200 #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.