Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2696 from mlampert/feature/path-constraint-dressup
Path: Feature/path boundary dressup
- Loading branch information
Showing
12 changed files
with
791 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
307 changes: 307 additions & 0 deletions
307
src/Mod/Path/Gui/Resources/panels/DressupPathBoundary.ui
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,307 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>Form</class> | ||
<widget class="QWidget" name="Form"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>417</width> | ||
<height>647</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Form</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<item> | ||
<widget class="QGroupBox" name="stockGroup"> | ||
<property name="title"> | ||
<string>Boundary Body</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout_5"> | ||
<property name="spacing"> | ||
<number>0</number> | ||
</property> | ||
<item> | ||
<widget class="QWidget" name="widget_2" native="true"> | ||
<layout class="QHBoxLayout" name="horizontalLayout_5"> | ||
<item> | ||
<widget class="QComboBox" name="stock"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Select what type of shape to use to constrain the underlying Path.</p></body></html></string> | ||
</property> | ||
<property name="currentIndex"> | ||
<number>2</number> | ||
</property> | ||
<item> | ||
<property name="text"> | ||
<string>Create Box</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Create Cylinder</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Extend Model's Bound Box</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Use Existing Solid</string> | ||
</property> | ||
</item> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<spacer name="horizontalSpacer"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>40</width> | ||
<height>6</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
<item> | ||
<widget class="QFrame" name="stockFromExisting"> | ||
<layout class="QGridLayout" name="gridLayout_8"> | ||
<item row="0" column="1"> | ||
<widget class="QComboBox" name="stockExisting"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Select the body to be used to constrain the underlying Path.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QFrame" name="stockFromBase"> | ||
<layout class="QGridLayout" name="gridLayout_9"> | ||
<item row="1" column="3"> | ||
<widget class="Gui::InputField" name="stockExtYpos"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Extension of BoundBox's MaxY.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QLabel" name="stockExtXLabel"> | ||
<property name="text"> | ||
<string>Ext. X</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="3"> | ||
<widget class="Gui::InputField" name="stockExtXpos"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Extension of BoundBox's MaxX.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QLabel" name="stockExtYLabel"> | ||
<property name="text"> | ||
<string>Ext. Y</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="2"> | ||
<widget class="Gui::InputField" name="stockExtXneg"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Extension of BoundBox's MinX.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="2" column="1"> | ||
<widget class="QLabel" name="stockExtZLabel"> | ||
<property name="text"> | ||
<string>Ext. Z</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="2" column="2"> | ||
<widget class="Gui::InputField" name="stockExtZneg"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Extension of BoundBox's MinZ.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="2" column="3"> | ||
<widget class="Gui::InputField" name="stockExtZpos"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Extension of BoundBox's MaxZ.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="2"> | ||
<widget class="Gui::InputField" name="stockExtYneg"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Extension of BoundBox's MinY.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QFrame" name="stockCreateCylinder"> | ||
<layout class="QGridLayout" name="gridLayout_10"> | ||
<item row="0" column="2"> | ||
<widget class="Gui::InputField" name="stockCylinderRadius"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Radius of the Cylinder.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="2"> | ||
<widget class="Gui::InputField" name="stockCylinderHeight"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Height of the Cylinder.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QLabel" name="stockCylinderRadiusLabel"> | ||
<property name="text"> | ||
<string>Radius</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QLabel" name="stockCylinderHeightLabel"> | ||
<property name="text"> | ||
<string>Height</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QFrame" name="stockCreateBox"> | ||
<layout class="QGridLayout" name="gridLayout_11"> | ||
<item row="0" column="1"> | ||
<widget class="QLabel" name="stockBoxLengthLabel"> | ||
<property name="text"> | ||
<string>Length</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QLabel" name="stockBoxWidthLabel"> | ||
<property name="text"> | ||
<string>Width</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="2"> | ||
<widget class="Gui::InputField" name="stockBoxLength"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Length of the Box.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="2" column="2"> | ||
<widget class="Gui::InputField" name="stockBoxHeight"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Height of the Box.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="2"> | ||
<widget class="Gui::InputField" name="stockBoxWidth"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Width of the Box.</p></body></html></string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="2" column="1"> | ||
<widget class="QLabel" name="stockBoxHeightLabel"> | ||
<property name="text"> | ||
<string>Height</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QCheckBox" name="stockInside"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>I checked the path is constrained by the solid. Otherwise the the volume of the solid describes a &quot;keep out&quot; zone.</p></body></html></string> | ||
</property> | ||
<property name="text"> | ||
<string>Constrained to Inside</string> | ||
</property> | ||
<property name="checked"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<spacer name="verticalSpacer"> | ||
<property name="orientation"> | ||
<enum>Qt::Vertical</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>20</width> | ||
<height>40</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
</layout> | ||
</widget> | ||
<customwidgets> | ||
<customwidget> | ||
<class>Gui::InputField</class> | ||
<extends>QLineEdit</extends> | ||
<header>Gui/InputField.h</header> | ||
</customwidget> | ||
</customwidgets> | ||
<tabstops> | ||
<tabstop>stock</tabstop> | ||
<tabstop>stockExisting</tabstop> | ||
<tabstop>stockExtXneg</tabstop> | ||
<tabstop>stockExtXpos</tabstop> | ||
<tabstop>stockExtYneg</tabstop> | ||
<tabstop>stockExtYpos</tabstop> | ||
<tabstop>stockExtZneg</tabstop> | ||
<tabstop>stockExtZpos</tabstop> | ||
<tabstop>stockCylinderRadius</tabstop> | ||
<tabstop>stockCylinderHeight</tabstop> | ||
<tabstop>stockBoxLength</tabstop> | ||
<tabstop>stockBoxWidth</tabstop> | ||
<tabstop>stockBoxHeight</tabstop> | ||
<tabstop>stockInside</tabstop> | ||
</tabstops> | ||
<resources/> | ||
<connections/> | ||
</ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.