42 #ifndef YQPackageSelector_h
43 #define YQPackageSelector_h
49 #include "YQPackageSelectorBase.h"
50 #include "YQPkgObjList.h"
63 class QY2ComboTabWidget;
155 void pkgExcludeDevelChanged(
bool on );
161 void pkgVerifySytemModeChanged(
bool on );
166 void pkgInstallRecommendedChanged(
bool on );
172 void pkgCleanDepsOnRemoveChanged(
bool on );
177 void pkgAllowVendorChangeChanged(
bool on );
287 QWidget * layoutRightPane ( QWidget *parent );
288 void layoutFilters ( QWidget *parent );
289 void layoutPkgList ( QWidget *parent );
290 void layoutDetailsViews ( QWidget *parent );
291 void layoutButtons ( QWidget *parent );
292 void layoutMenuBar ( QWidget *parent );
320 bool hasUpdateSignal =
true );
355 QString
symHelp(
const QString & imgFileName,
356 const QString & summary,
357 const QString & explanation );
363 QString
keyHelp(
const QString & key,
364 const QString & summary,
365 const QString & explanation );
380 static QString
para(
const QString & text );
385 static QString
listItem(
const QString & text );
390 QAction * _autoDependenciesAction;
391 QPushButton * _checkDependenciesButton;
392 QTabWidget * _detailsViews;
398 QLabel * _repoUpgradeLabel;
399 QLabel * _repoUpgradingLabel;
400 QWidget * _notificationsContainer;
420 QMenu * _dependencyMenu;
421 QMenu * _optionsMenu;
425 QAction * _showDevelAction;
426 QAction * _showDebugAction;
427 QAction * _verifySystemModeAction;
428 QAction * _installRecommendedAction;
429 QAction * _cleanDepsOnRemoveAction;
430 QAction * _allowVendorChangeAction;
435 QColor _normalButtonBackground;
440 #endif // YQPackageSelector_h
void installRecommendedPkgs()
Install recommended packages for packages that are installed.
void pkgExcludeDebugChanged(bool on)
Enable or disable the package exclude rules (show or suppress -debuginfo or -devel packages) accordin...
void makeConnections()
Establish Qt signal / slot connections.
Display technical details (very much like 'rpm -qi') for a ZYPP object - the installed instance,...
void loadCommonSettings()
loads settings that are shared with other frontends
void globalUpdatePkg()
Set the status of all installed packages (all in the pool, not only those currently displayed in the ...
void normalCursor()
Show the standard cursor (arrow)
Display a list of zypp::Selection objects.
Package version selector: Display a list of available versions from all the different installation so...
void globalUpdatePkgForce()
Set the status of all installed packages (all in the pool, not only those currently displayed in the ...
void saveCommonSettings()
saves settings that are shared with other frontends
void saveSettings()
saves settings of the checkboxes in the option menu
A widget to display a libzypp servic filter view.
bool anyRetractedPkgInstalled()
Return 'true' if any selectable has any retracted package version installed.
void slotRepoUpgradeLabelLinkClicked(const QString &link)
a link in the repo upgrade label was clicked
void updateRepositoryUpgradeLabel()
hides or shows the repository upgrade message
void connectFilter(QWidget *filter, QWidget *pkgList, bool hasUpdateSignal=true)
Connect a filter view that provides the usual signals with a package list.
QString keyHelp(const QString &key, const QString &summary, const QString &explanation)
Return HTML code describing a key.
Display technical details ( very much like 'rpm -qi' ) for a zypp::Package object - the installed ins...
QString symHelp(const QString &imgFileName, const QString &summary, const QString &explanation)
Return HTML code describing a symbol (an icon).
void showProducts()
Show all products in a popup dialog.
void busyCursor()
Show the busy cursor (clock)
void installDebugInfoPkgs()
Install available -debuginfo packages for packages that are installed or marked for installation.
void importSelectable(ZyppSel selectable, bool isWanted, const char *kind)
Import one selectable: Set its status according to 'isWanted' based on its old status.
void keyboardHelp()
Display online help about magic keys.
int manualResolvePackageDependencies()
Resolve package dependencies manually.
Display a list of zypp::Pattern objects.
void symbolHelp()
Display online help about symbols (package status icons).
void connectPatchList()
Connect the patch list.
void pkgExport()
Export all current selection/package states.
static QString para(const QString &text)
Basic HTML formatting: Embed text into.
static QString listItem(const QString &text)
Basic HTML formatting: Embed text into ...
Display a list of zypp::Selection objects.
Filter view for searching within packages.
Display the description of a ZyppObj derived object along with its name and summary.
Display a pkg's file list.
Filter view for package classes (categories) like suggested, recommended, orphaned etc.
Display a list of zypp::Package objects.
void refresh()
Emitted when the internal data base might have changed and a refresh of all displayed data might be n...
void installDebugSourcePkgs()
Install available -debugsource packages for packages that are installed or marked for installation.
Display a list of zypp::Patch objects.
void help()
Display (generic) online help.
void installDevelPkgs()
Install any -devel package for packages that are installed or marked for installation.
void hotkeyInsertPatchFilterView()
Add the "Patches" filter view upon hotkey (F2).
void autoResolveDependencies()
Automatically resolve package dependencies if desired (if the "auto check" checkbox is on).
Filter view for packages that made problems during update.
Filter view for packages that made problems during update.
Display a pkg's file list.
void addMenus()
Add pulldown menus to the menu bar.
void installSubPkgs(const QString &suffix)
Install any subpackage that ends with 'suffix' for packages that are installed or marked for installa...
void showHistory()
Show dialog for pkgmgr history.
Display a list of zypp::Patch objects and ( below ) details about the currently selected patch.
void loadSettings()
loads settings for the checkboxes in the option menu
void loadData()
Emitted once (!) when the dialog is about to be shown, when all widgets are created and all signal/sl...
Abstract base class for package selectors.
Widget for "tabbed browsing" in packages:
void pkgImport()
Import selection/package states.
void addPatchFilterView()
Add the "Patches" filter view, if it is not already there.