|
libyui-qt-pkg
|
#include <YQPkgSecondaryFilterView.h>


Public Slots | |
| void | filter () |
| void | filterIfVisible () |
Signals | |
| void | filterStart () |
| void | filterMatch (ZyppSel selectable, ZyppPkg pkg) |
| void | filterNearMatch (ZyppSel selectable, ZyppPkg pkg) |
| void | filterFinished () |
Public Member Functions | |
| YQPkgSecondaryFilterView (QWidget *parent) | |
| virtual | ~YQPkgSecondaryFilterView () |
| void | init (QWidget *primary_widget) |
Protected Slots | |
| void | primaryFilterMatch (ZyppSel selectable, ZyppPkg pkg) |
| void | primaryFilterNearMatch (ZyppSel selectable, ZyppPkg pkg) |
Protected Member Functions | |
| QWidget * | layoutSecondaryFilters (QWidget *parent, QWidget *primary_widget) |
| bool | secondaryFilterMatch (ZyppSel selectable, ZyppPkg pkg) |
| virtual void | primaryFilter () |
| virtual void | primaryFilterIfVisible () |
Protected Attributes | |
| QY2ComboTabWidget * | _secondaryFilters |
| QWidget * | _allPackages |
| QWidget * | _unmaintainedPackages |
| YQPkgSearchFilterView * | _searchFilterView |
| YQPkgStatusFilterView * | _statusFilterView |
This is a base class for filter views containing a secondary filter
| YQPkgSecondaryFilterView::YQPkgSecondaryFilterView | ( | QWidget * | parent | ) |
Constructor Because of the circular dependencies you have to call the init() method later with the new subclassed object.
|
virtual |
Destructor
|
slot |
Filter according to the view's rules and current selection. Emits those signals: filterStart() filterMatch() for each pkg that matches the filter filterFinished()
|
signal |
Emitted when filtering is finished.
|
slot |
Same as filter(), but only if this widget is currently visible.
|
signal |
Emitted during filtering for each pkg that matches the filter and the candidate package comes from the respective repository
|
signal |
Emitted during filtering for each pkg that matches the filter and the candidate package does not come from the respective repository
|
signal |
Emitted when the filtering starts. Use this to clear package lists etc. prior to adding new entries.
| void YQPkgSecondaryFilterView::init | ( | QWidget * | primary_widget | ) |
Initialize the primary widget
| primary_widget | the primary widget to which the secondary views will be added. It should be a subclass of YQPkgSecondaryFilterView. |
|
protected |
Widget layout for the secondary filters
|
protectedslot |
Propagate a filter match from the primary filter and appy any selected secondary filter(s) to it
|
protectedslot |
Propagate a filter near match from the primary filter and appy any selected secondary filter(s) to it
|
protected |
Check if pkg matches the the currently selected secondary filter