mirror of
https://git.code.sf.net/p/fldigi/fldigi
synced 2026-08-13 17:47:54 -04:00
RigCat config
* restore missing control labels
This commit is contained in:
parent
1cc5d884c9
commit
81261626a4
2 changed files with 21 additions and 21 deletions
|
|
@ -8359,7 +8359,7 @@ Fl_Double_Window* ConfigureDialog() {
|
|||
o->end();
|
||||
Fl_Group::current()->resizable(o);
|
||||
} // Fl_Group* o
|
||||
{ btn_collapse_tab_tree = new Fl_Button(100, 353, 100, 22, _("Collapse Tree"));
|
||||
{ btn_collapse_tab_tree = new Fl_Button(95, 353, 105, 22, _("Collapse Tree"));
|
||||
btn_collapse_tab_tree->callback((Fl_Callback*)cb_btn_collapse_tab_tree);
|
||||
} // Fl_Button* btn_collapse_tab_tree
|
||||
o->end();
|
||||
|
|
@ -14928,7 +14928,7 @@ i.e. localhost"));
|
|||
{ Fl_Output* o = txtXmlRigFilename = new Fl_Output(254, 79, 130, 22, _("Rig description file:"));
|
||||
txtXmlRigFilename->tooltip(_("Use Open to select descriptor file"));
|
||||
txtXmlRigFilename->color(FL_LIGHT2);
|
||||
txtXmlRigFilename->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
txtXmlRigFilename->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
o->value(fl_filename_name(progdefaults.XmlRigFilename.c_str()));
|
||||
} // Fl_Output* txtXmlRigFilename
|
||||
{ btnSelectRigXmlFile = new Fl_Button(387, 79, 60, 22, _("Open..."));
|
||||
|
|
@ -14945,7 +14945,7 @@ i.e. localhost"));
|
|||
inpXmlRigDevice->labelsize(14);
|
||||
inpXmlRigDevice->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpXmlRigDevice->callback((Fl_Callback*)cb_inpXmlRigDevice);
|
||||
inpXmlRigDevice->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
inpXmlRigDevice->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
inpXmlRigDevice->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.XmlRigDevice.c_str());
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
|
|
@ -14963,7 +14963,7 @@ i.e. localhost"));
|
|||
cntRigCatRetries->maximum(1000);
|
||||
cntRigCatRetries->step(1);
|
||||
cntRigCatRetries->callback((Fl_Callback*)cb_cntRigCatRetries);
|
||||
cntRigCatRetries->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
cntRigCatRetries->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
cntRigCatRetries->when(FL_WHEN_CHANGED);
|
||||
o->value(progdefaults.RigCatRetries);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
|
|
@ -14980,7 +14980,7 @@ i.e. localhost"));
|
|||
cntRigCatTimeout->maximum(10000);
|
||||
cntRigCatTimeout->step(1);
|
||||
cntRigCatTimeout->callback((Fl_Callback*)cb_cntRigCatTimeout);
|
||||
cntRigCatTimeout->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
cntRigCatTimeout->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
cntRigCatTimeout->when(FL_WHEN_CHANGED);
|
||||
o->value(progdefaults.RigCatTimeout);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
|
|
@ -14997,7 +14997,7 @@ i.e. localhost"));
|
|||
cntRigCatWait->maximum(10000);
|
||||
cntRigCatWait->step(1);
|
||||
cntRigCatWait->callback((Fl_Callback*)cb_cntRigCatWait);
|
||||
cntRigCatWait->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
cntRigCatWait->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
cntRigCatWait->when(FL_WHEN_CHANGED);
|
||||
o->value(progdefaults.RigCatWait);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
|
|
@ -15011,7 +15011,7 @@ i.e. localhost"));
|
|||
listbox_xml_rig_baudrate->labelsize(14);
|
||||
listbox_xml_rig_baudrate->labelcolor(FL_FOREGROUND_COLOR);
|
||||
listbox_xml_rig_baudrate->callback((Fl_Callback*)cb_listbox_xml_rig_baudrate);
|
||||
listbox_xml_rig_baudrate->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
listbox_xml_rig_baudrate->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
listbox_xml_rig_baudrate->when(FL_WHEN_RELEASE);
|
||||
o->add(szBaudRates);
|
||||
o->index(progdefaults.XmlRigBaudrate);
|
||||
|
|
@ -15032,7 +15032,7 @@ i.e. localhost"));
|
|||
valRigCatStopbits->step(1);
|
||||
valRigCatStopbits->value(1);
|
||||
valRigCatStopbits->callback((Fl_Callback*)cb_valRigCatStopbits);
|
||||
valRigCatStopbits->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
valRigCatStopbits->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
valRigCatStopbits->when(FL_WHEN_CHANGED);
|
||||
o->value(progdefaults.RigCatStopbits);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
|
|
@ -15109,7 +15109,7 @@ i.e. localhost"));
|
|||
cntRigCatInitDelay->maximum(10000);
|
||||
cntRigCatInitDelay->step(1);
|
||||
cntRigCatInitDelay->callback((Fl_Callback*)cb_cntRigCatInitDelay);
|
||||
cntRigCatInitDelay->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
cntRigCatInitDelay->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
cntRigCatInitDelay->when(FL_WHEN_CHANGED);
|
||||
o->value(progdefaults.RigCatInitDelay);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
|
|
|
|||
|
|
@ -482,7 +482,7 @@ static const char szProsigns[] = "~|%|&|+|=|{|}|<|>|[|]| ";} {}
|
|||
code2 {o->connectorstyle(FL_TREE_CONNECTOR_DOTTED); // default is NONE on Mac}
|
||||
code3 {o->connectorwidth(15); // default is 17}
|
||||
}
|
||||
Fl_Group {} {
|
||||
Fl_Group {} {open
|
||||
xywh {0 350 201 35}
|
||||
} {
|
||||
Fl_Group {} {open
|
||||
|
|
@ -501,7 +501,7 @@ tab_tree->close(_("Soundcard"));
|
|||
tab_tree->close(_("UI"));
|
||||
tab_tree->close(_("Waterfall"));
|
||||
tab_tree->close(_("Web"));}
|
||||
xywh {100 353 100 22}
|
||||
xywh {95 353 105 22}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7310,7 +7310,7 @@ progdefaults.changed = true;}
|
|||
}
|
||||
}
|
||||
Fl_Group grpOperator {
|
||||
label {Operator-Station}
|
||||
label {Operator-Station} selected
|
||||
xywh {200 0 600 350} box ENGRAVED_BOX color 50 align 21 hide
|
||||
code0 {CONFIG_PAGE *p = new CONFIG_PAGE(o, _("Operator-Station"));}
|
||||
code1 {config_pages.push_back(p);}
|
||||
|
|
@ -7550,7 +7550,7 @@ progdefaults.changed=true;}
|
|||
} {
|
||||
Fl_Output txtXmlRigFilename {
|
||||
label {Rig description file:}
|
||||
tooltip {Use Open to select descriptor file} xywh {254 79 130 22} color 52 align 21
|
||||
tooltip {Use Open to select descriptor file} xywh {254 79 130 22} color 52 align 5
|
||||
code0 {o->value(fl_filename_name(progdefaults.XmlRigFilename.c_str()));}
|
||||
}
|
||||
Fl_Button btnSelectRigXmlFile {
|
||||
|
|
@ -7564,7 +7564,7 @@ selectRigXmlFilename();}
|
|||
label {Device:}
|
||||
callback {btnInitRIGCAT->labelcolor(FL_RED);
|
||||
btnInitRIGCAT->redraw_label();} open
|
||||
xywh {580 79 144 22} box DOWN_BOX color 7 align 20
|
||||
xywh {580 79 144 22} box DOWN_BOX color 7 align 4
|
||||
code0 {o->value(progdefaults.XmlRigDevice.c_str());
|
||||
o->labelsize(FL_NORMAL_SIZE);}
|
||||
class Fl_ComboBox
|
||||
|
|
@ -7573,7 +7573,7 @@ btnInitRIGCAT->redraw_label();} open
|
|||
label Retries
|
||||
callback {btnInitRIGCAT->labelcolor(FL_RED);
|
||||
btnInitRIGCAT->redraw_label();}
|
||||
tooltip {\# retries before giving up} xywh {269 122 60 22} align 21 maximum 1000 step 1
|
||||
tooltip {\# retries before giving up} xywh {269 122 60 22} align 5 maximum 1000 step 1
|
||||
code0 {o->value(progdefaults.RigCatRetries);}
|
||||
code1 {o->labelsize(FL_NORMAL_SIZE);}
|
||||
class Fl_Value_Input2
|
||||
|
|
@ -7582,7 +7582,7 @@ btnInitRIGCAT->redraw_label();}
|
|||
label {Retry interval (ms)}
|
||||
callback {btnInitRIGCAT->labelcolor(FL_RED);
|
||||
btnInitRIGCAT->redraw_label();}
|
||||
tooltip {Time between retires in msec} xywh {399 122 60 22} align 21 maximum 10000 step 1
|
||||
tooltip {Time between retires in msec} xywh {399 122 60 22} align 5 maximum 10000 step 1
|
||||
code0 {o->value(progdefaults.RigCatTimeout);}
|
||||
code1 {o->labelsize(FL_NORMAL_SIZE);}
|
||||
class Fl_Value_Input2
|
||||
|
|
@ -7591,7 +7591,7 @@ btnInitRIGCAT->redraw_label();}
|
|||
label {Write delay (ms)}
|
||||
callback {btnInitRIGCAT->labelcolor(FL_RED);
|
||||
btnInitRIGCAT->redraw_label();}
|
||||
tooltip {Wait for response to subsequent command} xywh {269 162 60 22} align 21 maximum 10000 step 1
|
||||
tooltip {Wait for response to subsequent command} xywh {269 162 60 22} align 5 maximum 10000 step 1
|
||||
code0 {o->value(progdefaults.RigCatWait);}
|
||||
code1 {o->labelsize(FL_NORMAL_SIZE);}
|
||||
class Fl_Value_Input2
|
||||
|
|
@ -7600,7 +7600,7 @@ btnInitRIGCAT->redraw_label();}
|
|||
label {Baud rate:}
|
||||
callback {btnInitRIGCAT->labelcolor(FL_RED);
|
||||
btnInitRIGCAT->redraw_label();} open
|
||||
xywh {625 122 99 22} box DOWN_BOX color 7 align 20
|
||||
xywh {625 122 99 22} box DOWN_BOX color 7 align 4
|
||||
code0 {o->add(szBaudRates);}
|
||||
code1 {o->index(progdefaults.XmlRigBaudrate);
|
||||
o->labelsize(FL_NORMAL_SIZE);}
|
||||
|
|
@ -7610,7 +7610,7 @@ btnInitRIGCAT->redraw_label();} open
|
|||
label Stopbits
|
||||
callback {btnInitRIGCAT->labelcolor(FL_RED);
|
||||
btnInitRIGCAT->redraw();}
|
||||
xywh {627 156 95 21} type Simple align 20 minimum 1 maximum 2 step 1 value 1
|
||||
xywh {627 156 95 21} type Simple align 4 minimum 1 maximum 2 step 1 value 1
|
||||
code0 {o->value(progdefaults.RigCatStopbits);}
|
||||
code1 {o->labelsize(FL_NORMAL_SIZE);}
|
||||
class Fl_Counter2
|
||||
|
|
@ -7725,7 +7725,7 @@ btnInitRIGCAT->redraw_label();}
|
|||
label {Init delay (ms)}
|
||||
callback {btnInitRIGCAT->labelcolor(FL_RED);
|
||||
btnInitRIGCAT->redraw_label();}
|
||||
tooltip {Wait for response to first CAT command} xywh {399 162 75 22} align 21 maximum 10000 step 1
|
||||
tooltip {Wait for response to first CAT command} xywh {399 162 75 22} align 5 maximum 10000 step 1
|
||||
code0 {o->value(progdefaults.RigCatInitDelay);}
|
||||
code1 {o->labelsize(FL_NORMAL_SIZE);}
|
||||
class Fl_Value_Input2
|
||||
|
|
@ -8206,7 +8206,7 @@ if (o->value() == 1) {
|
|||
progdefaults.initInterface();
|
||||
}
|
||||
|
||||
progdefaults.changed = true;} selected
|
||||
progdefaults.changed = true;}
|
||||
tooltip {Hamlib used for rig control} xywh {451 31 100 20} down_box DOWN_BOX
|
||||
}
|
||||
Fl_Group grpHamlib {open
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue