1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
13 File: YQPkgProductDialog.h
15 Author: Stefan Hundhammer <sh@suse.de>
20 #ifndef YQPkgProductDialog_h
21 #define YQPkgProductDialog_h
27 class YQPkgProductList;
28 class YQPkgDependenciesView;
32 * Products list with dependencies details view
34 class YQPkgProductDialog : public QDialog
41 * Static convenience method: Post a dialog with all products
43 static void showProductDialog();
46 * Returns the preferred size.
48 * Reimplemented from QWidget to limit the dialog to the screen dimensions.
50 virtual QSize sizeHint () const;
53 * Delayed initialization after the dialog is fully created.
55 * Reimplemented from QWidget.
57 virtual void polish();
63 * Constructor: Creates a description dialog for all packages that match 'pkgName'.
65 YQPkgProductDialog( QWidget * parent );
70 YQPkgProductList * _productList;
71 QTabWidget * _detailsViews;
72 YQPkgDependenciesView * _dependenciesView;
76 #endif // ifndef YQPkgProductDialog_h