libyui-qt-pkg  2.42.5
 All Classes Functions Variables Enumerations
YQPkgRepoFilterView Class Reference
Inheritance diagram for YQPkgRepoFilterView:
Collaboration diagram for YQPkgRepoFilterView:

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

 YQPkgRepoFilterView (QWidget *parent)
 
virtual ~YQPkgRepoFilterView ()
 
zypp::Repository selectedRepo () const
 

Protected Slots

void primaryFilterMatch (ZyppSel selectable, ZyppPkg pkg)
 
void primaryFilterNearMatch (ZyppSel selectable, ZyppPkg pkg)
 

Protected Member Functions

QWidget * layoutSecondaryFilters (QWidget *parent)
 
bool secondaryFilterMatch (ZyppSel selectable, ZyppPkg pkg)
 

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.

Constructor & Destructor Documentation

YQPkgRepoFilterView::YQPkgRepoFilterView ( QWidget *  parent)

Constructor

Definition at line 61 of file YQPkgRepoFilterView.cc.

Here is the call graph for this function:

YQPkgRepoFilterView::~YQPkgRepoFilterView ( )
virtual

Destructor

Definition at line 106 of file YQPkgRepoFilterView.cc.

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 209 of file YQPkgRepoFilterView.cc.

Here is the call graph for this function:

void YQPkgRepoFilterView::filterFinished ( )
signal

Emitted when filtering is finished.

void YQPkgRepoFilterView::filterIfVisible ( )
slot

Same as filter(), but only if this widget is currently visible.

Definition at line 215 of file YQPkgRepoFilterView.cc.

Here is the call graph for this function:

void YQPkgRepoFilterView::filterMatch ( ZyppSel  selectable,
ZyppPkg  pkg 
)
signal

Emitted during filtering for each pkg that matches the filter and the candidate package comes from the respective repository

void YQPkgRepoFilterView::filterNearMatch ( ZyppSel  selectable,
ZyppPkg  pkg 
)
signal

Emitted during filtering for each pkg that matches the filter and the candidate package does not come from the respective repository

void YQPkgRepoFilterView::filterStart ( )
signal

Emitted when the filtering starts. Use this to clear package lists etc. prior to adding new entries.

QWidget * YQPkgRepoFilterView::layoutSecondaryFilters ( QWidget *  parent)
protected

Widget layout for the secondary filters

Definition at line 121 of file YQPkgRepoFilterView.cc.

Here is the call graph for this function:

void YQPkgRepoFilterView::primaryFilterMatch ( ZyppSel  selectable,
ZyppPkg  pkg 
)
protectedslot

Propagate a filter match from the primary filter and appy any selected secondary filter(s) to it

Definition at line 221 of file YQPkgRepoFilterView.cc.

Here is the call graph for this function:

void YQPkgRepoFilterView::primaryFilterNearMatch ( ZyppSel  selectable,
ZyppPkg  pkg 
)
protectedslot

Propagate a filter near match from the primary filter and appy any selected secondary filter(s) to it

Definition at line 229 of file YQPkgRepoFilterView.cc.

Here is the call graph for this function:

bool YQPkgRepoFilterView::secondaryFilterMatch ( ZyppSel  selectable,
ZyppPkg  pkg 
)
protected

Check if pkg matches the the currently selected secondary filter

Definition at line 238 of file YQPkgRepoFilterView.cc.

Here is the call graph for this function:

ZyppRepo YQPkgRepoFilterView::selectedRepo ( ) const

Current selected repository, or if nothing is selected

Definition at line 112 of file YQPkgRepoFilterView.cc.

Here is the call graph for this function:


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