00001 /*---------------------------------------------------------------------\ 00002 | | 00003 | __ __ ____ _____ ____ | 00004 | \ \ / /_ _/ ___|_ _|___ \ | 00005 | \ V / _` \___ \ | | __) | | 00006 | | | (_| |___) || | / __/ | 00007 | |_|\__,_|____/ |_| |_____| | 00008 | | 00009 | core system | 00010 | (C) SuSE GmbH | 00011 \----------------------------------------------------------------------/ 00012 00013 File: YQPkgYouPatchFilterView.h 00014 00015 Author: Stefan Hundhammer <sh@suse.de> 00016 00017 /-*/ 00018 00019 // -*- c++ -*- 00020 00021 00022 #ifndef YQPkgYouPatchFilterView_h 00023 #define YQPkgYouPatchFilterView_h 00024 00025 #include <qvbox.h> 00026 #include <y2pm/PMSelection.h> 00027 00028 00029 class YQPkgYouPatchList; 00030 class YQPkgDescriptionView; 00031 class QComboBox; 00032 class QLabel; 00033 class QSplitter; 00034 class QTabWidget; 00035 00036 00041 class YQPkgYouPatchFilterView : public QVBox 00042 { 00043 Q_OBJECT 00044 00045 public: 00046 00050 YQPkgYouPatchFilterView( QWidget * parent ); 00051 00055 virtual ~YQPkgYouPatchFilterView(); 00056 00057 00061 YQPkgYouPatchList * youPatchList() const { return _youPatchList; } 00062 00067 virtual QSize sizeHint() const; 00068 00069 00070 public slots: 00071 00075 void updateTotalDownloadSize(); 00076 00077 00078 protected slots: 00079 00084 void fillPatchList(); 00085 00086 00087 protected: 00088 00089 00090 // Data members 00091 00092 QSplitter * _splitter; 00093 YQPkgYouPatchList * _youPatchList; 00094 QComboBox * _patchCategory; 00095 QTabWidget * _detailsViews; 00096 YQPkgDescriptionView * _descriptionView; 00097 QLabel * _totalDownloadSize; 00098 }; 00099 00100 00101 00102 #endif // ifndef YQPkgYouPatchFilterView_h