Abstract base class for details views. Handles generic stuff like HTML formatting, Qt slots and display only if this view is visible at all ( it may be hidden if it's part of a QTabWidget ).
More...
#include <YQPkgGenericDetailsView.h>
|
| 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 |
| |
Abstract base class for details views. Handles generic stuff like HTML formatting, Qt slots and display only if this view is visible at all ( it may be hidden if it's part of a QTabWidget ).
Definition at line 58 of file YQPkgGenericDetailsView.h.
| YQPkgGenericDetailsView::YQPkgGenericDetailsView |
( |
QWidget * |
parent | ) |
|
|
protected |
| YQPkgGenericDetailsView::~YQPkgGenericDetailsView |
( |
| ) |
|
|
protectedvirtual |
| QString YQPkgGenericDetailsView::cell |
( |
QString |
contents | ) |
|
|
static |
| QString YQPkgGenericDetailsView::hcell |
( |
QString |
contents | ) |
|
|
static |
| QString YQPkgGenericDetailsView::htmlEscape |
( |
const QString & |
plainText | ) |
|
|
static |
Escapes characters special to HTML in a ( plain text ) string, such as: '<' -> '<' '>' -> '>' '&' -> '&'
Returns the escaped string.
Definition at line 201 of file YQPkgGenericDetailsView.cc.
| QString YQPkgGenericDetailsView::htmlHeading |
( |
ZyppSel |
selectable, |
|
|
bool |
showVersion = false |
|
) |
| |
|
static |
Returns a uniform heading in HTML format for the specified selectable: name and summary or name, version and summary, if 'showVersion' is 'true'
Definition at line 166 of file YQPkgGenericDetailsView.cc.
| QString YQPkgGenericDetailsView::htmlStart |
( |
| ) |
|
|
static |
| QSize YQPkgGenericDetailsView::minimumSizeHint |
( |
| ) |
const |
|
virtual |
| void YQPkgGenericDetailsView::reload |
( |
QWidget * |
newCurrent | ) |
|
|
protectedslot |
| QString YQPkgGenericDetailsView::row |
( |
const QString & |
contents | ) |
|
|
static |
| virtual void YQPkgGenericDetailsView::showDetails |
( |
ZyppSel |
selectable | ) |
|
|
pure virtualslot |
| void YQPkgGenericDetailsView::showDetailsIfVisible |
( |
ZyppSel |
selectable | ) |
|
|
slot |
Show details for the specified package. Delayed ( optimized ) display if this is embedded into a QTabWidget parent: In this case, wait until this page becomes visible.
Definition at line 125 of file YQPkgGenericDetailsView.cc.
| QString YQPkgGenericDetailsView::table |
( |
const QString & |
contents | ) |
|
|
static |
The documentation for this class was generated from the following files: