Debian Codegraph @

src/configdialog.h

raw symbols SCIP
1 /*
2 Copyright (C) 2008, 2009 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 CONFIGDIALOG_H
24 #define CONFIGDIALOG_H
25
26 #include "ui_configdialog.h"
27
28 class CsoundQt;
29 class Options;
30 class ConfigLists;
31
32 class ConfigDialog : public QDialog, public Ui::ConfigDialog
33 {
34 Q_OBJECT
35 public:
36 ConfigDialog(CsoundQt *parent, Options *options, ConfigLists *configlists);
37
38 ~ConfigDialog();
39 int currentTab();
40 void setCurrentTab(int index);
41
42
43 public slots:
44 void warnOpcodeDir(bool on);
45
46 private:
47 CsoundQt* m_parent;
48 Options *m_options;
49 ConfigLists *m_configlists;
50 void browseFile(QString &destination);
51 void browseSaveFile(QString &destination);
52 void browseDir(QString &destination);
53 int m_selectedOutputDeviceIndex;
54
55 private slots:
56 virtual void accept();
57 void browseInputFilename();
58 void browseOutputFilename();
59 void browseCsdocdir();
60 void browseOpcodedir();
61 void browseOpcodedir64();
62 void browseOpcode6dir64();
63 void browseSadir();
64 void browseSsdir();
65 void browseSfdir();
66 void browseIncdir();
67 void browseRawWaveDir();
68 // void browseDefaultCsd();
69 void browseFavorite();
70 void browseExamplePath();
71 void browsePythonDir();
72 void browseCsoundExecutable();
73 void browsePythonExecutable();
74 void browseLogFile();
75 void browseSdkDir();
76 void browseTemplateDir();
77 void browseTerminal();
78 void browseBrowser();
79 void browseDot();
80 void browseWaveEditor();
81 void browseWavePlayer();
82 void browsePdfViewer();
83 void selectAudioInput();
84 void selectAudioOutput();
85 void selectMidiInput();
86 void selectMidiOutput();
87 void selectTextColor();
88 void selectBgColor();
89 void selectEditorBgColor();
90 void clearTemplate();
91 void defaultTemplate();
92
93 void on_csoundMidiCheckBox_toggled(bool checked);
94 void checkRtMidiModule(QString module);
95 void testAudioSetup();
96 void recommendEnvironmentSettings();
97
98 void onRtModuleComboBoxChanged(int index);
99
100
101
102 signals:
103 void disableInternalRtMidi();
104 // void changeFont();
105
106 };
107
108 #endif