22 #ifndef YQPkgSecondaryFilterView_h
23 #define YQPkgSecondaryFilterView_h
28 class QY2ComboTabWidget;
59 void init(QWidget * primary_widget);
134 virtual void primaryFilter() {}
135 virtual void primaryFilterIfVisible() {}
139 QY2ComboTabWidget * _secondaryFilters;
140 QWidget * _allPackages;
141 QWidget *_unmaintainedPackages;
146 #endif // ifndef YQPkgSecondaryFilterView_h
bool secondaryFilterMatch(ZyppSel selectable, ZyppPkg pkg)
Check if pkg matches the the currently selected secondary filter.
void filter()
Filter according to the view's rules and current selection.
This is a base class for filter views containing a secondary filter.
QWidget * layoutSecondaryFilters(QWidget *parent, QWidget *primary_widget)
Widget layout for the secondary filters.
void primaryFilterMatch(ZyppSel selectable, ZyppPkg pkg)
Propagate a filter match from the primary filter and appy any selected secondary filter(s) to it.
void filterIfVisible()
Same as filter(), but only if this widget is currently visible.
void filterStart()
Emitted when the filtering starts.
void primaryFilterNearMatch(ZyppSel selectable, ZyppPkg pkg)
Propagate a filter near match from the primary filter and appy any selected secondary filter(s) to it...
Filter view for searching within packages.
virtual ~YQPkgSecondaryFilterView()
Destructor.
void init(QWidget *primary_widget)
Initialize the primary widget.
void filterFinished()
Emitted when filtering is finished.
Filter view for packages that made problems during update.
YQPkgSecondaryFilterView(QWidget *parent)
Constructor Because of the circular dependencies you have to call the init() method later with the ne...
void filterMatch(ZyppSel selectable, ZyppPkg pkg)
Emitted during filtering for each pkg that matches the filter and the candidate package comes from th...
void filterNearMatch(ZyppSel selectable, ZyppPkg pkg)
Emitted during filtering for each pkg that matches the filter and the candidate package does not come...
- src
- YQPkgSecondaryFilterView.h