42 #ifndef YQPackageSelector_h 43 #define YQPackageSelector_h 49 #include "YQPackageSelectorBase.h" 50 #include "YQPkgObjList.h" 63 class QY2ComboTabWidget;
156 void pkgExcludeDevelChanged(
bool on );
162 void pkgVerifySytemModeChanged(
bool on );
167 void pkgInstallRecommendedChanged(
bool on );
172 void pkgCleanDepsOnRemoveChanged(
bool on );
177 void pkgAllowVendorChangeChanged(
bool on );
216 void loadCommonSettings();
221 void saveCommonSettings();
295 static std::string
iconPath(
const std::string &name,
int size );
303 QWidget * layoutRightPane ( QWidget *parent );
304 void layoutFilters ( QWidget *parent );
305 void layoutPkgList ( QWidget *parent );
306 void layoutDetailsViews ( QWidget *parent );
307 void layoutButtons ( QWidget *parent );
308 void layoutMenuBar ( QWidget *parent );
336 bool hasUpdateSignal =
true );
367 QString
symHelp(
const QString & imgFileName,
368 const QString & summary,
369 const QString & explanation );
375 QString
keyHelp(
const QString & key,
376 const QString & summary,
377 const QString & explanation );
382 static QString
para(
const QString & text );
387 static QString
listItem(
const QString & text );
392 QAction * _autoDependenciesAction;
393 QPushButton * _checkDependenciesButton;
394 QTabWidget * _detailsViews;
400 QLabel * _repoUpgradeLabel;
401 QLabel * _repoUpgradingLabel;
402 QWidget * _notificationsContainer;
423 QMenu * _dependencyMenu;
424 QMenu * _optionsMenu;
428 QAction *_showDevelAction;
429 QAction *_showDebugAction;
430 QAction *_verifySystemModeAction;
431 QAction *_installRecommendedAction;
432 QAction *_cleanDepsOnRemoveAction;
433 QAction *_allowVendorChangeAction;
438 QColor _normalButtonBackground;
443 #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.
void normalCursor()
Show the standard cursor (arrow)
Filter view for PackageKit groups.
void showProducts()
Show all products in a popup dialog.
void busyCursor()
Show the busy cursor (clock)
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
A widget to display a libzypp servic filter view.
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 installRecommendedPkgs()
Install recommended packages for packages that are installed.
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.