1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>NewPartUI</class> |
|
4 <widget class="QDialog" name="NewPartUI"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>491</width> |
|
10 <height>203</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>New Part</string> |
|
15 </property> |
|
16 <layout class="QVBoxLayout" name="verticalLayout" stretch="0,1,0"> |
|
17 <item> |
|
18 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
19 <item> |
|
20 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
21 <item> |
|
22 <widget class="QLabel" name="label_3"> |
|
23 <property name="text"> |
|
24 <string/> |
|
25 </property> |
|
26 <property name="pixmap"> |
|
27 <pixmap resource="../../ldforge.qrc">:/icons/brick.png</pixmap> |
|
28 </property> |
|
29 </widget> |
|
30 </item> |
|
31 <item> |
|
32 <spacer name="verticalSpacer"> |
|
33 <property name="orientation"> |
|
34 <enum>Qt::Vertical</enum> |
|
35 </property> |
|
36 <property name="sizeHint" stdset="0"> |
|
37 <size> |
|
38 <width>20</width> |
|
39 <height>40</height> |
|
40 </size> |
|
41 </property> |
|
42 </spacer> |
|
43 </item> |
|
44 </layout> |
|
45 </item> |
|
46 <item> |
|
47 <layout class="QGridLayout" name="gridLayout"> |
|
48 <item row="0" column="0"> |
|
49 <widget class="QLabel" name="label"> |
|
50 <property name="text"> |
|
51 <string>Title:</string> |
|
52 </property> |
|
53 </widget> |
|
54 </item> |
|
55 <item row="1" column="0"> |
|
56 <widget class="QLabel" name="label_2"> |
|
57 <property name="text"> |
|
58 <string>Author:</string> |
|
59 </property> |
|
60 </widget> |
|
61 </item> |
|
62 <item row="0" column="1"> |
|
63 <widget class="QLineEdit" name="le_title"/> |
|
64 </item> |
|
65 <item row="1" column="1"> |
|
66 <widget class="QLineEdit" name="le_author"/> |
|
67 </item> |
|
68 </layout> |
|
69 </item> |
|
70 </layout> |
|
71 </item> |
|
72 <item> |
|
73 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
74 <item> |
|
75 <widget class="QGroupBox" name="groupBox_2"> |
|
76 <property name="title"> |
|
77 <string>License</string> |
|
78 </property> |
|
79 <layout class="QVBoxLayout" name="verticalLayout_3"> |
|
80 <item> |
|
81 <widget class="QRadioButton" name="rb_license_ca"> |
|
82 <property name="text"> |
|
83 <string>CCAL Redistributable</string> |
|
84 </property> |
|
85 <property name="checked"> |
|
86 <bool>true</bool> |
|
87 </property> |
|
88 </widget> |
|
89 </item> |
|
90 <item> |
|
91 <widget class="QRadioButton" name="rb_license_nonca"> |
|
92 <property name="text"> |
|
93 <string>Non-redistributable</string> |
|
94 </property> |
|
95 </widget> |
|
96 </item> |
|
97 <item> |
|
98 <widget class="QRadioButton" name="rb_license_none"> |
|
99 <property name="text"> |
|
100 <string>None</string> |
|
101 </property> |
|
102 </widget> |
|
103 </item> |
|
104 </layout> |
|
105 </widget> |
|
106 </item> |
|
107 <item> |
|
108 <widget class="QGroupBox" name="groupBox"> |
|
109 <property name="title"> |
|
110 <string>BFC winding</string> |
|
111 </property> |
|
112 <layout class="QVBoxLayout" name="verticalLayout_4"> |
|
113 <item> |
|
114 <widget class="QRadioButton" name="rb_bfc_ccw"> |
|
115 <property name="text"> |
|
116 <string>CCW</string> |
|
117 </property> |
|
118 <property name="checked"> |
|
119 <bool>true</bool> |
|
120 </property> |
|
121 </widget> |
|
122 </item> |
|
123 <item> |
|
124 <widget class="QRadioButton" name="rb_bfc_cw"> |
|
125 <property name="text"> |
|
126 <string>CW</string> |
|
127 </property> |
|
128 </widget> |
|
129 </item> |
|
130 <item> |
|
131 <widget class="QRadioButton" name="rb_bfc_none"> |
|
132 <property name="text"> |
|
133 <string>None</string> |
|
134 </property> |
|
135 </widget> |
|
136 </item> |
|
137 </layout> |
|
138 </widget> |
|
139 </item> |
|
140 </layout> |
|
141 </item> |
|
142 <item> |
|
143 <widget class="QDialogButtonBox" name="buttonBox"> |
|
144 <property name="orientation"> |
|
145 <enum>Qt::Horizontal</enum> |
|
146 </property> |
|
147 <property name="standardButtons"> |
|
148 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
149 </property> |
|
150 </widget> |
|
151 </item> |
|
152 </layout> |
|
153 </widget> |
|
154 <resources> |
|
155 <include location="../../ldforge.qrc"/> |
|
156 </resources> |
|
157 <connections> |
|
158 <connection> |
|
159 <sender>buttonBox</sender> |
|
160 <signal>accepted()</signal> |
|
161 <receiver>NewPartUI</receiver> |
|
162 <slot>accept()</slot> |
|
163 <hints> |
|
164 <hint type="sourcelabel"> |
|
165 <x>248</x> |
|
166 <y>254</y> |
|
167 </hint> |
|
168 <hint type="destinationlabel"> |
|
169 <x>157</x> |
|
170 <y>274</y> |
|
171 </hint> |
|
172 </hints> |
|
173 </connection> |
|
174 <connection> |
|
175 <sender>buttonBox</sender> |
|
176 <signal>rejected()</signal> |
|
177 <receiver>NewPartUI</receiver> |
|
178 <slot>reject()</slot> |
|
179 <hints> |
|
180 <hint type="sourcelabel"> |
|
181 <x>316</x> |
|
182 <y>260</y> |
|
183 </hint> |
|
184 <hint type="destinationlabel"> |
|
185 <x>286</x> |
|
186 <y>274</y> |
|
187 </hint> |
|
188 </hints> |
|
189 </connection> |
|
190 </connections> |
|
191 </ui> |
|