2024-05-15 02:15:29 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2023-05-08 06:32:41 +00:00
|
|
|
<ui version="4.0">
|
|
|
|
|
<class>CreateCylinder</class>
|
|
|
|
|
<widget class="QDialog" name="CreateCylinder">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>400</width>
|
2024-05-15 02:15:29 +00:00
|
|
|
<height>336</height>
|
2023-05-08 06:32:41 +00:00
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
<string>Create Cylinder</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Name:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLineEdit" name="namelineEdit"/>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QGroupBox" name="CornergroupBox">
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>Location</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout"/>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>Parameter</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Radius:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBoxR">
|
|
|
|
|
<property name="suffix">
|
2024-05-15 02:15:29 +00:00
|
|
|
<string>m</string>
|
2023-05-08 06:32:41 +00:00
|
|
|
</property>
|
|
|
|
|
<property name="maximum">
|
|
|
|
|
<double>100000000000.000000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="value">
|
|
|
|
|
<double>5.000000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Length:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBoxL">
|
|
|
|
|
<property name="suffix">
|
2024-05-15 02:15:29 +00:00
|
|
|
<string>m</string>
|
2023-05-08 06:32:41 +00:00
|
|
|
</property>
|
|
|
|
|
<property name="maximum">
|
|
|
|
|
<double>10000000000.000000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="value">
|
|
|
|
|
<double>10.000000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>Axis</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QRadioButton" name="radioButtonX">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>X axis</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QRadioButton" name="radioButtonY">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Y axis</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QRadioButton" name="radioButtonZ">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Z axis</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="checked">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QRadioButton" name="radioButtonUser">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>User define</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBoxX">
|
|
|
|
|
<property name="minimum">
|
|
|
|
|
<double>-1000.000000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximum">
|
|
|
|
|
<double>1000.000000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBoxY">
|
|
|
|
|
<property name="minimum">
|
|
|
|
|
<double>-1000.000000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximum">
|
|
|
|
|
<double>1000.000000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBoxZ">
|
|
|
|
|
<property name="minimum">
|
|
|
|
|
<double>-1000.000000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximum">
|
|
|
|
|
<double>1000.000000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="value">
|
|
|
|
|
<double>1.000000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="0">
|
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="standardButtons">
|
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<resources/>
|
|
|
|
|
<connections>
|
|
|
|
|
<connection>
|
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
|
<receiver>CreateCylinder</receiver>
|
|
|
|
|
<slot>accept()</slot>
|
|
|
|
|
<hints>
|
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
|
<x>248</x>
|
|
|
|
|
<y>254</y>
|
|
|
|
|
</hint>
|
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
|
<x>157</x>
|
|
|
|
|
<y>274</y>
|
|
|
|
|
</hint>
|
|
|
|
|
</hints>
|
|
|
|
|
</connection>
|
|
|
|
|
<connection>
|
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
|
<receiver>CreateCylinder</receiver>
|
|
|
|
|
<slot>reject()</slot>
|
|
|
|
|
<hints>
|
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
|
<x>316</x>
|
|
|
|
|
<y>260</y>
|
|
|
|
|
</hint>
|
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
|
<x>286</x>
|
|
|
|
|
<y>274</y>
|
|
|
|
|
</hint>
|
|
|
|
|
</hints>
|
|
|
|
|
</connection>
|
|
|
|
|
</connections>
|
|
|
|
|
</ui>
|