/***************************************************************************
                          SrcListCntPanel.h  -  description
                             -------------------
    begin                : Thu May 10 2001
    copyright            : (C) 2001 by Alex Podolsky
    email                : alexpod@users.sourceforge.net
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
#ifndef SRCLISTCNTPANEL_H
#define SRCLISTCNTPANEL_H

#include <qvariant.h>
#include <qwidget.h>

class QVBoxLayout; 
class QHBoxLayout; 
class QGridLayout; 
class QCheckBox;
class KComboBox;
class QGroupBox;
class QPushButton;

class SrcListCntPanel : public QWidget
{ 
    Q_OBJECT

public:
    SrcListCntPanel( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~SrcListCntPanel();

    inline QPushButton *getRefreshBtn(){ return refreshSrcListBtn; }
    inline QCheckBox* getShowHiddenChk(){ return showHiddenChk;}
    inline KComboBox* getFilterByCmb(){ return filterByCmb;}

protected:
    QHBoxLayout* SrcListCntPanelLayout;
    QHBoxLayout* GroupBox1Layout;
    bool event( QEvent* );

    QGroupBox* GroupBox1;
    QCheckBox* showHiddenChk;
    KComboBox* filterByCmb;
    QPushButton* refreshSrcListBtn;

};

#endif // SRCLISTCNTPANEL_H
