| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
#ifndef OPTIONS_H |
| 24 |
#define OPTIONS_H |
| 25 |
|
| 26 |
#include <QString> |
| 27 |
#include <QColor> |
| 28 |
|
| 29 |
#include "csoundoptions.h" |
| 30 |
|
| 31 |
class Options: public CsoundOptions{ |
| 32 |
public: |
| 33 |
Options(ConfigLists *configlists); |
| 34 |
~Options(); |
| 35 |
|
| 36 |
QString theme; |
| 37 |
QString font; |
| 38 |
float fontPointSize; |
| 39 |
bool showLineNumberArea; |
| 40 |
int lineEnding; |
| 41 |
QString consoleFont; |
| 42 |
float consoleFontPointSize; |
| 43 |
QColor consoleFontColor; |
| 44 |
QColor consoleBgColor; |
| 45 |
QColor editorBgColor; |
| 46 |
int tabWidth; |
| 47 |
bool tabIndents; |
| 48 |
bool colorVariables; |
| 49 |
QString highlightingTheme; |
| 50 |
bool autoPlay; |
| 51 |
bool autoJoin; |
| 52 |
bool midiCcToCurrentPageOnly; |
| 53 |
bool saveChanges; |
| 54 |
bool askIfTemporary; |
| 55 |
bool rememberFile; |
| 56 |
bool saveWidgets; |
| 57 |
bool iconText; |
| 58 |
bool showToolbar; |
| 59 |
bool lockToolbar; |
| 60 |
int toolbarIconSize; |
| 61 |
bool wrapLines; |
| 62 |
bool autoComplete; |
| 63 |
int autoCompleteDelay; |
| 64 |
bool autoParameterMode; |
| 65 |
bool tabShortcutActive; |
| 66 |
|
| 67 |
bool highlightScore; |
| 68 |
|
| 69 |
bool showWidgetsOnRun; |
| 70 |
bool showTooltips; |
| 71 |
int graphUpdateRate; |
| 72 |
bool terminalFLTK; |
| 73 |
bool oldFormat; |
| 74 |
bool openProperties; |
| 75 |
double fontScaling; |
| 76 |
double fontOffset; |
| 77 |
|
| 78 |
bool useAPI; |
| 79 |
bool enableWidgets; |
| 80 |
bool widgetsIndependent; |
| 81 |
bool useInvalue; |
| 82 |
bool keyRepeat; |
| 83 |
bool debugLiveEvents; |
| 84 |
int consoleBufferSize; |
| 85 |
int midiInterface; |
| 86 |
QString midiInterfaceName; |
| 87 |
int midiOutInterface; |
| 88 |
QString midiOutInterfaceName; |
| 89 |
int rtMidiApi; |
| 90 |
|
| 91 |
bool noBuffer; |
| 92 |
bool noPython; |
| 93 |
bool noMessages; |
| 94 |
bool noEvents; |
| 95 |
|
| 96 |
QString csdPath; |
| 97 |
|
| 98 |
int menuDepth; |
| 99 |
QString defaultCsd; |
| 100 |
bool defaultCsdActive; |
| 101 |
QString opcodexmldir; |
| 102 |
bool opcodexmldirActive; |
| 103 |
QString favoriteDir; |
| 104 |
QString examplePath; |
| 105 |
QString pythonDir; |
| 106 |
QString pythonExecutable; |
| 107 |
QString csoundExecutable; |
| 108 |
QString logFile; |
| 109 |
QString sdkDir; |
| 110 |
QString templateDir; |
| 111 |
|
| 112 |
typedef enum { |
| 113 |
CS_ORC = 0x01, |
| 114 |
CS_SCORE = 0x02, |
| 115 |
PYTHON = 0x04, |
| 116 |
LUA = 0x08, |
| 117 |
QML = 0x0F |
| 118 |
} CodeLanguage; |
| 119 |
|
| 120 |
CodeLanguage evalLanguage; |
| 121 |
|
| 122 |
QString terminal; |
| 123 |
QString browser; |
| 124 |
QString dot; |
| 125 |
QString waveeditor; |
| 126 |
QString waveplayer; |
| 127 |
QString pdfviewer; |
| 128 |
int language; |
| 129 |
|
| 130 |
QString csdTemplate; |
| 131 |
|
| 132 |
quint16 debugPort; |
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
QString cvInputName; |
| 137 |
QString cvOutputName; |
| 138 |
QString cvSampleRate; |
| 139 |
QString cvBeginTime; |
| 140 |
QString cvDuration; |
| 141 |
QString cvChannels; |
| 142 |
|
| 143 |
QString hetInputName; |
| 144 |
QString hetOutputName; |
| 145 |
QString hetSampleRate; |
| 146 |
QString hetChannel; |
| 147 |
QString hetBeginTime; |
| 148 |
QString hetDuration; |
| 149 |
QString hetStartFrequency; |
| 150 |
QString hetNumPartials; |
| 151 |
QString hetMaxAmplitude; |
| 152 |
QString hetMinAplitude; |
| 153 |
QString hetNumBreakPoints; |
| 154 |
QString hetFilterCutoff; |
| 155 |
|
| 156 |
QString lpInputName; |
| 157 |
QString lpOutputName; |
| 158 |
QString lpSampleRate; |
| 159 |
QString lpChannel; |
| 160 |
QString lpBeginTime; |
| 161 |
QString lpDuration; |
| 162 |
QString lpNumPoles; |
| 163 |
QString lpHopSize; |
| 164 |
QString lpLowestFreq; |
| 165 |
int lpVerbosity; |
| 166 |
bool lpAlternateStorage; |
| 167 |
|
| 168 |
QString pvInputName; |
| 169 |
QString pvOutputName; |
| 170 |
QString pvSampleRate; |
| 171 |
QString pvChannel; |
| 172 |
QString pvBeginTime; |
| 173 |
QString pvDuration; |
| 174 |
QString pvFrameSize; |
| 175 |
QString pvOverlap; |
| 176 |
int pvWindow; |
| 177 |
QString pvBeta; |
| 178 |
|
| 179 |
QString atsInputName; |
| 180 |
QString atsOutputName; |
| 181 |
QString atsBeginTime; |
| 182 |
QString atsEndTime; |
| 183 |
QString atsLowestFreq; |
| 184 |
QString atsHighestFreq; |
| 185 |
QString atsFreqDeviat; |
| 186 |
QString atsWinCycle; |
| 187 |
QString atsHopSize; |
| 188 |
QString atsLowestMag; |
| 189 |
QString atsTrackLen; |
| 190 |
QString atsMinSegLen; |
| 191 |
QString atsMinGapLen; |
| 192 |
QString atsSmrThresh; |
| 193 |
QString atsLastPkCon; |
| 194 |
QString atsSmrContr; |
| 195 |
int atsFileType; |
| 196 |
int atsWindow; |
| 197 |
}; |
| 198 |
|
| 199 |
#endif |