libyui-qt-pkg  2.42.13
 All Classes Functions Variables Enumerations
YQPkgSelDescriptionView Class Reference

Display the description of a zypp::ResObject derived object along with its name and summary. More...

#include <YQPkgSelDescriptionView.h>

Inheritance diagram for YQPkgSelDescriptionView:
Collaboration diagram for YQPkgSelDescriptionView:

Public Member Functions

 YQPkgSelDescriptionView (QWidget *parent)
 
virtual ~YQPkgSelDescriptionView ()
 
virtual void showDetails (ZyppSel selectable)
 
- Public Member Functions inherited from YQPkgDescriptionView
 YQPkgDescriptionView (QWidget *parent, bool showSupportability=true)
 
virtual ~YQPkgDescriptionView ()
 
virtual void setSource (const QUrl &name)
 
- Public Member Functions inherited from YQPkgGenericDetailsView
virtual QSize minimumSizeHint () const
 

Protected Member Functions

QString htmlHeading (ZyppSel selectable)
 
QString findIcon (const QString &icon) const
 
- Protected Member Functions inherited from YQPkgDescriptionView
QString simpleHtmlParagraphs (QString text)
 
void showLink (const QUrl &url)
 
QString applicationIconList (const list< string > &fileList) const
 
QString findDesktopIcon (const QString &iconName) const
 
QMap< QString, QString > readDesktopFile (const QString &fileName) const
 
QStringList findDesktopFiles (const list< string > &fileList) const
 
void initLang ()
 
- 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 the description of a zypp::ResObject derived object along with its name and summary.

Definition at line 51 of file YQPkgSelDescriptionView.h.

Constructor & Destructor Documentation

YQPkgSelDescriptionView::YQPkgSelDescriptionView ( QWidget *  parent)

Constructor

Definition at line 57 of file YQPkgSelDescriptionView.cc.

YQPkgSelDescriptionView::~YQPkgSelDescriptionView ( )
virtual

Destructor

Definition at line 63 of file YQPkgSelDescriptionView.cc.

Member Function Documentation

QString YQPkgSelDescriptionView::findIcon ( const QString &  icon) const
protected

Check if 'icon' exists. Returns 'icon' if it exists and an empty string if it doesn't exist.

Definition at line 186 of file YQPkgSelDescriptionView.cc.

QString YQPkgSelDescriptionView::htmlHeading ( ZyppSel  selectable)
protected

Format the heading in HTML

Definition at line 96 of file YQPkgSelDescriptionView.cc.

Here is the call graph for this function:

void YQPkgSelDescriptionView::showDetails ( ZyppSel  selectable)
virtual

Show details for the specified package: In this case the package description. Overwritten from YQPkgGenericDetailsView.

Reimplemented from YQPkgDescriptionView.

Definition at line 70 of file YQPkgSelDescriptionView.cc.

Here is the call graph for this function:


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