libyui-qt-pkg  2.42.5
 All Classes Functions Variables Enumerations
YQPackageSelector Class Reference
Inheritance diagram for YQPackageSelector:
Collaboration diagram for YQPackageSelector:

Public Slots

int manualResolvePackageDependencies ()
 
void autoResolveDependencies ()
 
void pkgExport ()
 
void pkgImport ()
 
void installDevelPkgs ()
 
void installDebugInfoPkgs ()
 
void installDebugSourcePkgs ()
 
void installSubPkgs (const QString &suffix)
 
void pkgExcludeDebugChanged (bool on)
 
void pkgExcludeDevelChanged (bool on)
 
void pkgVerifySytemModeChanged (bool on)
 
void pkgIgnoreAlreadyRecommendedChanged (bool on)
 
void pkgCleanDepsOnRemoveChanged (bool on)
 
void pkgAllowVendorChangeChanged (bool on)
 
void help ()
 
void symbolHelp ()
 
void keyboardHelp ()
 
void updateRepositoryUpgradeLabel ()
 
void loadSettings ()
 
void saveSettings ()
 
- Public Slots inherited from YQPackageSelectorBase
int resolveDependencies ()
 
int verifySystem ()
 
int checkDiskUsage ()
 
void showAutoPkgList ()
 
bool reject ()
 
void accept ()
 
void repoManager ()
 
void onlineUpdateConfiguration ()
 
void webpinSearch ()
 
void notImplemented ()
 

Signals

void loadData ()
 
void refresh ()
 
- Signals inherited from YQPackageSelectorBase
void resolvingStarted ()
 
void resolvingFinished ()
 

Public Member Functions

 YQPackageSelector (YWidget *parent, long modeFlags=0)
 
- Public Member Functions inherited from YQPackageSelectorBase
virtual void setEnabling (bool enabled)
 
virtual int preferredWidth ()
 
virtual int preferredHeight ()
 
virtual void setSize (int newWidth, int newHeight)
 
virtual bool setKeyboardFocus ()
 

Static Public Member Functions

static std::string iconPath (const std::string &name, int size)
 

Protected Slots

void addPatchFilterView ()
 
void hotkeyInsertPatchFilterView ()
 
void globalUpdatePkg ()
 
void globalUpdatePkgForce ()
 
void showProducts ()
 
void showHistory ()
 
void slotRepoUpgradeLabelLinkClicked (const QString &link)
 
- Protected Slots inherited from YQPackageSelectorBase
void resetIgnoredDependencyProblems ()
 

Protected Member Functions

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)
 
- Protected Member Functions inherited from YQPackageSelectorBase
 YQPackageSelectorBase (YWidget *parent, long modeFlags=0)
 
virtual ~YQPackageSelectorBase ()
 
bool showPendingLicenseAgreements ()
 
bool showPendingLicenseAgreements (ZyppPoolIterator begin, ZyppPoolIterator end)
 
virtual void keyPressEvent (QKeyEvent *ev)
 

Static Protected Member Functions

static QString para (const QString &text)
 
static QString listItem (const QString &text)
 

Protected Attributes

QAction * _autoDependenciesAction
 
QPushButton * _checkDependenciesButton
 
QTabWidget * _detailsViews
 
YQPkgFilterTab_filters
 
YQPkgChangeLogView_pkgChangeLogView
 
YQPkgDependenciesView_pkgDependenciesView
 
YQPkgDescriptionView_pkgDescriptionView
 
YQPkgFileListView_pkgFileListView
 
QLabel * _repoUpgradeLabel
 
QLabel * _repoUpgradingLabel
 
QWidget * _notificationsContainer
 
YQPkgRepoFilterView_repoFilterView
 
YQPkgLangList_langList
 
YQPkgList_pkgList
 
YQPkgPatternList_patternList
 
YQPkgPackageKitGroupsFilterView_packageKitGroupsFilterView
 
YQPkgRpmGroupTagsFilterView_rpmGroupTagsFilterView
 
YQPkgSearchFilterView_searchFilterView
 
YQPkgStatusFilterView_statusFilterView
 
YQPkgTechnicalDetailsView_pkgTechnicalDetailsView
 
YQPkgUpdateProblemFilterView_updateProblemFilterView
 
YQPkgVersionsView_pkgVersionsView
 
YQPkgPatchFilterView_patchFilterView
 
YQPkgPatchList_patchList
 
QMenuBar * _menuBar
 
QMenu * _fileMenu
 
QMenu * _pkgMenu
 
QMenu * _patchMenu
 
QMenu * _configMenu
 
QMenu * _dependencyMenu
 
QMenu * _optionsMenu
 
QMenu * _extrasMenu
 
QMenu * _helpMenu
 
QAction * _showDevelAction
 
QAction * _showDebugAction
 
QAction * _verifySystemModeAction
 
QAction * _ignoreAlreadyRecommendAction
 
QAction * _cleanDepsOnRemoveAction
 
QAction * _allowVendorChangeAction
 
YQPkgObjList::ExcludeRule_excludeDevelPkgs
 
YQPkgObjList::ExcludeRule_excludeDebugInfoPkgs
 
QColor _normalButtonBackground
 
- Protected Attributes inherited from YQPackageSelectorBase
YQPkgSelWmCloseHandler_wmCloseHandler
 
bool _showChangesDialog
 
YQPkgConflictDialog_pkgConflictDialog
 
YQPkgDiskUsageList_diskUsageList
 
QAction * _actionResetIgnoredDependencyProblems
 

Detailed Description

Definition at line 85 of file YQPackageSelector.h.

Member Function Documentation

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.

Here is the call graph for this function:

void YQPackageSelector::addPatchFilterView ( )
protectedslot

Add the "Patches" filter view, if it is not already there.

Definition at line 1111 of file YQPackageSelector.cc.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

void YQPackageSelector::connectPatchList ( )
protected

Connect the patch list. Caution: Possible bootstrap problem!

Definition at line 1149 of file YQPackageSelector.cc.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

void YQPackageSelector::help ( )
slot

Display (generic) online help.

Definition at line 58 of file YQPackageSelectorHelp.cc.

Here is the call graph for this function:

void YQPackageSelector::hotkeyInsertPatchFilterView ( )
protectedslot

Add the "Patches" filter view upon hotkey (F2).

Definition at line 1128 of file YQPackageSelector.cc.

Here is the call graph for this function:

std::string YQPackageSelector::iconPath ( const std::string &  name,
int  size 
)
static

returns the full path for an icon of a given size

Definition at line 266 of file YQPackageSelector.cc.

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

void YQPackageSelector::keyboardHelp ( )
slot

Display online help about magic keys.

Definition at line 261 of file YQPackageSelectorHelp.cc.

Here is the call graph for this function:

QString YQPackageSelector::keyHelp ( const QString &  key,
const QString &  summary,
const QString &  explanation 
)
protected

Return HTML code describing a key.

Definition at line 339 of file YQPackageSelectorHelp.cc.

QString YQPackageSelector::listItem ( const QString &  text)
staticprotected

Basic HTML formatting: Embed text into ...

Definition at line 366 of file YQPackageSelectorHelp.cc.

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

loads settings for the checkboxes in the option menu

Definition at line 1706 of file YQPackageSelector.cc.

Here is the call graph for this function:

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.

Here is the call graph for this function:

int YQPackageSelector::manualResolvePackageDependencies ( )
slot

Resolve package dependencies manually.

Returns QDialog::Accepted or QDialog::Rejected.

Definition at line 1084 of file YQPackageSelector.cc.

Here is the call graph for this function:

QString YQPackageSelector::para ( const QString &  text)
staticprotected

Basic HTML formatting: Embed text into

...

Definition at line 359 of file YQPackageSelectorHelp.cc.

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.

Here is the call graph for this function:

void YQPackageSelector::pkgExport ( )
slot

Export all current selection/package states

Definition at line 1175 of file YQPackageSelector.cc.

void YQPackageSelector::pkgImport ( )
slot

Import selection/package states

Definition at line 1229 of file YQPackageSelector.cc.

Here is the call graph for this function:

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

saves settings of the checkboxes in the option menu

Definition at line 1746 of file YQPackageSelector.cc.

void YQPackageSelector::showHistory ( )
protectedslot

Show dialog for pkgmgr history

Definition at line 1524 of file YQPackageSelector.cc.

Here is the call graph for this function:

void YQPackageSelector::showProducts ( )
protectedslot

Show all products in a popup dialog.

Definition at line 1517 of file YQPackageSelector.cc.

Here is the call graph for this function:

void YQPackageSelector::slotRepoUpgradeLabelLinkClicked ( const QString &  link)
protectedslot

a link in the repo upgrade label was clicked

Definition at line 1486 of file YQPackageSelector.cc.

Here is the call graph for this function:

void YQPackageSelector::symbolHelp ( )
slot

Display online help about symbols (package status icons).

Definition at line 153 of file YQPackageSelectorHelp.cc.

Here is the call graph for this function:

QString YQPackageSelector::symHelp ( const QString &  imgFileName,
const QString &  summary,
const QString &  explanation 
)
protected

Return HTML code describing a symbol (an icon).

Definition at line 245 of file YQPackageSelectorHelp.cc.

void YQPackageSelector::updateRepositoryUpgradeLabel ( )
slot

hides or shows the repository upgrade message

Definition at line 1438 of file YQPackageSelector.cc.

Here is the call graph for this function:


The documentation for this class was generated from the following files: