|
static std::string | iconPath (const std::string &name, int size) |
|
|
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) |
|
QString | symHelp (const QString &imgFileName, const QString &summary, const QString &explanation) |
|
QString | keyHelp (const QString &key, const QString &summary, const QString &explanation) |
|
| 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) |
|
Definition at line 85 of file YQPackageSelector.h.
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.
Definition at line 665 of file YQPackageSelector.cc.
void YQPackageSelector::addPatchFilterView |
( |
| ) |
|
|
protectedslot |
void YQPackageSelector::autoResolveDependencies |
( |
| ) |
|
|
slot |
Automatically resolve package dependencies if desired (if the "auto check" checkbox is on).
Definition at line 1074 of file YQPackageSelector.cc.
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)
Definition at line 920 of file YQPackageSelector.cc.
void YQPackageSelector::connectPatchList |
( |
| ) |
|
|
protected |
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.
Definition at line 239 of file YQPackageSelector.h.
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.
Definition at line 1402 of file YQPackageSelector.cc.
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.
Definition at line 246 of file YQPackageSelector.h.
void YQPackageSelector::help |
( |
| ) |
|
|
slot |
void YQPackageSelector::hotkeyInsertPatchFilterView |
( |
| ) |
|
|
protectedslot |
std::string YQPackageSelector::iconPath |
( |
const std::string & |
name, |
|
|
int |
size |
|
) |
| |
|
static |
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).
Definition at line 1323 of file YQPackageSelector.cc.
void YQPackageSelector::installDebugInfoPkgs |
( |
| ) |
|
|
slot |
Install available -debuginfo packages for packages that are installed or marked for installation
Definition at line 1537 of file YQPackageSelector.cc.
void YQPackageSelector::installDebugSourcePkgs |
( |
| ) |
|
|
slot |
Install available -debugsource packages for packages that are installed or marked for installation
Definition at line 1544 of file YQPackageSelector.cc.
void YQPackageSelector::installDevelPkgs |
( |
| ) |
|
|
slot |
Install any -devel package for packages that are installed or marked for installation
Definition at line 1530 of file YQPackageSelector.cc.
void YQPackageSelector::installSubPkgs |
( |
const QString & |
suffix | ) |
|
|
slot |
Install any subpackage that ends with 'suffix' for packages that are installed or marked for installation
Definition at line 1607 of file YQPackageSelector.cc.
void YQPackageSelector::keyboardHelp |
( |
| ) |
|
|
slot |
QString YQPackageSelector::keyHelp |
( |
const QString & |
key, |
|
|
const QString & |
summary, |
|
|
const QString & |
explanation |
|
) |
| |
|
protected |
QString YQPackageSelector::listItem |
( |
const QString & |
text | ) |
|
|
staticprotected |
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.
void YQPackageSelector::loadSettings |
( |
| ) |
|
|
slot |
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.
Definition at line 970 of file YQPackageSelector.cc.
int YQPackageSelector::manualResolvePackageDependencies |
( |
| ) |
|
|
slot |
Resolve package dependencies manually.
Returns QDialog::Accepted or QDialog::Rejected.
Definition at line 1084 of file YQPackageSelector.cc.
QString YQPackageSelector::para |
( |
const QString & |
text | ) |
|
|
staticprotected |
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.
Definition at line 1551 of file YQPackageSelector.cc.
void YQPackageSelector::pkgExport |
( |
| ) |
|
|
slot |
void YQPackageSelector::pkgImport |
( |
| ) |
|
|
slot |
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.
void YQPackageSelector::saveSettings |
( |
| ) |
|
|
slot |
void YQPackageSelector::showHistory |
( |
| ) |
|
|
protectedslot |
void YQPackageSelector::showProducts |
( |
| ) |
|
|
protectedslot |
void YQPackageSelector::slotRepoUpgradeLabelLinkClicked |
( |
const QString & |
link | ) |
|
|
protectedslot |
void YQPackageSelector::symbolHelp |
( |
| ) |
|
|
slot |
QString YQPackageSelector::symHelp |
( |
const QString & |
imgFileName, |
|
|
const QString & |
summary, |
|
|
const QString & |
explanation |
|
) |
| |
|
protected |
void YQPackageSelector::updateRepositoryUpgradeLabel |
( |
| ) |
|
|
slot |
The documentation for this class was generated from the following files: