41 #ifndef YQPkgGenericDetailsView_h
42 #define YQPkgGenericDetailsView_h
44 #include <QTextBrowser>
46 #include <zypp/Date.h>
87 static QString htmlEnd();
94 static QString
htmlHeading( ZyppSel selectable,
bool showVersion =
false );
104 static QString
htmlEscape(
const QString & plainText );
109 static QString
table(
const QString & contents );
114 static QString
row(
const QString & contents );
119 static QString
cell( QString contents );
120 static QString
cell(
int contents );
121 static QString
cell(
const string & contents );
122 static QString
cell(
const zypp::Date & date );
128 static QString
hcell( QString contents );
146 virtual void showDetails( ZyppSel selectable ) = 0;
155 void reload( QWidget * newCurrent );
156 virtual void reload() { QTextBrowser::reload(); }
163 QTabWidget * _parentTab;
168 #endif // ifndef YQPkgGenericDetailsView_h