switch the physical Properties to Quantity and add Pressure and Force

This commit is contained in:
jriegel
2014-02-16 17:59:29 +01:00
parent fef614684d
commit aca751daf4
8 changed files with 186 additions and 21 deletions

View File

@@ -779,7 +779,7 @@ PropertyAngleItem::PropertyAngleItem()
void PropertyAngleItem::setEditorData(QWidget *editor, const QVariant& data) const
{
const App::PropertyFloatConstraint::Constraints* c = 0;
const App::PropertyQuantityConstraint::Constraints* c = 0;
const std::vector<App::Property*>& items = getPropertyData();
if (!items.empty()) {
App::PropertyAngle* prop = static_cast<App::PropertyAngle*>(items[0]);