Final polisihing for KDE4:
[kdemultimedia.git] / kmix / dialogviewconfiguration.h
blob4485ed434f426e0bf9514935286af82fe35cf5f2
1 //-*-C++-*-
2 /*
3 * KMix -- KDE's full featured mini mixer
5 * Copyright Christian Esken <esken@kde.org>
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public
18 * License along with this program; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef DIALOGVIEWCONFIGURATION_H
22 #define DIALOGVIEWCONFIGURATION_H
24 #include <QCheckBox>
25 #include <qlist.h>
26 class QVBoxLayout;
28 #include <kdialog.h>
30 #include "viewbase.h"
31 class QLabel;
33 class DialogViewConfiguration : public KDialog
35 Q_OBJECT
36 public:
37 DialogViewConfiguration(QWidget* parent, ViewBase& view);
38 ~DialogViewConfiguration();
40 QSize sizeHint() const;
41 public slots:
42 void apply();
44 private:
45 QVBoxLayout* _layout;
46 ViewBase& _view;
47 QWidget* vboxForScrollView;
48 QLabel* qlb;
49 QList<QCheckBox *> _qEnabledCB;
50 QList<QCheckBox *> _qSplitCB;
51 QList<QCheckBox *> _qLimitCB;
54 #endif