1st installment of object/instance labels in 3D scene

This commit is contained in:
Enrico Turri
2020-01-28 13:15:21 +01:00
parent 69549af9ac
commit d5b258c267
7 changed files with 190 additions and 0 deletions

View File

@@ -144,6 +144,15 @@ void PreferencesDialog::build()
}
};
#if ENABLE_SHOW_SCENE_LABELS
def.label = L("Show object/instance labels in 3D scene");
def.type = coBool;
def.tooltip = L("If enabled, shows labels containing info about objects/instances.");
def.set_default_value(new ConfigOptionBool{ app_config->get("show_labels") == "1" });
option = Option(def, "show_labels");
m_optgroup_gui->append_single_option_line(option);
#endif // ENABLE_SHOW_SCENE_LABELS
def.label = L("Use custom size for toolbar icons");
def.type = coBool;
def.tooltip = L("If enabled, you can change size of toolbar icons manually.");