Display a list of zypp::Patch objects.
More...
#include <YQPkgPatchList.h>
|
enum | FilterCriteria { RelevantPatches
, RelevantAndInstalledPatches
, AllPatches
} |
|
|
void | filter () |
|
void | filterIfVisible () |
|
void | addPatchItem (ZyppSel selectable, ZyppPatch zyppPatch) |
|
void | fillList () |
|
virtual void | message (const QString &text) |
|
void | addPkgObjItem (ZyppSel selectable, ZyppObj zyppObj=0) |
|
void | addPassiveItem (const QString &name, const QString &summary=QString(), FSize size=-1) |
|
virtual void | pkgObjClicked (int button, QTreeWidgetItem *item, int col, const QPoint &pos) |
|
virtual void | clear () |
|
virtual void | updateActions (YQPkgObjListItem *item=0) |
|
void | sendUpdatePackages () |
|
void | selectNextItem () |
|
void | sendStatusChanged () |
|
virtual void | message (const QString &text) |
|
void | logExcludeStatistics () |
|
void | maybeSetFocus () |
|
void | setCurrentInstall () |
|
void | setCurrentDontInstall () |
|
void | setCurrentKeepInstalled () |
|
void | setCurrentDelete () |
|
void | setCurrentUpdate () |
|
void | setCurrentUpdateForce () |
|
void | setCurrentTaboo () |
|
void | setCurrentProtected () |
|
void | setListInstall () |
|
void | setListDontInstall () |
|
void | setListKeepInstalled () |
|
void | setListDelete () |
|
void | setListUpdate () |
|
void | setListUpdateForce () |
|
void | setListTaboo () |
|
void | setListProtected () |
|
|
int | _categoryCol |
|
YQPkgSelMapper | _selMapper |
|
FilterCriteria | _filterCriteria |
|
QMap< YQPkgPatchCategory, YQPkgPatchCategoryItem * > | _categories |
|
int | _iconCol |
|
int | _statusCol |
|
int | _nameCol |
|
int | _summaryCol |
|
int | _sizeCol |
|
int | _versionCol |
|
int | _instVersionCol |
|
int | _brokenIconCol |
|
int | _satisfiedIconCol |
|
bool | _editable |
|
bool | _debug |
|
int | _excludedItemsCount |
|
ExcludeRuleList | _excludeRules |
|
QMenu * | _installedContextMenu |
|
QMenu * | _notInstalledContextMenu |
|
|
QAction * | actionSetCurrentInstall |
|
QAction * | actionSetCurrentDontInstall |
|
QAction * | actionSetCurrentKeepInstalled |
|
QAction * | actionSetCurrentDelete |
|
QAction * | actionSetCurrentUpdate |
|
QAction * | actionSetCurrentUpdateForce |
|
QAction * | actionSetCurrentTaboo |
|
QAction * | actionSetCurrentProtected |
|
QAction * | actionSetListInstall |
|
QAction * | actionSetListDontInstall |
|
QAction * | actionSetListKeepInstalled |
|
QAction * | actionSetListDelete |
|
QAction * | actionSetListUpdate |
|
QAction * | actionSetListUpdateForce |
|
QAction * | actionSetListTaboo |
|
QAction * | actionSetListProtected |
|
typedef list< ExcludeRule * > | ExcludeRuleList |
|
virtual void | currentItemChangedInternal (QTreeWidgetItem *item) |
|
void | slotCustomContextMenu (const QPoint &pos) |
|
Display a list of zypp::Patch objects.
◆ YQPkgPatchList()
YQPkgPatchList::YQPkgPatchList |
( |
QWidget * | parent | ) |
|
◆ ~YQPkgPatchList()
YQPkgPatchList::~YQPkgPatchList |
( |
| ) |
|
|
virtual |
◆ addAllInListSubMenu()
QMenu * YQPkgPatchList::addAllInListSubMenu |
( |
QMenu * | menu | ) |
|
|
virtual |
Add a submenu "All in this list..." to 'menu'. Returns the newly created submenu.
Reimplemented from YQPkgObjList.
Reimplemented from YQPkgObjList.
◆ addPatchItem
void YQPkgPatchList::addPatchItem |
( |
ZyppSel | selectable, |
|
|
ZyppPatch | zyppPatch ) |
|
slot |
◆ category()
returns or creates a category item for a defined category
◆ categoryCol()
int YQPkgPatchList::categoryCol |
( |
| ) |
const |
|
inline |
Returns the column for the patch category
◆ createInstalledContextMenu()
void YQPkgPatchList::createInstalledContextMenu |
( |
| ) |
|
|
protectedvirtual |
◆ createNotInstalledContextMenu()
void YQPkgPatchList::createNotInstalledContextMenu |
( |
| ) |
|
|
protectedvirtual |
Create the context menu for items that are not installed.
Reimplemented from YQPkgObjList.
Reimplemented from YQPkgObjList.
◆ fillList
void YQPkgPatchList::fillList |
( |
| ) |
|
|
slot |
◆ filter
void YQPkgPatchList::filter |
( |
| ) |
|
|
slot |
◆ filterCriteria()
FilterCriteria YQPkgPatchList::filterCriteria |
( |
| ) |
const |
|
inline |
Returns the current filter criteria.
◆ filterFinished
void YQPkgPatchList::filterFinished |
( |
| ) |
|
|
signal |
Emitted when filtering is finished.
◆ filterIfVisible
void YQPkgPatchList::filterIfVisible |
( |
| ) |
|
|
slot |
Same as filter(), but only if this widget is currently visible.
◆ filterMatch [1/2]
void YQPkgPatchList::filterMatch |
( |
const QString & | name, |
|
|
const QString & | summary, |
|
|
FSize | size ) |
|
signal |
Emitted during filtering for non-pkg items: pre-script, post-script, files
◆ filterMatch [2/2]
void YQPkgPatchList::filterMatch |
( |
ZyppSel | selectable, |
|
|
ZyppPkg | pkg ) |
|
signal |
Emitted during filtering for each pkg that matches the filter.
◆ filterStart
void YQPkgPatchList::filterStart |
( |
| ) |
|
|
signal |
Emitted when the filtering starts. Use this to clear package lists etc. prior to adding new entries.
◆ keyPressEvent()
void YQPkgPatchList::keyPressEvent |
( |
QKeyEvent * | ev | ) |
|
|
protectedvirtual |
Event handler for keyboard input. Only very special keys are processed here.
Reimplemented from YQPkgObjList / QWidget.
Reimplemented from YQPkgObjList.
◆ message
void YQPkgPatchList::message |
( |
const QString & | text | ) |
|
|
virtualslot |
Display a one-line message in the list. Reimplemented from YQPkgObjList.
◆ polish()
void YQPkgPatchList::polish |
( |
| ) |
|
|
virtual |
Delayed initialization after the dialog is fully created.
Reimplemented from QWidget.
◆ selection()
Returns the currently selected item or 0 if there is none.
◆ setFilterCriteria()
void YQPkgPatchList::setFilterCriteria |
( |
FilterCriteria | filterCriteria | ) |
|
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt-pkg/src/YQPkgPatchList.h
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt-pkg/src/YQPkgPatchList.cc