1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
13 File: YQPkgSelDescriptionView.h
15 Author: Stefan Hundhammer <sh@suse.de>
20 #ifndef YQPkgSelDescriptionView_h
21 #define YQPkgSelDescriptionView_h
23 #include "YQPkgDescriptionView.h"
27 * @short Display the description of a zypp::ResObject derived object along with its
30 class YQPkgSelDescriptionView : public YQPkgDescriptionView
39 YQPkgSelDescriptionView( QWidget * parent );
44 virtual ~YQPkgSelDescriptionView();
47 * Show details for the specified package:
48 * In this case the package description.
49 * Overwritten from YQPkgGenericDetailsView.
51 virtual void showDetails( ZyppSel selectable );
56 * Format the heading in HTML
58 QString htmlHeading( ZyppSel selectable );
61 * Check if 'icon' exists. Returns 'icon' if it exists and an empty string
62 * if it doesn't exist.
64 QString findIcon( const QString & icon ) const;
68 #endif // ifndef YQPkgSelDescriptionView_h