aFactory->registerValidator("ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes",
new ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes());
- Config_PropManager::registerProp(SKETCH_TAB_NAME, "planes_size", "Size", Config_Prop::Double,
+ Config_PropManager::registerProp(SKETCH_TAB_NAME, "planes_size", "Size", Config_Prop::DblSpin,
PLANE_SIZE);
Config_PropManager::registerProp(SKETCH_TAB_NAME, "planes_thickness", "Thickness",
- Config_Prop::Integer, SKETCH_WIDTH);
+ Config_Prop::IntSpin, SKETCH_WIDTH);
Config_PropManager::registerProp(SKETCH_TAB_NAME, "rotate_to_plane",
"Rotate to plane when selected", Config_Prop::Boolean, "false");
Config_PropManager::registerProp("Visualization", "body_deflection",
"Body deflection coefficient",
- Config_Prop::Double,
+ Config_Prop::DblSpin,
ModelAPI_ResultBody::DEFAULT_DEFLECTION());
Config_PropManager::registerProp("Visualization", "construction_deflection",
"Construction deflection coefficient",
- Config_Prop::Double,
+ Config_Prop::DblSpin,
ModelAPI_ResultConstruction::DEFAULT_DEFLECTION());
}
Config_PropManager::registerProp("Visualization", "hidden_face_transparency",
"Hidden faces transparency",
- Config_Prop::Double,
+ Config_Prop::DblSpin,
"0.8");
}
aStream << SketcherPrs_Tools::getDefaultTextHeight();
Config_PropManager::registerProp(SKETCH_TAB_NAME, "dimension_value_size",
- "Dimension value size", Config_Prop::Integer, aStream.str());
+ "Dimension value size", Config_Prop::IntSpin, aStream.str());
aStream.str("");
aStream.clear();
aStream << SketcherPrs_Tools::getDefaultArrowSize();
Config_PropManager::registerProp(SKETCH_TAB_NAME, "dimension_arrow_size",
- "Dimension arrow size", Config_Prop::Integer, aStream.str());
+ "Dimension arrow size", Config_Prop::IntSpin, aStream.str());
}
FeaturePtr SketchPlugin_Plugin::createFeature(std::string theFeatureID)