- in Fiducials Plugin updated the GUI to the new style

- Fiducials Plugin: replaced a Radio button with a Combobox2 and optimized the UI
- The Combobox2 GUI element no longer issue an exception if it is tried to set a string value, it will set automatically the index 0
This commit is contained in:
Marius Stanciu
2021-09-09 01:19:33 +03:00
committed by Marius
parent 0f318ef909
commit 6712b98a93
7 changed files with 194 additions and 148 deletions

View File

@@ -867,14 +867,14 @@ class CornersUI:
self.s_frame.setLayout(grid_sel)
# Type of placement of markers
self.sel_label = FCLabel('%s:' % _("Type"))
self.sel_label = FCLabel('%s: ' % _("Mode"))
self.sel_label.setToolTip(
_("When the manual type is chosen, the markers\n"
"are manually placed on canvas.")
)
self.sel_radio = RadioSet([
{"label": _("Automatic"), "value": "a"},
{"label": _("Auto"), "value": "a"},
{"label": _("Manual"), "value": "m"},
])