Display the description of a ZyppObj derived object along with its name and summary.
More...
#include <YQPkgDescriptionView.h>
|
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 | reloadTab (int newCurrent) |
|
virtual void | reload () |
|
QTabWidget * | _parentTab |
|
ZyppSel | _selectable |
|
Display the description of a ZyppObj derived object along with its name and summary.
◆ YQPkgDescriptionView()
YQPkgDescriptionView::YQPkgDescriptionView |
( |
QWidget * | parent, |
|
|
bool | showSupportability = true ) |
◆ ~YQPkgDescriptionView()
YQPkgDescriptionView::~YQPkgDescriptionView |
( |
| ) |
|
|
virtual |
◆ applicationIconList()
QString YQPkgDescriptionView::applicationIconList |
( |
const list< string > & | fileList | ) |
const |
|
protected |
Return html text that contains a list of application icons.
◆ findDesktopFiles()
QStringList YQPkgDescriptionView::findDesktopFiles |
( |
const list< string > & | fileList | ) |
const |
|
protected |
Search for all desktop files in a file list.
◆ findDesktopIcon()
QString YQPkgDescriptionView::findDesktopIcon |
( |
const QString & | iconName | ) |
const |
|
protected |
Find absolute file name (incl. path) for a icon.
◆ initLang()
void YQPkgDescriptionView::initLang |
( |
| ) |
|
|
protected |
Initialize the language code (lang).
◆ readDesktopFile()
QMap< QString, QString > YQPkgDescriptionView::readDesktopFile |
( |
const QString & | fileName | ) |
const |
|
protected |
Extract name, icon and exec attributes from a desktop file.
◆ setSource()
void YQPkgDescriptionView::setSource |
( |
const QUrl & | name | ) |
|
|
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.
◆ showDetails()
void YQPkgDescriptionView::showDetails |
( |
ZyppSel | selectable | ) |
|
|
virtual |
◆ showLink()
void YQPkgDescriptionView::showLink |
( |
const QUrl & | url | ) |
|
|
protected |
Show information for a hyperlinked object, e.g., a "pkg:somepkg" link to another package.
◆ simpleHtmlParagraphs()
QString YQPkgDescriptionView::simpleHtmlParagraphs |
( |
QString | text | ) |
|
|
protected |
Format a multi-line text into paragraphs
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPkgDescriptionView.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPkgDescriptionView.cc