Tue, 19 Jun 2018 23:18:58 +0300
added support for inverting circular primitives
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>CircularPrimitiveEditor</class> <widget class="QDialog" name="CircularPrimitiveEditor"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>579</width> <height>531</height> </rect> </property> <property name="windowTitle"> <string>Edit circular primitive</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,0,1,0"> <item> <layout class="QFormLayout" name="formLayout_2"> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Segments:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="segments"/> </item> <item row="1" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Divisions:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QComboBox" name="divisions"> <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> </item> <item row="2" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Colour:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="ColorButton" name="color"> <property name="text"> <string/> </property> </widget> </item> <item row="3" column="1"> <widget class="QCheckBox" name="inverted"> <property name="text"> <string>Inverted</string> </property> </widget> </item> </layout> </item> <item> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string>Type</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QRadioButton" name="circle"> <property name="text"> <string>Circle</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QRadioButton" name="cylinder"> <property name="text"> <string>C&ylinder</string> </property> </widget> </item> <item row="0" column="2"> <widget class="QRadioButton" name="cylinderClosed"> <property name="text"> <string>Closed cylinder</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QRadioButton" name="disc"> <property name="text"> <string>Disc</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QRadioButton" name="discNegative"> <property name="text"> <string>Disc negati&ve</string> </property> </widget> </item> <item row="1" column="2"> <widget class="QRadioButton" name="cylinderOpen"> <property name="text"> <string>Open cylinder</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QRadioButton" name="chord"> <property name="text"> <string>Chord</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Transformation</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="MatrixEditor" name="matrix" native="true"/> </item> </layout> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set> </property> </widget> </item> </layout> </widget> <customwidgets> <customwidget> <class>MatrixEditor</class> <extends>QWidget</extends> <header>widgets/matrixeditor.h</header> <container>1</container> </customwidget> <customwidget> <class>ColorButton</class> <extends>QPushButton</extends> <header>widgets/colorbutton.h</header> </customwidget> </customwidgets> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>CircularPrimitiveEditor</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>CircularPrimitiveEditor</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>