1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
13 File: YQPkgPatchFilterView.h
15 Author: Stefan Hundhammer <sh@suse.de>
20 #ifndef YQPkgPatchFilterView_h
21 #define YQPkgPatchFilterView_h
24 #include "YQPkgSelMapper.h"
29 class YQPkgDescriptionView;
37 * @short Display a list of zypp::Patch objects and ( below ) details about the
38 * currently selected patch.
40 class YQPkgPatchFilterView : public QWidget
49 YQPkgPatchFilterView( QWidget * parent );
54 virtual ~YQPkgPatchFilterView();
58 * Returns this view's selections list.
60 YQPkgPatchList * patchList() const { return _patchList; }
66 * Update the "total download size" field.
68 void updateTotalDownloadSize();
74 * Fill the patch list with regard to the _patchCategory
85 QSplitter * _splitter;
86 YQPkgPatchList * _patchList;
87 QComboBox * _patchFilter;
88 QTabWidget * _detailsViews;
89 YQPkgDescriptionView * _descriptionView;
90 QLabel * _totalDownloadSize;
92 YQPkgSelMapper _selMapper;
97 #endif // ifndef YQPkgPatchFilterView_h