]> git.sesse.net Git - kdenlive/blob - src/wizard.h
Improve profile selection in First run wizard
[kdenlive] / src / wizard.h
1 /***************************************************************************
2  *   Copyright (C) 2008 by Jean-Baptiste Mardelle (jb@kdenlive.org)        *
3  *                                                                         *
4  *   This program is free software; you can redistribute it and/or modify  *
5  *   it under the terms of the GNU General Public License as published by  *
6  *   the Free Software Foundation; either version 2 of the License, or     *
7  *   (at your option) any later version.                                   *
8  *                                                                         *
9  *   This program is distributed in the hope that it will be useful,       *
10  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
11  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
12  *   GNU General Public License for more details.                          *
13  *                                                                         *
14  *   You should have received a copy of the GNU General Public License     *
15  *   along with this program; if not, write to the                         *
16  *   Free Software Foundation, Inc.,                                       *
17  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
18  ***************************************************************************/
19
20
21 #ifndef WIZARD_H
22 #define WIZARD_H
23
24 #include <QWizard>
25 #include <QVBoxLayout>
26 #include <KDebug>
27
28 #include "ui_wizardstandard_ui.h"
29 #include "ui_wizardextra_ui.h"
30
31
32 class Wizard : public QWizard {
33     Q_OBJECT
34 public:
35     Wizard(QWidget * parent = 0);
36     void installExtraMimes(QString baseName, QStringList globs);
37     void runUpdateMimeDatabase();
38     void adjustSettings();
39     bool isOk() const;
40
41 private:
42     Ui::WizardStandard_UI m_standard;
43     Ui::WizardExtra_UI m_extra;
44     QVBoxLayout *m_startLayout;
45     bool m_systemCheckIsOk;
46     QStringList m_dvProfiles;
47     QStringList m_hdvProfiles;
48     QStringList m_otherProfiles;
49     QMap <QString, QString> m_profilesInfo;
50
51 private slots:
52     void slotCheckThumbs();
53     void slotCheckStandard();
54     void slotCheckSelectedItem();
55     void slotCheckMlt();
56 };
57
58 #endif
59