42 #ifndef YQPackageSelector_h
43 #define YQPackageSelector_h
49 #include "YQPackageSelectorBase.h"
50 #include "YQPkgObjList.h"
63 class QY2ComboTabWidget;
150 void pkgExcludeDevelChanged(
bool on );
156 void pkgVerifySytemModeChanged(
bool on );
161 void pkgIgnoreAlreadyRecommendedChanged(
bool on );
166 void pkgCleanDepsOnRemoveChanged(
bool on );
171 void pkgAllowVendorChangeChanged(
bool on );
267 static std::string
iconPath(
const std::string &name,
int size );
275 QWidget * layoutRightPane ( QWidget *parent );
276 void layoutFilters ( QWidget *parent );
277 void layoutPkgList ( QWidget *parent );
278 void layoutDetailsViews ( QWidget *parent );
279 void layoutButtons ( QWidget *parent );
280 void layoutMenuBar ( QWidget *parent );
308 bool hasUpdateSignal =
true );
339 QString
symHelp(
const QString & imgFileName,
340 const QString & summary,
341 const QString & explanation );
347 QString
keyHelp(
const QString & key,
348 const QString & summary,
349 const QString & explanation );
354 static QString
para(
const QString & text );
359 static QString
listItem(
const QString & text );
364 QAction * _autoDependenciesAction;
365 QPushButton * _checkDependenciesButton;
366 QTabWidget * _detailsViews;
372 QLabel * _repoUpgradeLabel;
373 QLabel * _repoUpgradingLabel;
374 QWidget * _notificationsContainer;
394 QMenu * _dependencyMenu;
395 QMenu * _optionsMenu;
399 QAction *_showDevelAction;
400 QAction *_showDebugAction;
401 QAction *_verifySystemModeAction;
402 QAction *_ignoreAlreadyRecommendAction;
403 QAction *_cleanDepsOnRemoveAction;
404 QAction *_allowVendorChangeAction;
409 QColor _normalButtonBackground;
414 #endif // YQPackageSelector_h
Display the description of a ZyppObj derived object along with its name and summary.
void addPatchFilterView()
Add the "Patches" filter view, if it is not already there.
Display a list of zypp::Patch objects.
void loadData()
Emitted once (!) when the dialog is about to be shown, when all widgets are created and all signal/sl...
Display a list of zypp::Selection objects.
void globalUpdatePkg()
Set the status of all installed packages (all in the pool, not only those currently displayed in the ...
void connectFilter(QWidget *filter, QWidget *pkgList, bool hasUpdateSignal=true)
Connect a filter view that provides the usual signals with a package list.
Filter view for PackageKit groups.
void showProducts()
Show all products in a popup dialog.
Filter view for packages that made problems during update.
Widget for "tabbed browsing" in packages:
void importSelectable(ZyppSel selectable, bool isWanted, const char *kind)
Import one selectable: Set its status according to 'isWanted' based on its old status.
void updateRepositoryUpgradeLabel()
hides or shows the repository upgrade message
QString keyHelp(const QString &key, const QString &summary, const QString &explanation)
Return HTML code describing a key.
QString symHelp(const QString &imgFileName, const QString &summary, const QString &explanation)
Return HTML code describing a symbol (an icon).
void saveSettings()
saves settings of the checkboxes in the option menu
int manualResolvePackageDependencies()
Resolve package dependencies manually.
void keyboardHelp()
Display online help about magic keys.
Display a list of zypp::Patch objects and ( below ) details about the currently selected patch...
void slotRepoUpgradeLabelLinkClicked(const QString &link)
a link in the repo upgrade label was clicked
Display a pkg's file list.
static std::string iconPath(const std::string &name, int size)
returns the full path for an icon of a given size
Display a list of zypp::Package objects.
Display a list of zypp::Pattern objects.
Filter view for searching within packages.
void symbolHelp()
Display online help about symbols (package status icons).
void installDebugInfoPkgs()
Install available -debuginfo packages for packages that are installed or marked for installation...
void connectPatchList()
Connect the patch list.
Display technical details (very much like 'rpm -qi') for a ZYPP object - the installed instance...
void pkgExport()
Export all current selection/package states.
static QString listItem(const QString &text)
Basic HTML formatting: Embed text into ...
Filter view for packages that made problems during update.
void help()
Display (generic) online help.
Package version selector: Display a list of available versions from all the different installation so...
void autoResolveDependencies()
Automatically resolve package dependencies if desired (if the "auto check" checkbox is on)...
static QString para(const QString &text)
Basic HTML formatting: Embed text into.
void addMenus()
Add pulldown menus to the menu bar.
Display a list of zypp::Selection objects.
void installDevelPkgs()
Install any -devel package for packages that are installed or marked for installation.
void loadSettings()
loads settings for the checkboxes in the option menu
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...
Abstract base class for package selectors.
void hotkeyInsertPatchFilterView()
Add the "Patches" filter view upon hotkey (F2).
void installSubPkgs(const QString &suffix)
Install any subpackage that ends with 'suffix' for packages that are installed or marked for installa...
void makeConnections()
Establish Qt signal / slot connections.
Display technical details ( very much like 'rpm -qi' ) for a zypp::Package object - the installed ins...
void showHistory()
Show dialog for pkgmgr history.
void pkgImport()
Import selection/package states.
void pkgExcludeDebugChanged(bool on)
Enable or disable the package exclude rules (show or suppress -debuginfo or -devel packages) accordin...
void globalUpdatePkgForce()
Set the status of all installed packages (all in the pool, not only those currently displayed in the ...
Display a pkg's file list.