Sun, 17 Jun 2018 14:06:03 +0300
replaced overloads with a new 'xyz' function
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>CylinderEditor</class> <widget class="QDialog" name="CylinderEditor"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>656</width> <height>659</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <widget class="QDialogButtonBox" name="buttonBox"> <property name="geometry"> <rect> <x>190</x> <y>570</y> <width>341</width> <height>32</height> </rect> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <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> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>CylinderEditor</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>CylinderEditor</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>