- //Config_PropManager::registerProp("Visualization", "object_default_color", "Object color",
- // Config_Prop::Color, "#ffffff");
-
- Config_PropManager::registerProp("Visualization", "result_body_color", "Body color",
- Config_Prop::Color, Model_ResultBody::DEFAULT_COLOR());
- Config_PropManager::registerProp("Visualization", "result_group_color", "Group color",
- Config_Prop::Color, Model_ResultGroup::DEFAULT_COLOR());
- Config_PropManager::registerProp("Visualization", "result_construction_color", "Construction color",
- Config_Prop::Color, Model_ResultConstruction::DEFAULT_COLOR());
+ // Create other parameters group in viewer tab
+ int otherGroup = myPreferences->addItem(tr("Default selection"), viewTab);
+ myPreferences->setItemProperty("columns", 3, otherGroup);
+ myPreferences->addItem(tr("Faces"), otherGroup,
+ SUIT_PreferenceMgr::Bool,
+ ModuleBase_Preferences::VIEWER_SECTION, "face-selection");
+ myPreferences->addItem(tr("Edges"), otherGroup,
+ SUIT_PreferenceMgr::Bool,
+ ModuleBase_Preferences::VIEWER_SECTION, "edge-selection");
+ myPreferences->addItem(tr("Vertices"), otherGroup,
+ SUIT_PreferenceMgr::Bool,
+ ModuleBase_Preferences::VIEWER_SECTION, "vertex-selection");
+
+ myPreferences->addItem(tr("Vertex selection sensitivity"), otherGroup, SUIT_PreferenceMgr::Double,
+ ModuleBase_Preferences::VIEWER_SECTION, "point-selection-sensitivity");