Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

YQPkgStatusFilterView.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013   File:       YQPkgStatusFilterView.h
00014 
00015   Author:     Stefan Hundhammer <sh@suse.de>
00016 
00017 /-*/
00018 
00019 // -*- c++ -*-
00020 
00021 
00022 #ifndef YQPkgStatusFilterView_h
00023 #define YQPkgStatusFilterView_h
00024 
00025 #include <qvbox.h>
00026 #include <qregexp.h>
00027 #include <y2pm/PMPackage.h>
00028 
00029 
00030 class QComboBox;
00031 class QCheckBox;
00032 class QPushButton;
00033 
00034 
00038 class YQPkgStatusFilterView : public QVBox
00039 {
00040     Q_OBJECT
00041 
00042 public:
00043 
00047     YQPkgStatusFilterView( QWidget * parent );
00048 
00052     virtual ~YQPkgStatusFilterView();
00053 
00058     virtual QSize minimumSizeHint() const;
00059 
00060 
00061 public slots:
00062 
00070     void filter();
00071 
00075     void filterIfVisible();
00076 
00077 
00078 signals:
00079 
00084     void filterStart();
00085 
00089     void filterMatch( PMPackagePtr pkg );
00090 
00094     void filterFinished();
00095 
00096 
00097 protected:
00098 
00102     bool check( PMPackagePtr pkg );
00103 
00107     QCheckBox * addStatusCheckBox( QWidget *            parent,
00108                                    const QString &      label,
00109                                    const QPixmap &      icon,
00110                                    bool                 initiallyChecked );
00111 
00112     // Data members
00113 
00114     QCheckBox *         _showAutoDel;
00115     QCheckBox *         _showAutoInstall;
00116     QCheckBox *         _showAutoUpdate;
00117     QCheckBox *         _showDel;
00118     QCheckBox *         _showInstall;
00119     QCheckBox *         _showKeepInstalled;
00120     QCheckBox *         _showNoInst;
00121     QCheckBox *         _showTaboo;
00122     QCheckBox *         _showProtected;
00123     QCheckBox *         _showUpdate;
00124 
00125     QPushButton *       _refreshButton;
00126 };
00127 
00128 
00129 
00130 #endif // ifndef YQPkgStatusFilterView_h

Generated on Wed Sep 14 10:59:02 2005 for yast2-qt by  doxygen 1.4.4