FreeCAD

Форк
0
/
TaskSelectPlane.ui 
312 строк · 9.0 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>Form</class>
4
 <widget class="QWidget" name="Form">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>210</width>
10
    <height>568</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>Working plane setup</string>
15
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout">
17
   <item>
18
    <widget class="QLabel" name="label">
19
     <property name="text">
20
      <string>Select 3 vertices, one or more shapes or a WP Proxy. Then confirm by clicking in the 3D view.
21
Or choose one of the options below.</string>
22
     </property>
23
     <property name="wordWrap">
24
      <bool>true</bool>
25
     </property>
26
    </widget>
27
   </item>
28
   <item>
29
    <widget class="QPushButton" name="buttonTop">
30
     <property name="toolTip">
31
      <string>Sets the working plane to the XY plane (ground plane)</string>
32
     </property>
33
     <property name="text">
34
      <string>Top (XY)</string>
35
     </property>
36
    </widget>
37
   </item>
38
   <item>
39
    <widget class="QPushButton" name="buttonFront">
40
     <property name="toolTip">
41
      <string>Sets the working plane to the XZ plane (front plane)</string>
42
     </property>
43
     <property name="text">
44
      <string>Front (XZ)</string>
45
     </property>
46
    </widget>
47
   </item>
48
   <item>
49
    <widget class="QPushButton" name="buttonSide">
50
     <property name="toolTip">
51
      <string>Sets the working plane to the YZ plane (side plane)</string>
52
     </property>
53
     <property name="text">
54
      <string>Side (YZ)</string>
55
     </property>
56
    </widget>
57
   </item>
58
   <item>
59
    <widget class="QPushButton" name="buttonAlign">
60
     <property name="toolTip">
61
      <string>Sets the working plane facing the current view</string>
62
     </property>
63
     <property name="text">
64
      <string>Align to view</string>
65
     </property>
66
    </widget>
67
   </item>
68
   <item>
69
    <widget class="QPushButton" name="buttonAuto">
70
     <property name="toolTip">
71
      <string>The working plane will align to the current
72
view each time a command is started</string>
73
     </property>
74
     <property name="statusTip">
75
      <string/>
76
     </property>
77
     <property name="text">
78
      <string>Automatic</string>
79
     </property>
80
    </widget>
81
   </item>
82
   <item>
83
    <layout class="QGridLayout" name="gridLayout_2">
84
     <item row="0" column="0">
85
      <widget class="QLabel" name="label_2">
86
       <property name="text">
87
        <string>Offset</string>
88
       </property>
89
      </widget>
90
     </item>
91
     <item row="0" column="1">
92
      <widget class="Gui::InputField" name="fieldOffset">
93
       <property name="toolTip">
94
        <string>An optional offset to give to the working plane
95
above its base position. Use this together with one
96
of the buttons above</string>
97
       </property>
98
       <property name="unit" stdset="0">
99
        <string notr="true"/>
100
       </property>
101
      </widget>
102
     </item>
103
     <item row="1" column="0">
104
      <widget class="QLabel" name="label_5">
105
       <property name="toolTip">
106
        <string>If this is selected, the working plane will be
107
centered on the current view when pressing one
108
of the buttons above</string>
109
       </property>
110
       <property name="text">
111
        <string>Center plane on view</string>
112
       </property>
113
      </widget>
114
     </item>
115
     <item row="1" column="1">
116
      <widget class="QCheckBox" name="checkCenter">
117
       <property name="toolTip">
118
        <string>If this is selected, the working plane will be
119
centered on the current view when pressing one
120
of the buttons above</string>
121
       </property>
122
       <property name="layoutDirection">
123
        <enum>Qt::LeftToRight</enum>
124
       </property>
125
       <property name="text">
126
        <string/>
127
       </property>
128
      </widget>
129
     </item>
130
    </layout>
131
   </item>
132
   <item>
133
    <widget class="QLabel" name="label_7">
134
     <property name="text">
135
      <string>Or select a single vertex to move the current working plane without changing its orientation. Then press the button below.</string>
136
     </property>
137
     <property name="wordWrap">
138
      <bool>true</bool>
139
     </property>
140
    </widget>
141
   </item>
142
   <item>
143
    <widget class="QPushButton" name="buttonMove">
144
     <property name="toolTip">
145
      <string>Moves the working plane without changing its
146
orientation. If no point is selected, the plane
147
will be moved to the center of the view</string>
148
     </property>
149
     <property name="text">
150
      <string>Move working plane</string>
151
     </property>
152
    </widget>
153
   </item>
154
   <item>
155
    <layout class="QGridLayout" name="gridLayout">
156
     <item row="0" column="0">
157
      <widget class="QLabel" name="label_9">
158
       <property name="text">
159
        <string>Grid color</string>
160
       </property>
161
      </widget>
162
     </item>
163
     <item row="0" column="1">
164
      <widget class="Gui::ColorButton" name="buttonColor"/>
165
     </item>
166
     <item row="1" column="0">
167
      <widget class="QLabel" name="label_3">
168
       <property name="toolTip">
169
        <string>The spacing between the smaller grid lines</string>
170
       </property>
171
       <property name="text">
172
        <string>Grid spacing</string>
173
       </property>
174
      </widget>
175
     </item>
176
     <item row="1" column="1">
177
      <widget class="Gui::InputField" name="fieldGridSpacing">
178
       <property name="toolTip">
179
        <string>The spacing between the smaller grid lines</string>
180
       </property>
181
       <property name="unit" stdset="0">
182
        <string notr="true">mm</string>
183
       </property>
184
      </widget>
185
     </item>
186
     <item row="2" column="0">
187
      <widget class="QLabel" name="label_4">
188
       <property name="toolTip">
189
        <string>The number of squares between each main line of the grid</string>
190
       </property>
191
       <property name="text">
192
        <string>Main line every</string>
193
       </property>
194
      </widget>
195
     </item>
196
     <item row="2" column="1">
197
      <widget class="QSpinBox" name="fieldGridMainLine">
198
       <property name="toolTip">
199
        <string>The number of squares between each main line of the grid</string>
200
       </property>
201
      </widget>
202
     </item>
203
     <item row="3" column="0">
204
      <widget class="QLabel" name="label_8">
205
       <property name="text">
206
        <string>Grid extension</string>
207
       </property>
208
      </widget>
209
     </item>
210
     <item row="3" column="1">
211
      <widget class="QSpinBox" name="fieldGridExtension">
212
       <property name="suffix">
213
        <string> lines</string>
214
       </property>
215
       <property name="minimum">
216
        <number>1</number>
217
       </property>
218
       <property name="maximum">
219
        <number>9999</number>
220
       </property>
221
      </widget>
222
     </item>
223
    <item row="4" column="0">
224
      <widget class="QLabel" name="label_6">
225
       <property name="toolTip">
226
        <string>The distance at which a point can be snapped to
227
when approaching the mouse. You can also change this
228
value by using the [ and ] keys while drawing</string>
229
       </property>
230
       <property name="text">
231
        <string>Snapping radius</string>
232
       </property>
233
      </widget>
234
     </item>
235
     <item row="4" column="1">
236
      <widget class="QSpinBox" name="fieldSnapRadius">
237
       <property name="toolTip">
238
        <string>The distance at which a point can be snapped to
239
when approaching the mouse. You can also change this
240
value by using the [ and ] keys while drawing</string>
241
       </property>
242
      </widget>
243
     </item>
244
     </layout>
245
   </item>
246
   <item>
247
    <widget class="QPushButton" name="buttonCenter">
248
     <property name="toolTip">
249
      <string>Centers the view on the current working plane</string>
250
     </property>
251
     <property name="text">
252
      <string>Center view</string>
253
     </property>
254
    </widget>
255
   </item>
256
   <item>
257
    <layout class="QGridLayout" name="gridLayout_3">
258
     <item row="0" column="0">
259
      <widget class="QPushButton" name="buttonPrevious">
260
       <property name="toolTip">
261
        <string>Resets the working plane to its previous position</string>
262
       </property>
263
       <property name="text">
264
        <string>Previous</string>
265
       </property>
266
      </widget>
267
     </item>
268
     <item row="0" column="1">
269
      <widget class="QPushButton" name="buttonNext">
270
       <property name="layoutDirection">
271
        <enum>Qt::RightToLeft</enum>
272
       </property>
273
       <property name="toolTip">
274
        <string>Resets the working plane to its next position</string>
275
       </property>
276
       <property name="text">
277
        <string>Next</string>
278
       </property>
279
      </widget>
280
     </item>
281
    </layout>
282
   </item>
283
   <item>
284
    <spacer name="verticalSpacer">
285
     <property name="orientation">
286
      <enum>Qt::Vertical</enum>
287
     </property>
288
     <property name="sizeHint" stdset="0">
289
      <size>
290
       <width>20</width>
291
       <height>40</height>
292
      </size>
293
     </property>
294
    </spacer>
295
   </item>
296
  </layout>
297
 </widget>
298
 <customwidgets>
299
  <customwidget>
300
   <class>Gui::InputField</class>
301
   <extends>QLineEdit</extends>
302
   <header>Gui/InputField.h</header>
303
  </customwidget>
304
  <customwidget>
305
   <class>Gui::ColorButton</class>
306
   <extends>QPushButton</extends>
307
   <header>Gui/Widgets.h</header>
308
  </customwidget>
309
 </customwidgets>
310
 <resources/>
311
 <connections/>
312
</ui>
313

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.