SUIT_PreferenceMgr::Bool,
ModuleBase_Preferences::VIEWER_SECTION, "vertex-selection");
+ int sensitivityGroup = pref->addItem(tr("Selection sensitivity"), viewTab);
+ pref->setItemProperty("columns", 2, sensitivityGroup);
+ pref->addItem(tr("Vertex"), sensitivityGroup, SUIT_PreferenceMgr::Double,
+ ModuleBase_Preferences::VIEWER_SECTION, "point-selection-sensitivity");
+ pref->addItem(tr("Edge"), sensitivityGroup, SUIT_PreferenceMgr::Double,
+ ModuleBase_Preferences::VIEWER_SECTION, "edge-selection-sensitivity");
pref->retrieve();
}
<parameter name="face-selection" value="true" />
<parameter name="edge-selection" value="true" />
<parameter name="vertex-selection" value="true" />
+ <parameter name="point-selection-sensitivity" value="20" />
+ <parameter name="edge-selection-sensitivity" value="2" />
</section>
</document>
<parameter name="face-selection" value="true" />
<parameter name="edge-selection" value="true" />
<parameter name="vertex-selection" value="true" />
+ <parameter name="point-selection-sensitivity" value="20" />
+ <parameter name="edge-selection-sensitivity" value="2" />
</section>
</document>