~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Mod/Part/Gui/DlgPartCylinder.ui

  • Committer: Bazaar Package Importer
  • Author(s): Teemu Ikonen
  • Date: 2009-07-16 18:37:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090716183741-oww9kcxqrk991i1n
Tags: upstream-0.8.2237
ImportĀ upstreamĀ versionĀ 0.8.2237

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<ui version="4.0" >
 
2
 <author></author>
 
3
 <comment></comment>
 
4
 <exportmacro></exportmacro>
 
5
 <class>PartGui::DlgPartCylinder</class>
 
6
 <widget class="QDialog" name="PartGui::DlgPartCylinder" >
 
7
  <property name="geometry" >
 
8
   <rect>
 
9
    <x>0</x>
 
10
    <y>0</y>
 
11
    <width>296</width>
 
12
    <height>323</height>
 
13
   </rect>
 
14
  </property>
 
15
  <property name="windowTitle" >
 
16
   <string>Cylinder definition</string>
 
17
  </property>
 
18
  <layout class="QGridLayout" >
 
19
   <property name="margin" >
 
20
    <number>9</number>
 
21
   </property>
 
22
   <property name="spacing" >
 
23
    <number>6</number>
 
24
   </property>
 
25
   <item row="1" column="0" >
 
26
    <widget class="QGroupBox" name="groupBox" >
 
27
     <property name="title" >
 
28
      <string>Parameter</string>
 
29
     </property>
 
30
     <layout class="QGridLayout" >
 
31
      <property name="margin" >
 
32
       <number>9</number>
 
33
      </property>
 
34
      <property name="spacing" >
 
35
       <number>6</number>
 
36
      </property>
 
37
      <item row="1" column="0" >
 
38
       <widget class="QLabel" name="label" >
 
39
        <property name="text" >
 
40
         <string>Height:</string>
 
41
        </property>
 
42
       </widget>
 
43
      </item>
 
44
      <item row="0" column="0" >
 
45
       <widget class="QLabel" name="TextLabel1_2" >
 
46
        <property name="text" >
 
47
         <string>Radius:</string>
 
48
        </property>
 
49
       </widget>
 
50
      </item>
 
51
      <item row="1" column="1" >
 
52
       <widget class="QDoubleSpinBox" name="length" >
 
53
        <property name="maximum" >
 
54
         <double>2.14748e+09</double>
 
55
        </property>
 
56
        <property name="value" >
 
57
         <double>100</double>
 
58
        </property>
 
59
       </widget>
 
60
      </item>
 
61
      <item row="0" column="1" >
 
62
       <widget class="QDoubleSpinBox" name="radius" >
 
63
        <property name="maximum" >
 
64
         <double>2.14748e+09</double>
 
65
        </property>
 
66
        <property name="value" >
 
67
         <double>10</double>
 
68
        </property>
 
69
       </widget>
 
70
      </item>
 
71
     </layout>
 
72
    </widget>
 
73
   </item>
 
74
   <item row="0" column="0" >
 
75
    <widget class="QGroupBox" name="GroupBox5" >
 
76
     <property name="title" >
 
77
      <string>Position:</string>
 
78
     </property>
 
79
     <layout class="QGridLayout" >
 
80
      <property name="margin" >
 
81
       <number>9</number>
 
82
      </property>
 
83
      <property name="spacing" >
 
84
       <number>6</number>
 
85
      </property>
 
86
      <item row="3" column="1" >
 
87
       <widget class="QComboBox" name="direction" >
 
88
        <property name="currentIndex" >
 
89
         <number>2</number>
 
90
        </property>
 
91
        <item>
 
92
         <property name="text" >
 
93
          <string>X</string>
 
94
         </property>
 
95
        </item>
 
96
        <item>
 
97
         <property name="text" >
 
98
          <string>Y</string>
 
99
         </property>
 
100
        </item>
 
101
        <item>
 
102
         <property name="text" >
 
103
          <string>Z</string>
 
104
         </property>
 
105
        </item>
 
106
        <item>
 
107
         <property name="text" >
 
108
          <string>User defined...</string>
 
109
         </property>
 
110
        </item>
 
111
       </widget>
 
112
      </item>
 
113
      <item row="3" column="0" >
 
114
       <widget class="QLabel" name="TextLabel1_3" >
 
115
        <property name="text" >
 
116
         <string>Direction:</string>
 
117
        </property>
 
118
       </widget>
 
119
      </item>
 
120
      <item row="0" column="0" >
 
121
       <widget class="QLabel" name="TextLabel1" >
 
122
        <property name="text" >
 
123
         <string>X:</string>
 
124
        </property>
 
125
       </widget>
 
126
      </item>
 
127
      <item row="2" column="0" >
 
128
       <widget class="QLabel" name="TextLabel3" >
 
129
        <property name="text" >
 
130
         <string>Z:</string>
 
131
        </property>
 
132
       </widget>
 
133
      </item>
 
134
      <item row="1" column="0" >
 
135
       <widget class="QLabel" name="TextLabel2" >
 
136
        <property name="text" >
 
137
         <string>Y:</string>
 
138
        </property>
 
139
       </widget>
 
140
      </item>
 
141
      <item row="2" column="1" >
 
142
       <widget class="QDoubleSpinBox" name="zPos" >
 
143
        <property name="maximum" >
 
144
         <double>2.14748e+09</double>
 
145
        </property>
 
146
        <property name="minimum" >
 
147
         <double>-2.14748e+09</double>
 
148
        </property>
 
149
       </widget>
 
150
      </item>
 
151
      <item row="1" column="1" >
 
152
       <widget class="QDoubleSpinBox" name="yPos" >
 
153
        <property name="maximum" >
 
154
         <double>2.14748e+09</double>
 
155
        </property>
 
156
        <property name="minimum" >
 
157
         <double>-2.14748e+09</double>
 
158
        </property>
 
159
       </widget>
 
160
      </item>
 
161
      <item row="0" column="1" >
 
162
       <widget class="QDoubleSpinBox" name="xPos" >
 
163
        <property name="maximum" >
 
164
         <double>2.14748e+09</double>
 
165
        </property>
 
166
        <property name="minimum" >
 
167
         <double>-2.14748e+09</double>
 
168
        </property>
 
169
       </widget>
 
170
      </item>
 
171
     </layout>
 
172
    </widget>
 
173
   </item>
 
174
   <item row="2" column="0" >
 
175
    <layout class="QHBoxLayout" >
 
176
     <property name="margin" >
 
177
      <number>0</number>
 
178
     </property>
 
179
     <property name="spacing" >
 
180
      <number>6</number>
 
181
     </property>
 
182
     <item>
 
183
      <spacer>
 
184
       <property name="orientation" >
 
185
        <enum>Qt::Horizontal</enum>
 
186
       </property>
 
187
       <property name="sizeType" >
 
188
        <enum>QSizePolicy::Expanding</enum>
 
189
       </property>
 
190
       <property name="sizeHint" >
 
191
        <size>
 
192
         <width>88</width>
 
193
         <height>27</height>
 
194
        </size>
 
195
       </property>
 
196
      </spacer>
 
197
     </item>
 
198
     <item>
 
199
      <widget class="QPushButton" name="OKButton" >
 
200
       <property name="text" >
 
201
        <string>OK</string>
 
202
       </property>
 
203
      </widget>
 
204
     </item>
 
205
     <item>
 
206
      <widget class="QPushButton" name="CancelButton" >
 
207
       <property name="text" >
 
208
        <string>Cancel</string>
 
209
       </property>
 
210
      </widget>
 
211
     </item>
 
212
    </layout>
 
213
   </item>
 
214
  </layout>
 
215
 </widget>
 
216
 <layoutdefault spacing="6" margin="11" />
 
217
 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
 
218
 <tabstops>
 
219
  <tabstop>xPos</tabstop>
 
220
  <tabstop>yPos</tabstop>
 
221
  <tabstop>zPos</tabstop>
 
222
  <tabstop>direction</tabstop>
 
223
  <tabstop>radius</tabstop>
 
224
  <tabstop>length</tabstop>
 
225
  <tabstop>OKButton</tabstop>
 
226
  <tabstop>CancelButton</tabstop>
 
227
 </tabstops>
 
228
 <resources/>
 
229
 <connections>
 
230
  <connection>
 
231
   <sender>OKButton</sender>
 
232
   <signal>clicked()</signal>
 
233
   <receiver>PartGui::DlgPartCylinder</receiver>
 
234
   <slot>accept()</slot>
 
235
   <hints>
 
236
    <hint type="sourcelabel" >
 
237
     <x>60</x>
 
238
     <y>249</y>
 
239
    </hint>
 
240
    <hint type="destinationlabel" >
 
241
     <x>7</x>
 
242
     <y>7</y>
 
243
    </hint>
 
244
   </hints>
 
245
  </connection>
 
246
  <connection>
 
247
   <sender>CancelButton</sender>
 
248
   <signal>clicked()</signal>
 
249
   <receiver>PartGui::DlgPartCylinder</receiver>
 
250
   <slot>reject()</slot>
 
251
   <hints>
 
252
    <hint type="sourcelabel" >
 
253
     <x>242</x>
 
254
     <y>246</y>
 
255
    </hint>
 
256
    <hint type="destinationlabel" >
 
257
     <x>291</x>
 
258
     <y>179</y>
 
259
    </hint>
 
260
   </hints>
 
261
  </connection>
 
262
 </connections>
 
263
</ui>