libyui-qt-pkg  2.42.5
 All Classes Functions Variables Enumerations
YQPkgTechnicalDetailsView Class Reference

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. More...

#include <YQPkgTechnicalDetailsView.h>

Inheritance diagram for YQPkgTechnicalDetailsView:
Collaboration diagram for YQPkgTechnicalDetailsView:

Public Member Functions

 YQPkgTechnicalDetailsView (QWidget *parent)
 
virtual ~YQPkgTechnicalDetailsView ()
 
- Public Member Functions inherited from YQPkgGenericDetailsView
virtual QSize minimumSizeHint () const
 

Protected Member Functions

virtual void showDetails (ZyppSel selectable)
 
QString simpleTable (ZyppSel selectable, ZyppPkg pkg)
 
QString complexTable (ZyppSel selectable, ZyppPkg installedPkg, ZyppPkg candidatePkg)
 
QString authorsListCell (ZyppPkg pkg) const
 
QString formatRpmGroup (ZyppPkg pkg) const
 
- Protected Member Functions inherited from YQPkgGenericDetailsView
 YQPkgGenericDetailsView (QWidget *parent)
 
virtual ~YQPkgGenericDetailsView ()
 

Additional Inherited Members

- Public Slots inherited from YQPkgGenericDetailsView
void showDetailsIfVisible (ZyppSel selectable)
 
- Static Public Member Functions inherited from YQPkgGenericDetailsView
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)
 
- Protected Slots inherited from YQPkgGenericDetailsView
void reload (QWidget *newCurrent)
 
virtual void reload ()
 
- Protected Attributes inherited from YQPkgGenericDetailsView
QTabWidget * _parentTab
 
ZyppSel _selectable
 

Detailed Description

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.

Constructor & Destructor Documentation

YQPkgTechnicalDetailsView::YQPkgTechnicalDetailsView ( QWidget *  parent)

Constructor

Definition at line 55 of file YQPkgTechnicalDetailsView.cc.

YQPkgTechnicalDetailsView::~YQPkgTechnicalDetailsView ( )
virtual

Destructor

Definition at line 61 of file YQPkgTechnicalDetailsView.cc.

Member Function Documentation

QString YQPkgTechnicalDetailsView::authorsListCell ( ZyppPkg  pkg) const
protected

Returns a string containing HTML code for a package's authors list.

Definition at line 107 of file YQPkgTechnicalDetailsView.cc.

Here is the call graph for this function:

QString YQPkgTechnicalDetailsView::complexTable ( ZyppSel  selectable,
ZyppPkg  installedPkg,
ZyppPkg  candidatePkg 
)
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.

Here is the call graph for this function:

QString YQPkgTechnicalDetailsView::formatRpmGroup ( ZyppPkg  pkg) const
protected

Format an RPM group. Retrieves the translated ( ! ) version.

Definition at line 129 of file YQPkgTechnicalDetailsView.cc.

void YQPkgTechnicalDetailsView::showDetails ( ZyppSel  selectable)
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.

Here is the call graph for this function:

QString YQPkgTechnicalDetailsView::simpleTable ( ZyppSel  selectable,
ZyppPkg  pkg 
)
protected

Returns a string containing a HTML table for technical details for one package.

Definition at line 149 of file YQPkgTechnicalDetailsView.cc.

Here is the call graph for this function:


The documentation for this class was generated from the following files: