libyui-qt-pkg  2.45.13.1
YQPkgRepoFilterView Class Reference
Inheritance diagram for YQPkgRepoFilterView:
Collaboration diagram for YQPkgRepoFilterView:

Public Slots

void filter ()
 Filter according to the view's rules and current selection. More...
 
void filterIfVisible ()
 Same as filter(), but only if this widget is currently visible.
 

Signals

void filterStart ()
 Emitted when the filtering starts. More...
 
void filterMatch (ZyppSel selectable, ZyppPkg pkg)
 Emitted during filtering for each pkg that matches the filter and the candidate package comes from the respective repository.
 
void filterNearMatch (ZyppSel selectable, ZyppPkg pkg)
 Emitted during filtering for each pkg that matches the filter and the candidate package does not come from the respective repository.
 
void filterFinished ()
 Emitted when filtering is finished.
 

Public Member Functions

 YQPkgRepoFilterView (QWidget *parent)
 Constructor.
 
virtual ~YQPkgRepoFilterView ()
 Destructor.
 
zypp::Repository selectedRepo () const
 Current selected repository, or if nothing is selected.
 

Protected Slots

void primaryFilterMatch (ZyppSel selectable, ZyppPkg pkg)
 Propagate a filter match from the primary filter and appy any selected secondary filter(s) to it.
 
void primaryFilterNearMatch (ZyppSel selectable, ZyppPkg pkg)
 Propagate a filter near match from the primary filter and appy any selected secondary filter(s) to it.
 

Protected Member Functions

QWidget * layoutSecondaryFilters (QWidget *parent)
 Widget layout for the secondary filters.
 
bool secondaryFilterMatch (ZyppSel selectable, ZyppPkg pkg)
 Check if pkg matches the the currently selected secondary filter.
 

Protected Attributes

YQPkgRepoList_repoList
 
QY2ComboTabWidget * _secondaryFilters
 
QWidget * _allPackages
 
QWidget * _unmaintainedPackages
 
YQPkgRpmGroupTagsFilterView_rpmGroupTagsFilterView
 
YQPkgSearchFilterView_searchFilterView
 
YQPkgStatusFilterView_statusFilterView
 

Detailed Description

Definition at line 55 of file YQPkgRepoFilterView.h.

Member Function Documentation

void YQPkgRepoFilterView::filter ( )
slot

Filter according to the view's rules and current selection.

Emits those signals: filterStart() filterMatch() for each pkg that matches the filter filterFinished()

Definition at line 202 of file YQPkgRepoFilterView.cc.

Here is the call graph for this function:

void YQPkgRepoFilterView::filterStart ( )
signal

Emitted when the filtering starts.

Use this to clear package lists etc. prior to adding new entries.


The documentation for this class was generated from the following files: