|
libyui-qt-pkg
2.44.7
|
RPM group tags filter view: Display the RPM group tags tree and emit signals if any group tag is selected so a package list can be filled or updated. More...
#include <YQPkgRpmGroupTagsFilterView.h>


Public Slots | |
| void | filter () |
| Filter according to the view's rules and current selection. More... | |
| void | filterIfVisible () |
| Same as filter(), but only if this widget is currently visible. | |
| void | selectSomething () |
| Select a list entry (if there is any). More... | |
| static YRpmGroupsTree * | rpmGroupsTree () |
| Returns the internal RPM groups tree and fills it if it doesn't exist yet. | |
Signals | |
| void | filterStart () |
| Emitted when the filtering starts. More... | |
| void | filterMatch (ZyppSel selectable, ZyppPkg pkg) |
| Emitted during filtering for each pkg that matches the filter. | |
| void | filterFinished () |
| Emitted when filtering is finished. | |
Public Member Functions | |
| YQPkgRpmGroupTagsFilterView (QWidget *parent) | |
| Constructor. | |
| virtual | ~YQPkgRpmGroupTagsFilterView () |
| Destructor. | |
| YQPkgRpmGroupTag * | selection () const |
| Returns the currently selected item or 0 if there is none. | |
| bool | check (ZyppSel selectable, ZyppPkg pkg) |
| Check if 'pkg' matches the selected RPM group. More... | |
| const string & | selectedRpmGroup () const |
| Returns the (untranslated!) currently selected RPM group as string. More... | |
Protected Slots | |
| void | slotSelectionChanged (QTreeWidgetItem *newSelection) |
| Update _selectedRpmGroup and filter data. | |
Protected Member Functions | |
| void | cloneTree (YStringTreeItem *parentRpmGroup, YQPkgRpmGroupTag *parentClone=0) |
| Recursively clone the RPM group tag tree for the QListView widget: Make a deep copy of the tree starting at 'parentRpmGroup' and 'parentClone'. | |
Static Protected Member Functions | |
| static void | fillRpmGroupsTree () |
| Fill the internal RPM groups tree with RPM groups of all packages currently in the pool. | |
Protected Attributes | |
| string | _selectedRpmGroup |
Static Protected Attributes | |
| static YRpmGroupsTree * | _rpmGroupsTree = 0 |
RPM group tags filter view: Display the RPM group tags tree and emit signals if any group tag is selected so a package list can be filled or updated.
Definition at line 59 of file YQPkgRpmGroupTagsFilterView.h.
| bool YQPkgRpmGroupTagsFilterView::check | ( | ZyppSel | selectable, |
| ZyppPkg | pkg | ||
| ) |
Check if 'pkg' matches the selected RPM group.
Returns true if there is a match, false otherwise.
Definition at line 214 of file YQPkgRpmGroupTagsFilterView.cc.

|
slot |
Filter according to the view's rules and current selection.
Emits those signals: filterStart() filterMatch() for each pkg that matches the filter filterFinished()
Definition at line 153 of file YQPkgRpmGroupTagsFilterView.cc.

|
signal |
Emitted when the filtering starts.
Use this to clear package lists etc. prior to adding new entries.
|
inline |
Returns the (untranslated!) currently selected RPM group as string.
Special case: "*" is returned if "zzz_All" is selected.
Definition at line 91 of file YQPkgRpmGroupTagsFilterView.h.
|
slot |
Select a list entry (if there is any).
Usually this will be the first list entry, but don't rely on that - this might change without notice. Emits signal currentItemChanged().
Definition at line 134 of file YQPkgRpmGroupTagsFilterView.cc.