libyui-qt-pkg
2.42.13
|
Display the description of a ZyppObj derived object along with its name and summary. More...
#include <YQPkgDescriptionView.h>
Public Member Functions | |
YQPkgDescriptionView (QWidget *parent, bool showSupportability=true) | |
virtual | ~YQPkgDescriptionView () |
virtual void | showDetails (ZyppSel selectable) |
virtual void | setSource (const QUrl &name) |
![]() | |
virtual QSize | minimumSizeHint () const |
Protected Member Functions | |
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 () |
![]() | |
YQPkgGenericDetailsView (QWidget *parent) | |
virtual | ~YQPkgGenericDetailsView () |
Additional Inherited Members | |
![]() | |
void | showDetailsIfVisible (ZyppSel selectable) |
![]() | |
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 | reload (QWidget *newCurrent) |
virtual void | reload () |
![]() | |
QTabWidget * | _parentTab |
ZyppSel | _selectable |
Display the description of a ZyppObj derived object along with its name and summary.
Definition at line 55 of file YQPkgDescriptionView.h.
YQPkgDescriptionView::YQPkgDescriptionView | ( | QWidget * | parent, |
bool | showSupportability = true |
||
) |
Constructor
Definition at line 72 of file YQPkgDescriptionView.cc.
|
virtual |
Destructor
Definition at line 81 of file YQPkgDescriptionView.cc.
|
protected |
Return html text that contains a list of application icons.
Definition at line 232 of file YQPkgDescriptionView.cc.
|
protected |
Search for all desktop files in a file list.
Definition at line 330 of file YQPkgDescriptionView.cc.
|
protected |
Find absolute file name (incl. path) for a icon.
Definition at line 273 of file YQPkgDescriptionView.cc.
|
protected |
Initialize the language code (lang).
Definition at line 347 of file YQPkgDescriptionView.cc.
|
protected |
Extract name, icon and exec attributes from a desktop file.
Definition at line 291 of file YQPkgDescriptionView.cc.
|
virtual |
Get the document pointed to by a hyperlink.
Reimplemented from QTextBrowser to avoid having an empty text each time the user clicks on a hyperlink.
Definition at line 225 of file YQPkgDescriptionView.cc.
|
virtual |
Show details for the specified package: In this case the package description. Overwritten from YQPkgGenericDetailsView.
Implements YQPkgGenericDetailsView.
Reimplemented in YQPkgSelDescriptionView.
Definition at line 88 of file YQPkgDescriptionView.cc.
|
protected |
Show information for a hyperlinked object, e.g., a "pkg:somepkg" link to another package.
Definition at line 208 of file YQPkgDescriptionView.cc.
|
protected |
Format a multi-line text into paragraphs
Definition at line 156 of file YQPkgDescriptionView.cc.