41 #ifndef YQPkgStatusFilterView_h 42 #define YQPkgStatusFilterView_h 48 #include <QScrollArea> 84 bool check( ZyppSel selectable,
169 const QString & label,
170 const QPixmap & icon,
171 bool initiallyChecked );
175 QCheckBox * _showAutoDel;
176 QCheckBox * _showAutoInstall;
177 QCheckBox * _showAutoUpdate;
178 QCheckBox * _showDel;
179 QCheckBox * _showInstall;
180 QCheckBox * _showKeepInstalled;
181 QCheckBox * _showNoInst;
182 QCheckBox * _showTaboo;
183 QCheckBox * _showProtected;
184 QCheckBox * _showUpdate;
186 QPushButton * _refreshButton;
191 #endif // ifndef YQPkgStatusFilterView_h void filterStart()
Emitted when the filtering starts.
void filterIfVisible()
Same as filter(), but only if this widget is currently visible.
void filterFinished()
Emitted when filtering is finished.
QCheckBox * addStatusCheckBox(QWidget *parent, const QString &label, const QPixmap &icon, bool initiallyChecked)
Add a check box.
virtual ~YQPkgStatusFilterView()
Destructor.
void showManualTransactions()
Set up the check boxes so pending manual transactions (no "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 showAutoTransactions()
Set up the check boxes so pending automatic transactions (the "auto" states) are displayed.
void filterMatch(ZyppSel selectable, ZyppPkg pkg)
Emitted during filtering for each pkg that matches the filter.
virtual QSize minimumSizeHint() const
Returns the minimum size required for this widget.
Filter view for packages that made problems during update.
void clear()
Reset all check boxes (set them all to "off")
void showTransactions()
Set up the check boxes so all pending transactions are displayed.
YQPkgStatusFilterView(QWidget *parent)
Constructor.
void filter()
Filter according to the view's rules and current selection.
void showNotInstalled()
Set the check box for not installed packages to "on".
bool check(ZyppSel selectable, ZyppObj pkg)
Check if pkg matches the filter criteria.