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 filterFinished()
Emitted when filtering is finished.
virtual void keyPressEvent(QKeyEvent *event)
Key press event: Execute search upon 'Return' Reimplemented from QVBox / QWidget.
YQPkgSearchFilterView(QWidget *parent)
Constructor.
void filter()
Filter according to the view's rules and current selection.
void filterIfVisible()
Same as filter(), but only if this widget is currently visible.
virtual ~YQPkgSearchFilterView()
Destructor.
void filterStart()
Emitted when the filtering starts.
Filter view for searching within packages.
void setFocus()
Set the keyboard focus into this view's input field.
void filterMatch(ZyppSel selectable, ZyppPkg pkg)
Emitted during filtering for each pkg that matches the filter.
virtual QSize minimumSizeHint() const
Returns the minimum size required for this widget.
void message(const QString &text)
Send a short message about unsuccessful searches.
bool check(ZyppSel selectable, ZyppObj zyppObj)
Check one ResObject against the currently selected values.
- src
- YQPkgSearchFilterView.h