#include <YQPkgYouPatchList.h>
Inheritance diagram for YQPkgYouPatchList:

Public Types | |
| enum | PatchCategory { InstallablePatches, InstallableAndInstalledPatches, AllPatches } |
Public Slots | |
| void | filter () |
| void | filterIfVisible () |
| void | addYouPatchItem (PMYouPatchPtr sel) |
| void | sendUpdatePackages () |
| void | fillList () |
| void | showRawPatchInfo () |
| virtual void | message (const QString &text) |
Signals | |
| void | updatePackages () |
| void | filterStart () |
| void | filterMatch (PMPackagePtr pkg) |
| void | filterMatch (const QString &name, const QString &summary, FSize size) |
| void | filterFinished () |
Public Member Functions | |
| YQPkgYouPatchList (QWidget *parent) | |
| virtual | ~YQPkgYouPatchList () |
| YQPkgYouPatchListItem * | selection () const |
| int | kindCol () const |
| PatchCategory | patchCategory () const |
| void | setPatchCategory (PatchCategory newCt) |
| virtual QPopupMenu * | addAllInListSubMenu (QPopupMenu *menu) |
Public Attributes | |
| QAction * | actionShowRawPatchInfo |
Protected Member Functions | |
| virtual void | createNotInstalledContextMenu () |
| virtual void | createInstalledContextMenu () |
| virtual void | keyPressEvent (QKeyEvent *ev) |
Protected Attributes | |
| int | _kindCol |
| PatchCategory | _patchCategory |
|
|
Categories of patches to display in the list |
|
|
Constructor |
|
|
Destructor |
|
|
Add a submenu "All in this list..." to 'menu'. Returns the newly created submenu. Reimplemented from YQPkgObjList. Reimplemented from YQPkgObjList. |
|
|
Add a selection to the list. Connect a filter's filterMatch() signal to this slot. Remember to connect filterStart() to clear() (inherited from QListView). |
|
|
Create the context menu for installed items. Reimplemented from YQPkgObjList. Reimplemented from YQPkgObjList. |
|
|
Create the context menu for items that are not installed. Reimplemented from YQPkgObjList. Reimplemented from YQPkgObjList. |
|
|
Fill the selection list. |
|
|
Filter according to the view's rules and current selection. Emits those signals: filterStart() filterMatch() for each pkg that matches the filter filterFinished() |
|
|
Emitted when filtering is finished. |
|
|
Same as filter(), but only if this widget is currently visible. |
|
||||||||||||||||
|
Emitted during filtering for non-pkg items: pre-script, post-script, files |
|
|
Emitted during filtering for each pkg that matches the filter. |
|
|
Emitted when the filtering starts. Use this to clear package lists etc. prior to adding new entries. |
|
|
Event handler for keyboard input. Only very special keys are processed here. Reimplemented from YQPkgObjList / QWidget. Reimplemented from YQPkgObjList. |
|
|
Returns the column for the patch kind |
|
|
Display a one-line message in the list. Reimplemented from YQPkgObjList. Reimplemented from YQPkgObjList. |
|
|
Return the patch category that is displayed in the list. |
|
|
Returns the currently selected item or 0 if there is none. |
|
|
Emit an updatePackages() signal. |
|
|
Set the category of patches to be displayed in the list. This does NOT trigger redisplaying the list - use fillList() for that. |
|
|
Show the raw patch info for the currently selected patch in a popup dialog. |
|
|
Emitted when it's time to update displayed package information, e.g., package states. |
|
|
|
|
|
|
|
|
Action that shows the raw patch info for the currently selected patch in a popup dialog. |
1.4.4