libyui-qt-pkg
Loading...
Searching...
No Matches
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.

Constructor & Destructor Documentation

◆ YQPkgStatusFilterView()

YQPkgStatusFilterView::YQPkgStatusFilterView ( QWidget *  parent)

Constructor

◆ ~YQPkgStatusFilterView()

YQPkgStatusFilterView::~YQPkgStatusFilterView ( )
virtual

Destructor

Member Function Documentation

◆ addStatusCheckBox()

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

Add a check box

◆ check()

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

Check if pkg matches the filter criteria.

◆ clear

void YQPkgStatusFilterView::clear ( )
slot

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

◆ 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()

◆ filterFinished

void YQPkgStatusFilterView::filterFinished ( )
signal

Emitted when filtering is finished.

◆ filterIfVisible

void YQPkgStatusFilterView::filterIfVisible ( )
slot

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

◆ filterMatch

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

Emitted during filtering for each pkg that matches the filter.

◆ 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.

◆ showAutoTransactions

void YQPkgStatusFilterView::showAutoTransactions ( )
slot

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

◆ showInstalled

void YQPkgStatusFilterView::showInstalled ( )
slot

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

◆ showLocks

void YQPkgStatusFilterView::showLocks ( )
slot

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

◆ showManualTransactions

void YQPkgStatusFilterView::showManualTransactions ( )
slot

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

◆ showNotInstalled

void YQPkgStatusFilterView::showNotInstalled ( )
slot

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

◆ showTransactions

void YQPkgStatusFilterView::showTransactions ( )
slot

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


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