translated the gui prefs group

This commit is contained in:
David Robertson
2020-05-02 03:08:42 +01:00
parent b24474be65
commit b6593b41e2
4 changed files with 10 additions and 6 deletions

View File

@@ -13,12 +13,12 @@ from flatcamGUI.preferences.OptionUI import OptionUI, CheckboxOptionUI, RadioSet
SeparatorOptionUI, HeadingOptionUI, ComboboxOptionUI, ColorOptionUI, FullWidthButtonOptionUI
class GeneralGUIPrefGroupUI2(OptionsGroupUI2):
class GeneralGUIPrefGroupUI(OptionsGroupUI2):
def __init__(self, decimals=4, **kwargs):
super().__init__(**kwargs)
self.decimals = decimals
self.setTitle(str(_("GUI Preferences 2")))
self.setTitle(str(_("GUI Preferences")))
self.layout_field = self.option_dict()["layout"].get_field()
self.layout_field.activated.connect(self.on_layout)
@@ -117,6 +117,8 @@ class GeneralGUIPrefGroupUI2(OptionsGroupUI2):
"First 6 digits are the color and the last 2\n"
"digits are for alpha (transparency) level."
),
# FIXME: opacity slider?
SeparatorOptionUI(),
HeadingOptionUI(label_text="Right-Left Selection Color", label_tooltip=None),
ColorOptionUI(