+ myPreferences->addItem(tr("Edge"), sensitivityGroup, SUIT_PreferenceMgr::DblSpin,
+ ModuleBase_Preferences::VIEWER_SECTION, "edge-selection-sensitivity");
+
+ int highlightGroup = myPreferences->addItem(tr("Additional highlighting"), viewTab);
+ myPreferences->setItemProperty("columns", 2, highlightGroup);
+ myPreferences->addItem(tr("In 3d mode"), highlightGroup,
+ SUIT_PreferenceMgr::Bool, ModuleBase_Preferences::VIEWER_SECTION, "highlighting-3d");
+ myPreferences->addItem(tr("In 2d mode"), highlightGroup,
+ SUIT_PreferenceMgr::Bool, ModuleBase_Preferences::VIEWER_SECTION, "highlighting-2d");
+
+ int colorScaleGroup = myPreferences->addItem(tr("Color scale"), viewTab);
+ myPreferences->setItemProperty("columns", 4, colorScaleGroup);
+ int aItem = myPreferences->addItem(tr("X position"), colorScaleGroup,
+ SUIT_PreferenceMgr::Double, ModuleBase_Preferences::VIEWER_SECTION, "scalar_bar_x_position");
+ myPreferences->setItemProperty("min", 0, aItem);
+ myPreferences->setItemProperty("max", 1, aItem);
+
+ aItem = myPreferences->addItem(tr("Y position"), colorScaleGroup,
+ SUIT_PreferenceMgr::Double, ModuleBase_Preferences::VIEWER_SECTION, "scalar_bar_y_position");
+ myPreferences->setItemProperty("min", 0, aItem);
+ myPreferences->setItemProperty("max", 1, aItem);
+
+ aItem = myPreferences->addItem(tr("Width"), colorScaleGroup,
+ SUIT_PreferenceMgr::Double, ModuleBase_Preferences::VIEWER_SECTION, "scalar_bar_width");
+ myPreferences->setItemProperty("min", 0, aItem);
+ myPreferences->setItemProperty("max", 1, aItem);
+
+ aItem = myPreferences->addItem(tr("Height"), colorScaleGroup,
+ SUIT_PreferenceMgr::Double, ModuleBase_Preferences::VIEWER_SECTION, "scalar_bar_height");
+ myPreferences->setItemProperty("min", 0, aItem);
+ myPreferences->setItemProperty("max", 1, aItem);
+
+ aItem = myPreferences->addItem(tr("Intervals number"), colorScaleGroup,
+ SUIT_PreferenceMgr::Integer, ModuleBase_Preferences::VIEWER_SECTION, "scalar_bar_nb_intervals");
+ myPreferences->setItemProperty("min", 0, aItem);
+ myPreferences->setItemProperty("max", 100, aItem);
+
+ aItem = myPreferences->addItem(tr("Text height"), colorScaleGroup,
+ SUIT_PreferenceMgr::Integer, ModuleBase_Preferences::VIEWER_SECTION, "scalar_bar_text_height");
+ myPreferences->setItemProperty("min", 0, aItem);
+ myPreferences->setItemProperty("max", 100, aItem);
+
+ aItem = myPreferences->addItem(tr("Text color"), colorScaleGroup,
+ SUIT_PreferenceMgr::Color, ModuleBase_Preferences::VIEWER_SECTION, "scalar_bar_text_color");