Display technical details ( very much like 'rpm -qi' ) for a zypp::Package object - the installed instance, the candidate instance or both ( in two columns ) if both exist. All other available instances are ignored.
More...
#include <YQPkgDependenciesView.h>
|
static QString | row (const QString &heading, const zypp::Capabilities &capSet) |
|
static QString | row (const QString &heading, const zypp::Capabilities &capSet1, const zypp::Capabilities &capSet2) |
|
static QString | row (const QString &contents) |
|
static QString | htmlLines (const zypp::Capabilities &capSet) |
|
|
void | showDetailsIfVisible (ZyppSel selectable) |
|
virtual void | showDetails (ZyppSel selectable)=0 |
|
static QString | htmlStart () |
|
static QString | htmlEnd () |
|
static QString | htmlHeading (ZyppSel selectable, bool showVersion=false) |
|
static QString | htmlEscape (const QString &plainText) |
|
static QString | table (const QString &contents) |
|
static QString | row (const QString &contents) |
|
static QString | cell (QString contents) |
|
static QString | cell (int contents) |
|
static QString | cell (const string &contents) |
|
static QString | cell (const zypp::Date &date) |
|
static QString | hcell (QString contents) |
|
void | reloadTab (int newCurrent) |
|
virtual void | reload () |
|
QTabWidget * | _parentTab |
|
ZyppSel | _selectable |
|
Display technical details ( very much like 'rpm -qi' ) for a zypp::Package object - the installed instance, the candidate instance or both ( in two columns ) if both exist. All other available instances are ignored.
◆ YQPkgDependenciesView()
YQPkgDependenciesView::YQPkgDependenciesView |
( |
QWidget * |
parent | ) |
|
◆ ~YQPkgDependenciesView()
YQPkgDependenciesView::~YQPkgDependenciesView |
( |
| ) |
|
|
virtual |
◆ complexTable()
QString YQPkgDependenciesView::complexTable |
( |
ZyppObj |
installed, |
|
|
ZyppObj |
candidate |
|
) |
| |
|
protected |
Returns a string containing a HTML table for technical details for two package instances: The installed instance and an alternate instance. (usually the candidate instance).
◆ htmlLines()
QString YQPkgDependenciesView::htmlLines |
( |
const zypp::Capabilities & |
capSet | ) |
|
|
staticprotected |
Format a zypp::Capabilities (describing zypp::Dep::REQUIRES etc.) in HTML lines, separated with
. Returns an empty string if capSet is empty.
◆ row() [1/3]
static QString YQPkgDependenciesView::row |
( |
const QString & |
contents | ) |
|
|
inlinestaticprotected |
Returns a string containing a HTML table row with 'contents'.
Required here to avoid inheritance ambiguities.
◆ row() [2/3]
QString YQPkgDependenciesView::row |
( |
const QString & |
heading, |
|
|
const zypp::Capabilities & |
capSet |
|
) |
| |
|
staticprotected |
Format a zypp::CapSet (describing zypp::Dep::REQUIRES etc.) with a heading in HTML lines.
Returns an empty string if capSet is empty.
◆ row() [3/3]
QString YQPkgDependenciesView::row |
( |
const QString & |
heading, |
|
|
const zypp::Capabilities & |
capSet1, |
|
|
const zypp::Capabilities & |
capSet2 |
|
) |
| |
|
staticprotected |
Format two zypp::Capabilities (describing zypp::Dep::REQUIRES etc.) with a heading in HTML lines.
Returns an empty string both capSets are empty.
◆ showDetails()
void YQPkgDependenciesView::showDetails |
( |
ZyppSel |
selectable | ) |
|
|
protectedvirtual |
◆ simpleTable()
QString YQPkgDependenciesView::simpleTable |
( |
ZyppObj |
pkg | ) |
|
|
protected |
Returns a string containing a HTML table for technical details for one package.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPkgDependenciesView.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPkgDependenciesView.cc