libyui-qt-pkg
2.45.15
|
Display technical details (very much like 'rpm -qi') for a ZYPP object - the installed instance, the candidate instance or both ( in two columns ) if both exist. More...
#include <YQPkgTechnicalDetailsView.h>
Public Member Functions | |
YQPkgTechnicalDetailsView (QWidget *parent) | |
Constructor. | |
virtual | ~YQPkgTechnicalDetailsView () |
Destructor. | |
![]() | |
virtual QSize | minimumSizeHint () const |
Returns the minimum size required for this widget. More... | |
Protected Member Functions | |
virtual void | showDetails (ZyppSel selectable) |
Show details for the specified zypp::ResObject: In this case technical data, very much like "rpm -qi". More... | |
QString | simpleTable (ZyppSel selectable, ZyppPkg pkg) |
Returns a string containing a HTML table for technical details for one package. | |
QString | complexTable (ZyppSel selectable, ZyppPkg installedPkg, ZyppPkg candidatePkg) |
Returns a string containing a HTML table for technical details for two package instances: The installed instance and an alternate instance. More... | |
QString | authorsListCell (ZyppPkg pkg) const |
Returns a string containing HTML code for a package's authors list. | |
QString | formatRpmGroup (ZyppPkg pkg) const |
Format an RPM group. More... | |
![]() | |
YQPkgGenericDetailsView (QWidget *parent) | |
Constructor. | |
virtual | ~YQPkgGenericDetailsView () |
Destructor. | |
Additional Inherited Members | |
![]() | |
void | showDetailsIfVisible (ZyppSel selectable) |
Show details for the specified package. More... | |
![]() | |
static QString | htmlStart () |
starts the html tag and set the style | |
static QString | htmlEnd () |
static QString | htmlHeading (ZyppSel selectable, bool showVersion=false) |
Returns a uniform heading in HTML format for the specified selectable: name and summary or name, version and summary, if 'showVersion' is 'true'. | |
static QString | htmlEscape (const QString &plainText) |
Escapes characters special to HTML in a ( plain text ) string, such as: '<' -> '<' '>' -> '>' '&' -> '&'. More... | |
static QString | table (const QString &contents) |
Returns a string containing a HTML table with 'contents'. | |
static QString | row (const QString &contents) |
Returns a string containing a HTML table row with 'contents'. | |
static QString | cell (QString contents) |
Returns a string containing a HTML table cell with 'contents'. | |
static QString | cell (int contents) |
static QString | cell (const string &contents) |
static QString | cell (const zypp::Date &date) |
static QString | hcell (QString contents) |
Returns a string containing a HTML table cell with 'contents' for table headers. | |
![]() | |
void | reloadTab (int newCurrent) |
Show data for the last package. | |
virtual void | reload () |
![]() | |
QTabWidget * | _parentTab |
ZyppSel | _selectable |
Display technical details (very much like 'rpm -qi') for a ZYPP object - the installed instance, the candidate instance or both ( in two columns ) if both exist.
All other available instances are ignored.
Definition at line 52 of file YQPkgTechnicalDetailsView.h.
|
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 ).
Definition at line 182 of file YQPkgTechnicalDetailsView.cc.
|
protected |
Format an RPM group.
Retrieves the translated ( ! ) version.
Definition at line 129 of file YQPkgTechnicalDetailsView.cc.
|
protectedvirtual |
Show details for the specified zypp::ResObject: In this case technical data, very much like "rpm -qi".
Overwritten from YQPkgGenericDetailsView.
Implements YQPkgGenericDetailsView.
Definition at line 68 of file YQPkgTechnicalDetailsView.cc.