+ Replace InputField with QuantitySpinBox

This commit is contained in:
wmayer
2014-07-31 15:14:27 +02:00
parent 609422f08a
commit 406d32aebb
7 changed files with 498 additions and 317 deletions

View File

@@ -260,11 +260,6 @@ DlgPrimitives::DlgPrimitives(QWidget* parent)
ui.edgeZ2->setMaximum(INT_MAX);
ui.edgeZ2->setMinimum(INT_MIN);
// RegularPolygon
QList<Gui::InputField*> list = this->findChildren<Gui::InputField*>();
for (QList<Gui::InputField*>::iterator it = list.begin(); it != list.end(); ++it) {
(*it)->setValue((*it)->getQuantity());
}
}
/*
@@ -361,8 +356,8 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%4\n"
"App.ActiveDocument.%1.Label='%5'\n")
.arg(name)
.arg(ui.planeLength->getQuantity().getValue(),0,'f',2)
.arg(ui.planeWidth->getQuantity().getValue(),0,'f',2)
.arg(ui.planeLength->value().getValue(),0,'f',2)
.arg(ui.planeWidth->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Plane"));
}
@@ -376,9 +371,9 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%5\n"
"App.ActiveDocument.%1.Label='%6'\n")
.arg(name)
.arg(ui.boxLength->getQuantity().getValue(),0,'f',2)
.arg(ui.boxWidth->getQuantity().getValue(),0,'f',2)
.arg(ui.boxHeight->getQuantity().getValue(),0,'f',2)
.arg(ui.boxLength->value().getValue(),0,'f',2)
.arg(ui.boxWidth->value().getValue(),0,'f',2)
.arg(ui.boxHeight->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Box"));
}
@@ -392,9 +387,9 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%5\n"
"App.ActiveDocument.%1.Label='%6'\n")
.arg(name)
.arg(ui.cylinderRadius->getQuantity().getValue(),0,'f',2)
.arg(ui.cylinderHeight->getQuantity().getValue(),0,'f',2)
.arg(ui.cylinderAngle->getQuantity().getValue(),0,'f',2)
.arg(ui.cylinderRadius->value().getValue(),0,'f',2)
.arg(ui.cylinderHeight->value().getValue(),0,'f',2)
.arg(ui.cylinderAngle->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Cylinder"));
}
@@ -409,10 +404,10 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%6\n"
"App.ActiveDocument.%1.Label='%7'\n")
.arg(name)
.arg(ui.coneRadius1->getQuantity().getValue(),0,'f',2)
.arg(ui.coneRadius2->getQuantity().getValue(),0,'f',2)
.arg(ui.coneHeight->getQuantity().getValue(),0,'f',2)
.arg(ui.coneAngle->getQuantity().getValue(),0,'f',2)
.arg(ui.coneRadius1->value().getValue(),0,'f',2)
.arg(ui.coneRadius2->value().getValue(),0,'f',2)
.arg(ui.coneHeight->value().getValue(),0,'f',2)
.arg(ui.coneAngle->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Cone"));
}
@@ -427,10 +422,10 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%6\n"
"App.ActiveDocument.%1.Label='%7'\n")
.arg(name)
.arg(ui.sphereRadius->getQuantity().getValue(),0,'f',2)
.arg(ui.sphereAngle1->getQuantity().getValue(),0,'f',2)
.arg(ui.sphereAngle2->getQuantity().getValue(),0,'f',2)
.arg(ui.sphereAngle3->getQuantity().getValue(),0,'f',2)
.arg(ui.sphereRadius->value().getValue(),0,'f',2)
.arg(ui.sphereAngle1->value().getValue(),0,'f',2)
.arg(ui.sphereAngle2->value().getValue(),0,'f',2)
.arg(ui.sphereAngle3->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Sphere"));
}
@@ -446,11 +441,11 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%7\n"
"App.ActiveDocument.%1.Label='%8'\n")
.arg(name)
.arg(ui.ellipsoidRadius1->getQuantity().getValue(),0,'f',2)
.arg(ui.ellipsoidRadius2->getQuantity().getValue(),0,'f',2)
.arg(ui.ellipsoidAngle1->getQuantity().getValue(),0,'f',2)
.arg(ui.ellipsoidAngle2->getQuantity().getValue(),0,'f',2)
.arg(ui.ellipsoidAngle3->getQuantity().getValue(),0,'f',2)
.arg(ui.ellipsoidRadius1->value().getValue(),0,'f',2)
.arg(ui.ellipsoidRadius2->value().getValue(),0,'f',2)
.arg(ui.ellipsoidAngle1->value().getValue(),0,'f',2)
.arg(ui.ellipsoidAngle2->value().getValue(),0,'f',2)
.arg(ui.ellipsoidAngle3->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Ellipsoid"));
}
@@ -466,11 +461,11 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%7\n"
"App.ActiveDocument.%1.Label='%8'\n")
.arg(name)
.arg(ui.torusRadius1->getQuantity().getValue(),0,'f',2)
.arg(ui.torusRadius2->getQuantity().getValue(),0,'f',2)
.arg(ui.torusAngle1->getQuantity().getValue(),0,'f',2)
.arg(ui.torusAngle2->getQuantity().getValue(),0,'f',2)
.arg(ui.torusAngle3->getQuantity().getValue(),0,'f',2)
.arg(ui.torusRadius1->value().getValue(),0,'f',2)
.arg(ui.torusRadius2->value().getValue(),0,'f',2)
.arg(ui.torusAngle1->value().getValue(),0,'f',2)
.arg(ui.torusAngle2->value().getValue(),0,'f',2)
.arg(ui.torusAngle3->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Torus"));
}
@@ -485,8 +480,8 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Label='%6'\n")
.arg(name)
.arg(ui.prismPolygon->value())
.arg(ui.prismCircumradius->getQuantity().getValue(),0,'f',2)
.arg(ui.prismHeight->getQuantity().getValue(),0,'f',2)
.arg(ui.prismCircumradius->value().getValue(),0,'f',2)
.arg(ui.prismHeight->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Prism"));
}
@@ -507,16 +502,16 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%12\n"
"App.ActiveDocument.%1.Label='%13'\n")
.arg(name)
.arg(ui.wedgeXmin->getQuantity().getValue(),0,'f',2)
.arg(ui.wedgeYmin->getQuantity().getValue(),0,'f',2)
.arg(ui.wedgeZmin->getQuantity().getValue(),0,'f',2)
.arg(ui.wedgeX2min->getQuantity().getValue(),0,'f',2)
.arg(ui.wedgeZ2min->getQuantity().getValue(),0,'f',2)
.arg(ui.wedgeXmax->getQuantity().getValue(),0,'f',2)
.arg(ui.wedgeYmax->getQuantity().getValue(),0,'f',2)
.arg(ui.wedgeZmax->getQuantity().getValue(),0,'f',2)
.arg(ui.wedgeX2max->getQuantity().getValue(),0,'f',2)
.arg(ui.wedgeZ2max->getQuantity().getValue(),0,'f',2)
.arg(ui.wedgeXmin->value().getValue(),0,'f',2)
.arg(ui.wedgeYmin->value().getValue(),0,'f',2)
.arg(ui.wedgeZmin->value().getValue(),0,'f',2)
.arg(ui.wedgeX2min->value().getValue(),0,'f',2)
.arg(ui.wedgeZ2min->value().getValue(),0,'f',2)
.arg(ui.wedgeXmax->value().getValue(),0,'f',2)
.arg(ui.wedgeYmax->value().getValue(),0,'f',2)
.arg(ui.wedgeZmax->value().getValue(),0,'f',2)
.arg(ui.wedgeX2max->value().getValue(),0,'f',2)
.arg(ui.wedgeZ2max->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Wedge"));
}
@@ -533,10 +528,10 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%7\n"
"App.ActiveDocument.%1.Label='%8'\n")
.arg(name)
.arg(ui.helixPitch->getQuantity().getValue(),0,'f',2)
.arg(ui.helixHeight->getQuantity().getValue(),0,'f',2)
.arg(ui.helixRadius->getQuantity().getValue(),0,'f',2)
.arg(ui.helixAngle->getQuantity().getValue(),0,'f',2)
.arg(ui.helixPitch->value().getValue(),0,'f',2)
.arg(ui.helixHeight->value().getValue(),0,'f',2)
.arg(ui.helixRadius->value().getValue(),0,'f',2)
.arg(ui.helixAngle->value().getValue(),0,'f',2)
.arg(ui.helixLocalCS->currentIndex())
.arg(placement)
.arg(tr("Helix"));
@@ -551,9 +546,9 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%5\n"
"App.ActiveDocument.%1.Label='%6'\n")
.arg(name)
.arg(ui.spiralGrowth->getQuantity().getValue(),0,'f',2)
.arg(ui.spiralGrowth->value().getValue(),0,'f',2)
.arg(ui.spiralRotation->value(),0,'f',2)
.arg(ui.spiralRadius->getQuantity().getValue(),0,'f',2)
.arg(ui.spiralRadius->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Spiral"));
}
@@ -567,9 +562,9 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%5\n"
"App.ActiveDocument.%1.Label='%6'\n")
.arg(name)
.arg(ui.circleRadius->getQuantity().getValue(),0,'f',2)
.arg(ui.circleAngle0->getQuantity().getValue(),0,'f',2)
.arg(ui.circleAngle1->getQuantity().getValue(),0,'f',2)
.arg(ui.circleRadius->value().getValue(),0,'f',2)
.arg(ui.circleAngle0->value().getValue(),0,'f',2)
.arg(ui.circleAngle1->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Circle"));
}
@@ -584,10 +579,10 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%6\n"
"App.ActiveDocument.%1.Label='%7'\n")
.arg(name)
.arg(ui.ellipseMajorRadius->getQuantity().getValue(),0,'f',2)
.arg(ui.ellipseMinorRadius->getQuantity().getValue(),0,'f',2)
.arg(ui.ellipseAngle0->getQuantity().getValue(),0,'f',2)
.arg(ui.ellipseAngle1->getQuantity().getValue(),0,'f',2)
.arg(ui.ellipseMajorRadius->value().getValue(),0,'f',2)
.arg(ui.ellipseMinorRadius->value().getValue(),0,'f',2)
.arg(ui.ellipseAngle0->value().getValue(),0,'f',2)
.arg(ui.ellipseAngle1->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Ellipse"));
}
@@ -601,9 +596,9 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%5\n"
"App.ActiveDocument.%1.Label='%6'\n")
.arg(name)
.arg(ui.vertexX->getQuantity().getValue(),0,'f',2)
.arg(ui.vertexY->getQuantity().getValue(),0,'f',2)
.arg(ui.vertexZ->getQuantity().getValue(),0,'f',2)
.arg(ui.vertexX->value().getValue(),0,'f',2)
.arg(ui.vertexY->value().getValue(),0,'f',2)
.arg(ui.vertexZ->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Vertex"));
}
@@ -620,12 +615,12 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Placement=%8\n"
"App.ActiveDocument.%1.Label='%9'\n")
.arg(name)
.arg(ui.edgeX1->getQuantity().getValue(),0,'f',2)
.arg(ui.edgeY1->getQuantity().getValue(),0,'f',2)
.arg(ui.edgeZ1->getQuantity().getValue(),0,'f',2)
.arg(ui.edgeX2->getQuantity().getValue(),0,'f',2)
.arg(ui.edgeY2->getQuantity().getValue(),0,'f',2)
.arg(ui.edgeZ2->getQuantity().getValue(),0,'f',2)
.arg(ui.edgeX1->value().getValue(),0,'f',2)
.arg(ui.edgeY1->value().getValue(),0,'f',2)
.arg(ui.edgeZ1->value().getValue(),0,'f',2)
.arg(ui.edgeX2->value().getValue(),0,'f',2)
.arg(ui.edgeY2->value().getValue(),0,'f',2)
.arg(ui.edgeZ2->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Line"));
}
@@ -639,7 +634,7 @@ void DlgPrimitives::createPrimitive(const QString& placement)
"App.ActiveDocument.%1.Label='%5'\n")
.arg(name)
.arg(ui.regularPolygonPolygon->value())
.arg(ui.regularPolygonCircumradius->getQuantity().getValue(),0,'f',2)
.arg(ui.regularPolygonCircumradius->value().getValue(),0,'f',2)
.arg(placement)
.arg(tr("Regular polygon"));
}

View File

@@ -208,9 +208,12 @@
<number>6</number>
</property>
<item row="0" column="2">
<widget class="Gui::InputField" name="planeLength">
<property name="text">
<string>10.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="planeLength">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
@@ -229,9 +232,12 @@
</widget>
</item>
<item row="1" column="2">
<widget class="Gui::InputField" name="planeWidth">
<property name="text">
<string>10.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="planeWidth">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
@@ -285,16 +291,22 @@
<number>6</number>
</property>
<item row="1" column="2">
<widget class="Gui::InputField" name="boxWidth">
<property name="text">
<string>10.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="boxWidth">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="Gui::InputField" name="boxHeight">
<property name="text">
<string>10.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="boxHeight">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
@@ -320,9 +332,12 @@
</widget>
</item>
<item row="0" column="2">
<widget class="Gui::InputField" name="boxLength">
<property name="text">
<string>10.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="boxLength">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
@@ -354,9 +369,12 @@
</widget>
</item>
<item>
<widget class="Gui::InputField" name="cylinderAngle">
<property name="text">
<string>360.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="cylinderAngle">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>360.000000000000000</double>
</property>
</widget>
</item>
@@ -411,16 +429,22 @@
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="cylinderHeight">
<property name="text">
<string>10.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="cylinderHeight">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::InputField" name="cylinderRadius">
<property name="text">
<string>2.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="cylinderRadius">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
@@ -452,9 +476,12 @@
</widget>
</item>
<item>
<widget class="Gui::InputField" name="coneAngle">
<property name="text">
<string>360.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="coneAngle">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>360.000000000000000</double>
</property>
</widget>
</item>
@@ -495,16 +522,22 @@
<number>6</number>
</property>
<item row="3" column="2">
<widget class="Gui::InputField" name="coneHeight">
<property name="text">
<string>10.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="coneHeight">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="Gui::InputField" name="coneRadius1">
<property name="text">
<string>2.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="coneRadius1">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
@@ -530,9 +563,12 @@
</widget>
</item>
<item row="1" column="2">
<widget class="Gui::InputField" name="coneRadius2">
<property name="text">
<string>4.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="coneRadius2">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>4.000000000000000</double>
</property>
</widget>
</item>
@@ -597,23 +633,32 @@
</widget>
</item>
<item row="1" column="2">
<widget class="Gui::InputField" name="sphereAngle1">
<property name="text">
<string>-90.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="sphereAngle1">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>-90.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="Gui::InputField" name="sphereAngle2">
<property name="text">
<string>90.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="sphereAngle2">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>90.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="Gui::InputField" name="sphereAngle3">
<property name="text">
<string>360.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="sphereAngle3">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>360.000000000000000</double>
</property>
</widget>
</item>
@@ -651,9 +696,12 @@
</widget>
</item>
<item>
<widget class="Gui::InputField" name="sphereRadius">
<property name="text">
<string>5.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="sphereRadius">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>5.000000000000000</double>
</property>
</widget>
</item>
@@ -715,16 +763,22 @@
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::InputField" name="ellipsoidRadius1">
<property name="text">
<string>2.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="ellipsoidRadius1">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="ellipsoidRadius2">
<property name="text">
<string>4.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="ellipsoidRadius2">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>4.000000000000000</double>
</property>
</widget>
</item>
@@ -769,23 +823,32 @@
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::InputField" name="ellipsoidAngle3">
<property name="text">
<string>360.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="ellipsoidAngle3">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>360.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="ellipsoidAngle1">
<property name="text">
<string>-90.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="ellipsoidAngle1">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>-90.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::InputField" name="ellipsoidAngle2">
<property name="text">
<string>90.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="ellipsoidAngle2">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>90.000000000000000</double>
</property>
</widget>
</item>
@@ -850,23 +913,32 @@
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::InputField" name="torusAngle3">
<property name="text">
<string>360.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="torusAngle3">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>360.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="torusAngle1">
<property name="text">
<string>-180.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="torusAngle1">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>-180.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::InputField" name="torusAngle2">
<property name="text">
<string>180.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="torusAngle2">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>180.000000000000000</double>
</property>
</widget>
</item>
@@ -897,9 +969,12 @@
<number>6</number>
</property>
<item row="0" column="2">
<widget class="Gui::InputField" name="torusRadius1">
<property name="text">
<string>10.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="torusRadius1">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
@@ -918,9 +993,12 @@
</widget>
</item>
<item row="1" column="2">
<widget class="Gui::InputField" name="torusRadius2">
<property name="text">
<string>2.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="torusRadius2">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
@@ -945,9 +1023,12 @@
<number>6</number>
</property>
<item row="1" column="2">
<widget class="Gui::InputField" name="prismCircumradius">
<property name="text">
<string>2.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="prismCircumradius">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
@@ -986,9 +1067,12 @@
</widget>
</item>
<item row="2" column="2">
<widget class="Gui::InputField" name="prismHeight">
<property name="text">
<string>10.0 mm</string>
<widget class="Gui::QuantitySpinBox" name="prismHeight">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
@@ -1055,72 +1139,102 @@
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::InputField" name="wedgeXmin">
<property name="text">
<string>0.00</string>
<widget class="Gui::QuantitySpinBox" name="wedgeXmin">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="Gui::InputField" name="wedgeXmax">
<property name="text">
<string>10.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="wedgeXmax">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="wedgeYmin">
<property name="text">
<string>0.00</string>
<widget class="Gui::QuantitySpinBox" name="wedgeYmin">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="Gui::InputField" name="wedgeYmax">
<property name="text">
<string>10.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="wedgeYmax">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::InputField" name="wedgeZmin">
<property name="text">
<string>0.00</string>
<widget class="Gui::QuantitySpinBox" name="wedgeZmin">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="Gui::InputField" name="wedgeZmax">
<property name="text">
<string>10.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="wedgeZmax">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::InputField" name="wedgeX2min">
<property name="text">
<string>2.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="wedgeX2min">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="Gui::InputField" name="wedgeX2max">
<property name="text">
<string>8.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="wedgeX2max">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>8.000000000000000</double>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="Gui::InputField" name="wedgeZ2min">
<property name="text">
<string>2.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="wedgeZ2min">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="Gui::InputField" name="wedgeZ2max">
<property name="text">
<string>8.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="wedgeZ2max">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>8.000000000000000</double>
</property>
</widget>
</item>
@@ -1220,30 +1334,42 @@
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::InputField" name="helixAngle">
<property name="text">
<string>0.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="helixAngle">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::InputField" name="helixPitch">
<property name="text">
<string>1.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="helixPitch">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="helixHeight">
<property name="text">
<string>2.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="helixHeight">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::InputField" name="helixRadius">
<property name="text">
<string>1.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="helixRadius">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
@@ -1302,9 +1428,12 @@
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::InputField" name="spiralGrowth">
<property name="text">
<string>1.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="spiralGrowth">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
@@ -1319,9 +1448,12 @@
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::InputField" name="spiralRadius">
<property name="text">
<string>1.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="spiralRadius">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
@@ -1361,23 +1493,32 @@
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="circleAngle0">
<property name="text">
<string>0.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="circleAngle0">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::InputField" name="circleAngle1">
<property name="text">
<string>360.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="circleAngle1">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>360.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::InputField" name="circleRadius">
<property name="text">
<string>2.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="circleRadius">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
@@ -1455,30 +1596,42 @@
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::InputField" name="ellipseMajorRadius">
<property name="text">
<string>4.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="ellipseMajorRadius">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>4.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="ellipseMinorRadius">
<property name="text">
<string>2.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="ellipseMinorRadius">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::InputField" name="ellipseAngle0">
<property name="text">
<string>0.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="ellipseAngle0">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::InputField" name="ellipseAngle1">
<property name="text">
<string>360.00 deg</string>
<widget class="Gui::QuantitySpinBox" name="ellipseAngle1">
<property name="unit" stdset="0">
<string>deg</string>
</property>
<property name="value">
<double>360.000000000000000</double>
</property>
</widget>
</item>
@@ -1534,23 +1687,32 @@
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::InputField" name="vertexX">
<property name="text">
<string>0.00 </string>
<widget class="Gui::QuantitySpinBox" name="vertexX">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="vertexY">
<property name="text">
<string>0.00</string>
<widget class="Gui::QuantitySpinBox" name="vertexY">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::InputField" name="vertexZ">
<property name="text">
<string>0.00</string>
<widget class="Gui::QuantitySpinBox" name="vertexZ">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
@@ -1660,44 +1822,62 @@
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="edgeX1">
<property name="text">
<string>0.00</string>
<widget class="Gui::QuantitySpinBox" name="edgeX1">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::InputField" name="edgeY1">
<property name="text">
<string>0.00</string>
<widget class="Gui::QuantitySpinBox" name="edgeY1">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::InputField" name="edgeZ1">
<property name="text">
<string>0.00</string>
<widget class="Gui::QuantitySpinBox" name="edgeZ1">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="Gui::InputField" name="edgeX2">
<property name="text">
<string>1.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="edgeX2">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="Gui::InputField" name="edgeY2">
<property name="text">
<string>1.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="edgeY2">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="Gui::InputField" name="edgeZ2">
<property name="text">
<string>1.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="edgeZ2">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
@@ -1762,9 +1942,12 @@
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="regularPolygonCircumradius">
<property name="text">
<string>2.00 mm</string>
<widget class="Gui::QuantitySpinBox" name="regularPolygonCircumradius">
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
@@ -1795,9 +1978,9 @@
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>Gui::InputField</class>
<extends>QLineEdit</extends>
<header>Gui/InputField.h</header>
<class>Gui::QuantitySpinBox</class>
<extends>QWidget</extends>
<header>Gui/QuantitySpinBox.h</header>
</customwidget>
</customwidgets>
<tabstops>