Rev 166 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 166 | Rev 199 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | le_DIR_SET->setText(Settings->DIR.Parameter); |
33 | le_DIR_SET->setText(Settings->DIR.Parameter); |
34 | le_TTY->setText(Settings->TTY.Port); |
34 | le_TTY->setText(Settings->TTY.Port); |
35 | sp_Plotter_Count->setValue(Settings->Data.Plotter_Count); |
35 | sp_Plotter_Count->setValue(Settings->Data.Plotter_Count); |
36 | sp_Debug_Fast->setValue(Settings->Data.Debug_Fast); |
36 | sp_Debug_Fast->setValue(Settings->Data.Debug_Fast); |
37 | sp_Debug_Slow->setValue(Settings->Data.Debug_Slow); |
37 | sp_Debug_Slow->setValue(Settings->Data.Debug_Slow); |
- | 38 | sp_Debug_Off->setValue(Settings->Data.Debug_Off); |
|
- | 39 | sp_Navi_Fast->setValue(Settings->Data.Navi_Fast); |
|
- | 40 | sp_Navi_Slow->setValue(Settings->Data.Navi_Slow); |
|
- | 41 | sp_Navi_Off->setValue(Settings->Data.Navi_Off); |
|
- | 42 | le_ServerPort->setText(Settings->Server.Port); |
|
- | 43 | cb_StartServer->setChecked(Settings->Server.StartServer); |
|
- | 44 | cb_ToGround->setChecked(Settings->Server.ToGround); |
|
38 | } |
45 | } |
Line 39... | Line 46... | ||
39 | 46 | ||
40 | cSettings *dlg_Preferences::get_Settings() |
47 | cSettings *dlg_Preferences::get_Settings() |
41 | { |
48 | { |
42 | Settings->TTY.Port = le_TTY->text(); |
49 | Settings->TTY.Port = le_TTY->text(); |
43 | Settings->Data.Plotter_Count = sp_Plotter_Count->value(); |
50 | Settings->Data.Plotter_Count = sp_Plotter_Count->value(); |
44 | Settings->Data.Debug_Fast = sp_Debug_Fast->value(); |
51 | Settings->Data.Debug_Fast = sp_Debug_Fast->value(); |
- | 52 | Settings->Data.Debug_Slow = sp_Debug_Slow->value(); |
|
- | 53 | Settings->Data.Debug_Off = sp_Debug_Off->value(); |
|
- | 54 | Settings->Data.Navi_Fast = sp_Navi_Fast->value(); |
|
- | 55 | Settings->Data.Navi_Slow = sp_Navi_Slow->value(); |
|
- | 56 | Settings->Data.Navi_Off = sp_Navi_Off->value(); |
|
- | 57 | Settings->Server.Port = le_ServerPort->text(); |
|
- | 58 | Settings->Server.StartServer = cb_StartServer->isChecked(); |
|
Line 45... | Line 59... | ||
45 | Settings->Data.Debug_Slow = sp_Debug_Slow->value(); |
59 | Settings->Server.ToGround = cb_ToGround->isChecked(); |
46 | 60 | ||
Line 47... | Line 61... | ||
47 | return Settings; |
61 | return Settings; |