libyui-qt-pkg
2.45.15
|
Display the description of a zypp::ResObject derived object along with its name and summary. More...
#include <YQPkgSelDescriptionView.h>
Public Member Functions | |
YQPkgSelDescriptionView (QWidget *parent) | |
Constructor. | |
virtual | ~YQPkgSelDescriptionView () |
Destructor. | |
virtual void | showDetails (ZyppSel selectable) |
Show details for the specified package: In this case the package description. More... | |
![]() | |
YQPkgDescriptionView (QWidget *parent, bool showSupportability=true) | |
Constructor. | |
virtual | ~YQPkgDescriptionView () |
Destructor. | |
virtual void | setSource (const QUrl &name) |
Get the document pointed to by a hyperlink. More... | |
![]() | |
virtual QSize | minimumSizeHint () const |
Returns the minimum size required for this widget. More... | |
Protected Member Functions | |
QString | htmlHeading (ZyppSel selectable) |
Format the heading in HTML. | |
QString | findIcon (const QString &icon) const |
Check if 'icon' exists. More... | |
![]() | |
QString | simpleHtmlParagraphs (QString text) |
Format a multi-line text into paragraphs. | |
void | showLink (const QUrl &url) |
Show information for a hyperlinked object, e.g., a "pkg:somepkg" link to another package. | |
QString | applicationIconList (const list< string > &fileList) const |
Return html text that contains a list of application icons. | |
QString | findDesktopIcon (const QString &iconName) const |
Find absolute file name (incl. More... | |
QMap< QString, QString > | readDesktopFile (const QString &fileName) const |
Extract name, icon and exec attributes from a desktop file. | |
QStringList | findDesktopFiles (const list< string > &fileList) const |
Search for all desktop files in a file list. | |
void | initLang () |
Initialize the language code (lang). | |
![]() | |
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 the description of a zypp::ResObject derived object along with its name and summary.
Definition at line 51 of file YQPkgSelDescriptionView.h.
|
protected |
Check if 'icon' exists.
Returns 'icon' if it exists and an empty string if it doesn't exist.
Definition at line 179 of file YQPkgSelDescriptionView.cc.
|
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.