src/dialogs/circularprimitiveeditor.ui

changeset 1406
37fffb682d2f
parent 1395
23551de3da36
child 1407
22bc5862cb56
equal deleted inserted replaced
1405:d2bf2e59a3ef 1406:37fffb682d2f
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>CircularPrimitiveEditor</class>
4 <widget class="QDialog" name="CircularPrimitiveEditor">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>579</width>
10 <height>531</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Dialog</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,0,1,0">
17 <item>
18 <layout class="QFormLayout" name="formLayout_2">
19 <item row="0" column="0">
20 <widget class="QLabel" name="label_2">
21 <property name="text">
22 <string>Segments:</string>
23 </property>
24 </widget>
25 </item>
26 <item row="0" column="1">
27 <widget class="QSpinBox" name="segments"/>
28 </item>
29 <item row="1" column="0">
30 <widget class="QLabel" name="label">
31 <property name="text">
32 <string>Divisions:</string>
33 </property>
34 </widget>
35 </item>
36 <item row="1" column="1">
37 <widget class="QComboBox" name="divisions">
38 <item>
39 <property name="text">
40 <string>8</string>
41 </property>
42 </item>
43 <item>
44 <property name="text">
45 <string>16</string>
46 </property>
47 </item>
48 <item>
49 <property name="text">
50 <string>48</string>
51 </property>
52 </item>
53 </widget>
54 </item>
55 <item row="2" column="0">
56 <widget class="QLabel" name="label_3">
57 <property name="text">
58 <string>Colour:</string>
59 </property>
60 </widget>
61 </item>
62 <item row="2" column="1">
63 <widget class="ColorButton" name="color">
64 <property name="text">
65 <string/>
66 </property>
67 </widget>
68 </item>
69 </layout>
70 </item>
71 <item>
72 <widget class="QGroupBox" name="groupBox_2">
73 <property name="title">
74 <string>Type</string>
75 </property>
76 <layout class="QFormLayout" name="formLayout">
77 <item row="3" column="0">
78 <widget class="QRadioButton" name="disc">
79 <property name="text">
80 <string>Disc</string>
81 </property>
82 </widget>
83 </item>
84 <item row="3" column="1">
85 <widget class="QRadioButton" name="discNegative">
86 <property name="text">
87 <string>Disc negati&amp;ve</string>
88 </property>
89 </widget>
90 </item>
91 <item row="2" column="0">
92 <widget class="QRadioButton" name="circle">
93 <property name="text">
94 <string>Circle</string>
95 </property>
96 </widget>
97 </item>
98 <item row="2" column="1">
99 <widget class="QRadioButton" name="cylinder">
100 <property name="text">
101 <string>C&amp;ylinder</string>
102 </property>
103 </widget>
104 </item>
105 </layout>
106 </widget>
107 </item>
108 <item>
109 <widget class="QGroupBox" name="groupBox">
110 <property name="title">
111 <string>Transformation</string>
112 </property>
113 <layout class="QVBoxLayout" name="verticalLayout">
114 <item>
115 <widget class="MatrixEditor" name="matrix" native="true"/>
116 </item>
117 </layout>
118 </widget>
119 </item>
120 <item>
121 <widget class="QDialogButtonBox" name="buttonBox">
122 <property name="orientation">
123 <enum>Qt::Horizontal</enum>
124 </property>
125 <property name="standardButtons">
126 <set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set>
127 </property>
128 </widget>
129 </item>
130 </layout>
131 </widget>
132 <customwidgets>
133 <customwidget>
134 <class>MatrixEditor</class>
135 <extends>QWidget</extends>
136 <header>widgets/matrixeditor.h</header>
137 <container>1</container>
138 </customwidget>
139 <customwidget>
140 <class>ColorButton</class>
141 <extends>QPushButton</extends>
142 <header>widgets/colorbutton.h</header>
143 </customwidget>
144 </customwidgets>
145 <resources/>
146 <connections>
147 <connection>
148 <sender>buttonBox</sender>
149 <signal>accepted()</signal>
150 <receiver>CircularPrimitiveEditor</receiver>
151 <slot>accept()</slot>
152 <hints>
153 <hint type="sourcelabel">
154 <x>248</x>
155 <y>254</y>
156 </hint>
157 <hint type="destinationlabel">
158 <x>157</x>
159 <y>274</y>
160 </hint>
161 </hints>
162 </connection>
163 <connection>
164 <sender>buttonBox</sender>
165 <signal>rejected()</signal>
166 <receiver>CircularPrimitiveEditor</receiver>
167 <slot>reject()</slot>
168 <hints>
169 <hint type="sourcelabel">
170 <x>316</x>
171 <y>260</y>
172 </hint>
173 <hint type="destinationlabel">
174 <x>286</x>
175 <y>274</y>
176 </hint>
177 </hints>
178 </connection>
179 </connections>
180 </ui>

mercurial