|
void | basicLayout () |
|
QWidget * | layoutRightPane (QWidget *parent) |
|
void | layoutFilters (QWidget *parent) |
|
void | layoutPkgList (QWidget *parent) |
|
void | layoutDetailsViews (QWidget *parent) |
|
void | layoutButtons (QWidget *parent) |
|
void | layoutMenuBar (QWidget *parent) |
|
void | makeConnections () |
|
void | addMenus () |
|
void | connectFilter (QWidget *filter, QWidget *pkgList, bool hasUpdateSignal=true) |
|
void | connectPatchList () |
|
void | globalUpdatePkg (bool force) |
|
void | importSelectable (ZyppSel selectable, bool isWanted, const char *kind) |
|
bool | anyRetractedPkgInstalled () |
|
QString | symHelp (const QString &imgFileName, const QString &summary, const QString &explanation) |
|
QString | keyHelp (const QString &key, const QString &summary, const QString &explanation) |
|
void | loadCommonSettings () |
|
void | saveCommonSettings () |
|
| YQPackageSelectorBase (YWidget *parent, long modeFlags=0) |
|
virtual | ~YQPackageSelectorBase () |
|
bool | showPendingLicenseAgreements () |
|
bool | showPendingLicenseAgreements (ZyppPoolIterator begin, ZyppPoolIterator end) |
|
virtual void | keyPressEvent (QKeyEvent *ev) |
|
|
static QString | para (const QString &text) |
|
static QString | listItem (const QString &text) |
|
◆ addMenus()
void YQPackageSelector::addMenus |
( |
| ) |
|
|
protected |
Add pulldown menus to the menu bar.
This really needs to be a separate method to make sure all affected wigets are created at this point.
◆ addPatchFilterView
void YQPackageSelector::addPatchFilterView |
( |
| ) |
|
|
protectedslot |
Add the "Patches" filter view, if it is not already there.
◆ anyRetractedPkgInstalled()
bool YQPackageSelector::anyRetractedPkgInstalled |
( |
| ) |
|
|
protected |
Return 'true' if any selectable has any retracted package version installed.
◆ autoResolveDependencies
void YQPackageSelector::autoResolveDependencies |
( |
| ) |
|
|
slot |
Automatically resolve package dependencies if desired (if the "auto check" checkbox is on).
◆ busyCursor
void YQPackageSelector::busyCursor |
( |
| ) |
|
|
protectedslot |
Show the busy cursor (clock)
◆ connectFilter()
void YQPackageSelector::connectFilter |
( |
QWidget * |
filter, |
|
|
QWidget * |
pkgList, |
|
|
bool |
hasUpdateSignal = true |
|
) |
| |
|
protected |
Connect a filter view that provides the usual signals with a package list. By convention, filter views provide the following signals: filterStart() filterMatch() filterFinished() updatePackages() (optional)
◆ connectPatchList()
void YQPackageSelector::connectPatchList |
( |
| ) |
|
|
protected |
Connect the patch list. Caution: Possible bootstrap problem!
◆ globalUpdatePkg [1/2]
void YQPackageSelector::globalUpdatePkg |
( |
| ) |
|
|
inlineprotectedslot |
Set the status of all installed packages (all in the pool, not only those currently displayed in the package list) to "update", if there is a candidate package that is newer than the installed package.
◆ globalUpdatePkg() [2/2]
void YQPackageSelector::globalUpdatePkg |
( |
bool |
force | ) |
|
|
protected |
Set the status of all installed packages (all in the pool, not only those currently displayed in the package list) to "update" and switch to the "Installation Summary" view afterwards.
'force' indicates if this should also be done if the the candidate package is not newer than the installed package.
◆ globalUpdatePkgForce
void YQPackageSelector::globalUpdatePkgForce |
( |
| ) |
|
|
inlineprotectedslot |
Set the status of all installed packages (all in the pool, not only those currently displayed in the package list) to "update", even if the candidate package is not newer than the installed package.
◆ help
void YQPackageSelector::help |
( |
| ) |
|
|
slot |
Display (generic) online help.
◆ hotkeyInsertPatchFilterView
void YQPackageSelector::hotkeyInsertPatchFilterView |
( |
| ) |
|
|
protectedslot |
Add the "Patches" filter view upon hotkey (F2).
◆ importSelectable()
void YQPackageSelector::importSelectable |
( |
ZyppSel |
selectable, |
|
|
bool |
isWanted, |
|
|
const char * |
kind |
|
) |
| |
|
protected |
Import one selectable: Set its status according to 'isWanted' based on its old status. 'kind' is 'package' or 'pattern' (used only for debug logging).
◆ installDebugInfoPkgs
void YQPackageSelector::installDebugInfoPkgs |
( |
| ) |
|
|
slot |
Install available -debuginfo packages for packages that are installed or marked for installation
◆ installDebugSourcePkgs
void YQPackageSelector::installDebugSourcePkgs |
( |
| ) |
|
|
slot |
Install available -debugsource packages for packages that are installed or marked for installation
◆ installDevelPkgs
void YQPackageSelector::installDevelPkgs |
( |
| ) |
|
|
slot |
Install any -devel package for packages that are installed or marked for installation
◆ installRecommendedPkgs
void YQPackageSelector::installRecommendedPkgs |
( |
| ) |
|
|
slot |
Install recommended packages for packages that are installed
◆ installSubPkgs
void YQPackageSelector::installSubPkgs |
( |
const QString & |
suffix | ) |
|
|
slot |
Install any subpackage that ends with 'suffix' for packages that are installed or marked for installation
◆ keyboardHelp
void YQPackageSelector::keyboardHelp |
( |
| ) |
|
|
slot |
Display online help about magic keys.
◆ keyHelp()
QString YQPackageSelector::keyHelp |
( |
const QString & |
key, |
|
|
const QString & |
summary, |
|
|
const QString & |
explanation |
|
) |
| |
|
protected |
Return HTML code describing a key.
◆ listItem()
QString YQPackageSelector::listItem |
( |
const QString & |
text | ) |
|
|
staticprotected |
Basic HTML formatting: Embed text into ...
◆ loadCommonSettings()
void YQPackageSelector::loadCommonSettings |
( |
| ) |
|
|
protected |
loads settings that are shared with other frontends
◆ loadData
void YQPackageSelector::loadData |
( |
| ) |
|
|
signal |
Emitted once (!) when the dialog is about to be shown, when all widgets are created and all signal/slot connections are set up - when it makes sense to load data.
◆ loadSettings
void YQPackageSelector::loadSettings |
( |
| ) |
|
|
slot |
loads settings for the checkboxes in the option menu
◆ makeConnections()
void YQPackageSelector::makeConnections |
( |
| ) |
|
|
protected |
Establish Qt signal / slot connections.
This really needs to be a separate method to make sure all affected wigets are created at this point.
◆ manualResolvePackageDependencies
int YQPackageSelector::manualResolvePackageDependencies |
( |
| ) |
|
|
slot |
Resolve package dependencies manually.
Returns QDialog::Accepted or QDialog::Rejected.
◆ normalCursor
void YQPackageSelector::normalCursor |
( |
| ) |
|
|
protectedslot |
Show the standard cursor (arrow)
◆ para()
QString YQPackageSelector::para |
( |
const QString & |
text | ) |
|
|
staticprotected |
Basic HTML formatting: Embed text into
...
◆ pkgExcludeDebugChanged
void YQPackageSelector::pkgExcludeDebugChanged |
( |
bool |
on | ) |
|
|
slot |
Enable or disable the package exclude rules (show or suppress -debuginfo or -devel packages) according to the current menu settings and apply the exclude rules.
◆ pkgExport
void YQPackageSelector::pkgExport |
( |
| ) |
|
|
slot |
Export all current selection/package states
◆ pkgImport
void YQPackageSelector::pkgImport |
( |
| ) |
|
|
slot |
Import selection/package states
◆ refresh
void YQPackageSelector::refresh |
( |
| ) |
|
|
signal |
Emitted when the internal data base might have changed and a refresh of all displayed data might be necessary - e.g., when saved (exported) pkg states are reimported.
◆ saveCommonSettings()
void YQPackageSelector::saveCommonSettings |
( |
| ) |
|
|
protected |
saves settings that are shared with other frontends
◆ saveSettings
void YQPackageSelector::saveSettings |
( |
| ) |
|
|
slot |
saves settings of the checkboxes in the option menu
◆ showHistory
void YQPackageSelector::showHistory |
( |
| ) |
|
|
protectedslot |
Show dialog for pkgmgr history
◆ showProducts
void YQPackageSelector::showProducts |
( |
| ) |
|
|
protectedslot |
Show all products in a popup dialog.
◆ slotRepoUpgradeLabelLinkClicked
void YQPackageSelector::slotRepoUpgradeLabelLinkClicked |
( |
const QString & |
link | ) |
|
|
protectedslot |
a link in the repo upgrade label was clicked
◆ symbolHelp
void YQPackageSelector::symbolHelp |
( |
| ) |
|
|
slot |
Display online help about symbols (package status icons).
◆ symHelp()
QString YQPackageSelector::symHelp |
( |
const QString & |
imgFileName, |
|
|
const QString & |
summary, |
|
|
const QString & |
explanation |
|
) |
| |
|
protected |
Return HTML code describing a symbol (an icon).
◆ updateRepositoryUpgradeLabel
void YQPackageSelector::updateRepositoryUpgradeLabel |
( |
| ) |
|
|
slot |
hides or shows the repository upgrade message
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPackageSelector.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPackageSelector.cc
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPackageSelectorHelp.cc