--- a/src/dialogs/cylindereditor.ui Fri Jun 08 23:06:56 2018 +0300 +++ b/src/dialogs/cylindereditor.ui Sun Jun 10 12:12:50 2018 +0300 @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>400</width> - <height>300</height> + <width>656</width> + <height>659</height> </rect> </property> <property name="windowTitle"> @@ -16,8 +16,8 @@ <widget class="QDialogButtonBox" name="buttonBox"> <property name="geometry"> <rect> - <x>30</x> - <y>240</y> + <x>190</x> + <y>570</y> <width>341</width> <height>32</height> </rect> @@ -29,7 +29,107 @@ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> + <widget class="QGroupBox" name="groupBox"> + <property name="geometry"> + <rect> + <x>130</x> + <y>270</y> + <width>381</width> + <height>251</height> + </rect> + </property> + <property name="title"> + <string>Transformation</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="MatrixEditor" name="matrixEditor" native="true"/> + </item> + </layout> + </widget> + <widget class="QComboBox" name="divisions"> + <property name="geometry"> + <rect> + <x>200</x> + <y>110</y> + <width>76</width> + <height>25</height> + </rect> + </property> + <item> + <property name="text"> + <string>8</string> + </property> + </item> + <item> + <property name="text"> + <string>16</string> + </property> + </item> + <item> + <property name="text"> + <string>48</string> + </property> + </item> + </widget> + <widget class="QLabel" name="label"> + <property name="geometry"> + <rect> + <x>80</x> + <y>110</y> + <width>81</width> + <height>17</height> + </rect> + </property> + <property name="text"> + <string>Divisions:</string> + </property> + </widget> + <widget class="QLabel" name="label_2"> + <property name="geometry"> + <rect> + <x>90</x> + <y>70</y> + <width>63</width> + <height>17</height> + </rect> + </property> + <property name="text"> + <string>Segments:</string> + </property> + </widget> + <widget class="QSpinBox" name="segments"> + <property name="geometry"> + <rect> + <x>200</x> + <y>60</y> + <width>47</width> + <height>27</height> + </rect> + </property> + </widget> + <widget class="QLabel" name="label_3"> + <property name="geometry"> + <rect> + <x>90</x> + <y>150</y> + <width>63</width> + <height>17</height> + </rect> + </property> + <property name="text"> + <string>Colour:</string> + </property> + </widget> </widget> + <customwidgets> + <customwidget> + <class>MatrixEditor</class> + <extends>QWidget</extends> + <header>widgets/matrixeditor.h</header> + <container>1</container> + </customwidget> + </customwidgets> <resources/> <connections> <connection>