Debian Codegraph @

src/appwizard.h

raw symbols SCIP
1 /*
2 Copyright (C) 2010 Andres Cabrera
3 [email protected]
4
5 This file is part of CsoundQt.
6
7 CsoundQt is free software; you can redistribute it
8 and/or modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
11
12 CsoundQt 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
15 GNU Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with Csound; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20 02111-1307 USA
21 */
22
23 #ifndef APPWIZARD_H
24 #define APPWIZARD_H
25
26 #include <QWizard>
27
28 class QCheckBox;
29 class QGroupBox;
30 class QLabel;
31 class QLineEdit;
32 class QRadioButton;
33 class QListWidget;
34
35 class AppWizard : public QWizard
36 {
37 Q_OBJECT
38 public:
39 explicit AppWizard(QWidget *parent, QString opcodeDir,
40 QString csd, QString sdkDir);
41
42 void makeApp();
43 // void setOpcodeDir(QString opcodeDir) {m_opcodeDir = opcodeDir;}
44
45 signals:
46
47 public slots:
48 // virtual void accept();
49 private:
50 // QString m_opcodeDir;
51 QString m_csd;
52 QString m_sdkDir;
53 QString m_fullText;
54 int m_pluginsPage;
55 int m_additionalsPage;
56 QStringList m_dataFiles;
57
58 QStringList processDataFiles();
59 void copyFolder(QString sourceFolder, QString destFolder);
60
61
62 void createWinApp(QString appName, QString appDir, QStringList dataFiles,
63 QStringList plugins, QString sdkDir, QString libDir,
64 QString opcodeDir, QString qtLibsDir);
65 void createMacApp(QString appName, QString appDir, QStringList dataFiles,
66 QStringList plugins, QString sdkDir, QString libDir,
67 QString opcodeDir, QString qtLibsDir);
68 void createLinuxApp(QString appName, QString appDir, QStringList dataFiles,
69 QStringList plugins, QString sdkDir, QString libDir,
70 QString opcodeDir, QString qtLibsDir);
71
72 void getLinuxLibDeps(QString libname);
73 };
74
75
76 #endif // APPWIZARD_H