libyui-qt-pkg  2.42.5
 All Classes Functions Variables Enumerations
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 ()
 
void filterIfVisible ()
 
void clear ()
 
void showTransactions ()
 
void showManualTransactions ()
 
void showAutoTransactions ()
 
void showLocks ()
 
void showInstalled ()
 
void showNotInstalled ()
 

Signals

void filterStart ()
 
void filterMatch (ZyppSel selectable, ZyppPkg pkg)
 
void filterFinished ()
 

Public Member Functions

 YQPkgStatusFilterView (QWidget *parent)
 
virtual ~YQPkgStatusFilterView ()
 
virtual QSize minimumSizeHint () const
 
bool check (ZyppSel selectable, ZyppObj pkg)
 

Protected Member Functions

QCheckBox * addStatusCheckBox (QWidget *parent, const QString &label, const QPixmap &icon, bool initiallyChecked)
 

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 58 of file YQPkgStatusFilterView.h.

Constructor & Destructor Documentation

YQPkgStatusFilterView::YQPkgStatusFilterView ( QWidget *  parent)

Constructor

Definition at line 64 of file YQPkgStatusFilterView.cc.

Here is the call graph for this function:

YQPkgStatusFilterView::~YQPkgStatusFilterView ( )
virtual

Destructor

Definition at line 134 of file YQPkgStatusFilterView.cc.

Member Function Documentation

QCheckBox * YQPkgStatusFilterView::addStatusCheckBox ( QWidget *  parent,
const QString &  label,
const QPixmap &  icon,
bool  initiallyChecked 
)
protected

Add a check box

Definition at line 142 of file YQPkgStatusFilterView.cc.

Here is the call graph for this function:

bool YQPkgStatusFilterView::check ( ZyppSel  selectable,
ZyppObj  pkg 
)

Check if pkg matches the filter criteria.

Definition at line 217 of file YQPkgStatusFilterView.cc.

Here is the call graph for this function:

void YQPkgStatusFilterView::clear ( )
slot

Reset all check boxes (set them all to "off")

Definition at line 255 of file YQPkgStatusFilterView.cc.

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 189 of file YQPkgStatusFilterView.cc.

Here is the call graph for this function:

void YQPkgStatusFilterView::filterFinished ( )
signal

Emitted when filtering is finished.

void YQPkgStatusFilterView::filterIfVisible ( )
slot

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

Definition at line 181 of file YQPkgStatusFilterView.cc.

Here is the call graph for this function:

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

Emitted during filtering for each pkg that matches the filter.

void YQPkgStatusFilterView::filterStart ( )
signal

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

QSize YQPkgStatusFilterView::minimumSizeHint ( ) const
virtual

Returns the minimum size required for this widget. Inherited from QWidget.

Definition at line 174 of file YQPkgStatusFilterView.cc.

void YQPkgStatusFilterView::showAutoTransactions ( )
slot

Set up the check boxes so pending automatic transactions (the "auto" states) are displayed.

Definition at line 285 of file YQPkgStatusFilterView.cc.

void YQPkgStatusFilterView::showInstalled ( )
slot

Set the check box for installed packages to "on".

Definition at line 300 of file YQPkgStatusFilterView.cc.

void YQPkgStatusFilterView::showLocks ( )
slot

Set the check boxes for locked packages ("Taboo" and "Protected") to "on".

Definition at line 293 of file YQPkgStatusFilterView.cc.

void YQPkgStatusFilterView::showManualTransactions ( )
slot

Set up the check boxes so pending manual transactions (no "auto" states) are displayed.

Definition at line 277 of file YQPkgStatusFilterView.cc.

void YQPkgStatusFilterView::showNotInstalled ( )
slot

Set the check box for not installed packages to "on".

Definition at line 306 of file YQPkgStatusFilterView.cc.

void YQPkgStatusFilterView::showTransactions ( )
slot

Set up the check boxes so all pending transactions are displayed.

Definition at line 270 of file YQPkgStatusFilterView.cc.

Here is the call graph for this function:


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