Subversion Repositories Projects

Rev

Rev 272 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 272 Rev 306
Line 146... Line 146...
146
    Setting.beginGroup("Global");
146
    Setting.beginGroup("Global");
147
        Settings_ID  = Setting.value("Settings ID", 1).toInt();
147
        Settings_ID  = Setting.value("Settings ID", 1).toInt();
148
    Setting.endGroup();
148
    Setting.endGroup();
149
}
149
}
Line 150... Line -...
150
 
-
 
151
 
150
 
152
// Programmeinstellungen
151
// Programmeinstellungen
153
void cSettings::read_Settings()
152
void cSettings::read_Settings()
154
{
153
{
155
    QBitArray Def_BitArray;
154
    QBitArray Def_BitArray;
Line 179... Line 178...
179
        GUI.Term_Data   = Setting.value("Terminal_Data",true).toBool();
178
        GUI.Term_Data   = Setting.value("Terminal_Data",true).toBool();
180
        GUI.Term_Always = Setting.value("Terminal_Always",false).toBool();
179
        GUI.Term_Always = Setting.value("Terminal_Always",false).toBool();
181
        GUI.Term_Send   = Setting.value("Terminal_Send",true).toBool();
180
        GUI.Term_Send   = Setting.value("Terminal_Send",true).toBool();
182
    Setting.endGroup();
181
    Setting.endGroup();
Line -... Line 182...
-
 
182
 
-
 
183
    Setting.beginGroup("Map");
-
 
184
        Map.GotoPosition = Setting.value("Goto_Position",true).toBool();
-
 
185
        Map.ShowTrack    = Setting.value("Show_Track",true).toBool();
-
 
186
    Setting.endGroup();
183
 
187
 
184
    Setting.beginGroup("Dirs");
188
    Setting.beginGroup("Dirs");
185
        DIR.Logging   = Setting.value("LogDir", HomeDir).toString();
189
        DIR.Logging   = Setting.value("LogDir", HomeDir).toString();
-
 
190
        DIR.Parameter = Setting.value("ParDir", HomeDir).toString();
-
 
191
        DIR.Cache     = Setting.value("Dir_MapCache", HomeDir + ".QMK-Cache").toString();
186
        DIR.Parameter = Setting.value("ParDir", HomeDir).toString();
192
        DIR.AVRDUDE   = Setting.value("Path_AVRDUDE", "avrdude").toString();
Line 187... Line 193...
187
    Setting.endGroup();
193
    Setting.endGroup();
188
 
194
 
189
    Setting.beginGroup("MKData");
195
    Setting.beginGroup("MKData");
Line 224... Line 230...
224
    Setting.endGroup();
230
    Setting.endGroup();
Line 225... Line 231...
225
 
231
 
226
    Setting.beginGroup("Dirs");
232
    Setting.beginGroup("Dirs");
227
        Setting.setValue("LogDir", DIR.Logging);
233
        Setting.setValue("LogDir", DIR.Logging);
-
 
234
        Setting.setValue("ParDir", DIR.Parameter);
-
 
235
        Setting.setValue("Dir_MapCache", DIR.Cache);
228
        Setting.setValue("ParDir", DIR.Parameter);
236
        Setting.setValue("Path_AVRDUDE", DIR.AVRDUDE);
Line 229... Line 237...
229
    Setting.endGroup();
237
    Setting.endGroup();
230
 
238
 
231
    Setting.beginGroup("GUI");
239
    Setting.beginGroup("GUI");
Line 238... Line 246...
238
        Setting.setValue("Terminal_Data", GUI.Term_Data);
246
        Setting.setValue("Terminal_Data", GUI.Term_Data);
239
        Setting.setValue("Terminal_Always", GUI.Term_Always);
247
        Setting.setValue("Terminal_Always", GUI.Term_Always);
240
        Setting.setValue("Terminal_Send", GUI.Term_Send);
248
        Setting.setValue("Terminal_Send", GUI.Term_Send);
241
    Setting.endGroup();
249
    Setting.endGroup();
Line -... Line 250...
-
 
250
 
-
 
251
    Setting.beginGroup("Map");
-
 
252
        Setting.setValue("Goto_Position", Map.GotoPosition);
-
 
253
        Setting.setValue("Show_Track", Map.ShowTrack);
-
 
254
    Setting.endGroup();
242
 
255
 
243
    Setting.beginGroup("MKData");
256
    Setting.beginGroup("MKData");
244
        Setting.setValue("Plotter_Count", Data.Plotter_Count);
257
        Setting.setValue("Plotter_Count", Data.Plotter_Count);
245
        Setting.setValue("Debug_Fast", Data.Debug_Fast);
258
        Setting.setValue("Debug_Fast", Data.Debug_Fast);
246
        Setting.setValue("Debug_Slow", Data.Debug_Slow);
259
        Setting.setValue("Debug_Slow", Data.Debug_Slow);