libyui-qt-pkg  2.45.27
YQPkgStatusFilterView Class Reference

Filter view for packages that made problems during update. More...

#include <YQPkgStatusFilterView.h>

Inheritance diagram for YQPkgStatusFilterView:
Collaboration diagram for YQPkgStatusFilterView:

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.
 
void clear ()
 Reset all check boxes (set them all to "off")
 
void showTransactions ()
 Set up the check boxes so all pending transactions are displayed.
 
void showManualTransactions ()
 Set up the check boxes so pending manual transactions (no "auto" states) are displayed.
 
void showAutoTransactions ()
 Set up the check boxes so pending automatic transactions (the "auto" states) are displayed.
 
void showLocks ()
 Set the check boxes for locked packages ("Taboo" and "Protected") to "on".
 
void showInstalled ()
 Set the check box for installed packages to "on".
 
void showNotInstalled ()
 Set the check box for not installed packages to "on".
 

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.
 
void filterFinished ()
 Emitted when filtering is finished.
 

Public Member Functions

 YQPkgStatusFilterView (QWidget *parent)
 Constructor.
 
virtual ~YQPkgStatusFilterView ()
 Destructor.
 
virtual QSize minimumSizeHint () const
 Returns the minimum size required for this widget. More...
 
bool check (ZyppSel selectable, ZyppObj pkg)
 Check if pkg matches the filter criteria.
 

Protected Member Functions

QCheckBox * addStatusCheckBox (QWidget *parent, const QString &label, const QPixmap &icon, bool initiallyChecked)
 Add a check box.
 

Protected Attributes

QCheckBox * _showAutoDel
 
QCheckBox * _showAutoInstall
 
QCheckBox * _showAutoUpdate
 
QCheckBox * _showDel
 
QCheckBox * _showInstall
 
QCheckBox * _showKeepInstalled
 
QCheckBox * _showNoInst
 
QCheckBox * _showTaboo
 
QCheckBox * _showProtected
 
QCheckBox * _showUpdate
 
QPushButton * _refreshButton
 

Detailed Description

Filter view for packages that made problems during update.

Definition at line 59 of file YQPkgStatusFilterView.h.

Member Function Documentation

◆ filter

void YQPkgStatusFilterView::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 192 of file YQPkgStatusFilterView.cc.

Here is the call graph for this function:

◆ filterStart

void YQPkgStatusFilterView::filterStart ( )
signal

Emitted when the filtering starts.

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

◆ minimumSizeHint()

QSize YQPkgStatusFilterView::minimumSizeHint ( ) const
virtual

Returns the minimum size required for this widget.

Inherited from QWidget.

Definition at line 177 of file YQPkgStatusFilterView.cc.


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