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 clear()
Reset all check boxes (set them all to "off")
void showNotInstalled()
Set the check box for not installed packages to "on".
void showManualTransactions()
Set up the check boxes so pending manual transactions (no "auto" states) are displayed.
YQPkgStatusFilterView(QWidget *parent)
Constructor.
void filter()
Filter according to the view's rules and current selection.
void filterStart()
Emitted when the filtering starts.
void filterFinished()
Emitted when filtering is finished.
void showTransactions()
Set up the check boxes so all pending transactions are displayed.
virtual ~YQPkgStatusFilterView()
Destructor.
void showInstalled()
Set the check box for installed packages to "on".
virtual QSize minimumSizeHint() const
Returns the minimum size required for this widget.
void filterMatch(ZyppSel selectable, ZyppPkg pkg)
Emitted during filtering for each pkg that matches the filter.
void filterIfVisible()
Same as filter(), but only if this widget is currently visible.
void showLocks()
Set the check boxes for locked packages ("Taboo" and "Protected") to "on".
void showAutoTransactions()
Set up the check boxes so pending automatic transactions (the "auto" states) are displayed.
Filter view for packages that made problems during update.
QCheckBox * addStatusCheckBox(QWidget *parent, const QString &label, const QPixmap &icon, bool initiallyChecked)
Add a check box.
bool check(ZyppSel selectable, ZyppObj pkg)
Check if pkg matches the filter criteria.
- src
- YQPkgStatusFilterView.h