FreeCAD

Форк
0
/
TaskPanel_PolarArray.ui 
271 строка · 8.8 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>DraftPolarArrayTaskPanel</class>
4
 <widget class="QWidget" name="DraftPolarArrayTaskPanel">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>445</width>
10
    <height>488</height>
11
   </rect>
12
  </property>
13
  <property name="sizePolicy">
14
   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
15
    <horstretch>0</horstretch>
16
    <verstretch>0</verstretch>
17
   </sizepolicy>
18
  </property>
19
  <property name="minimumSize">
20
   <size>
21
    <width>250</width>
22
    <height>0</height>
23
   </size>
24
  </property>
25
  <property name="windowTitle">
26
   <string>Polar array</string>
27
  </property>
28
  <layout class="QGridLayout" name="gridLayout_3">
29
   <item row="1" column="0">
30
    <widget class="QGroupBox" name="main_group">
31
     <property name="sizePolicy">
32
      <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
33
       <horstretch>0</horstretch>
34
       <verstretch>0</verstretch>
35
      </sizepolicy>
36
     </property>
37
     <property name="title">
38
      <string/>
39
     </property>
40
     <layout class="QGridLayout" name="gridLayout_4">
41
      <item row="0" column="0">
42
       <widget class="QLabel" name="label_icon">
43
        <property name="text">
44
         <string notr="true">(Placeholder for the icon)</string>
45
        </property>
46
       </widget>
47
      </item>
48
     <item row="1" column="0">
49
       <layout class="QGridLayout" name="grid_values">
50
        <item row="0" column="0">
51
         <widget class="QLabel" name="label_angle">
52
          <property name="toolTip">
53
           <string>Sweeping angle of the polar distribution.
54
A negative angle produces a polar pattern in the opposite direction.
55
The maximum absolute value is 360 degrees.</string>
56
          </property>
57
          <property name="text">
58
           <string>Polar angle</string>
59
          </property>
60
         </widget>
61
        </item>
62
        <item row="0" column="1">
63
         <widget class="Gui::QuantitySpinBox" name="spinbox_angle">
64
          <property name="toolTip">
65
           <string>Sweeping angle of the polar distribution.
66
A negative angle produces a polar pattern in the opposite direction.
67
The maximum absolute value is 360 degrees.</string>
68
          </property>
69
          <property name="unit" stdset="0">
70
           <string notr="true"/>
71
          </property>
72
          <property name="minimum">
73
           <double>-360.000000000000000</double>
74
          </property>
75
          <property name="maximum">
76
           <double>360.000000000000000</double>
77
          </property>
78
          <property name="value">
79
           <double>360.000000000000000</double>
80
          </property>
81
         </widget>
82
        </item>
83
        <item row="1" column="0">
84
         <widget class="QLabel" name="label_number">
85
          <property name="toolTip">
86
           <string>Number of elements in the array, including a copy of the original object.
87
It must be at least 2.</string>
88
          </property>
89
          <property name="text">
90
           <string>Number of elements</string>
91
          </property>
92
         </widget>
93
        </item>
94
        <item row="1" column="1">
95
         <widget class="QSpinBox" name="spinbox_number">
96
          <property name="toolTip">
97
           <string>Number of elements in the array, including a copy of the original object.
98
It must be at least 2.</string>
99
          </property>
100
          <property name="minimum">
101
           <number>2</number>
102
          </property>
103
          <property name="maximum">
104
           <number>1000000</number>
105
          </property>
106
          <property name="value">
107
           <number>5</number>
108
          </property>
109
         </widget>
110
        </item>
111
       </layout>
112
      </item>
113
      <item row="5" column="0">
114
       <widget class="QGroupBox" name="group_center">
115
        <property name="toolTip">
116
         <string>The coordinates of the point through which the axis of rotation passes.
117
Change the direction of the axis itself in the property editor.</string>
118
        </property>
119
        <property name="title">
120
         <string>Center of rotation</string>
121
        </property>
122
        <layout class="QGridLayout" name="gridLayout_2">
123
         <item row="0" column="0">
124
          <layout class="QGridLayout" name="grid_center">
125
           <item row="0" column="0">
126
            <widget class="QLabel" name="label_c_x">
127
             <property name="text">
128
              <string>X</string>
129
             </property>
130
            </widget>
131
           </item>
132
           <item row="0" column="1">
133
            <widget class="Gui::InputField" name="input_c_x">
134
             <property name="sizePolicy">
135
              <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
136
               <horstretch>0</horstretch>
137
               <verstretch>0</verstretch>
138
              </sizepolicy>
139
             </property>
140
             <property name="unit" stdset="0">
141
              <string notr="true"/>
142
             </property>
143
            </widget>
144
           </item>
145
           <item row="1" column="0">
146
            <widget class="QLabel" name="label_c_y">
147
             <property name="text">
148
              <string>Y</string>
149
             </property>
150
            </widget>
151
           </item>
152
          <item row="1" column="1">
153
            <widget class="Gui::InputField" name="input_c_y">
154
             <property name="sizePolicy">
155
              <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
156
               <horstretch>0</horstretch>
157
               <verstretch>0</verstretch>
158
              </sizepolicy>
159
             </property>
160
             <property name="unit" stdset="0">
161
              <string notr="true"/>
162
             </property>
163
            </widget>
164
           </item>
165
           <item row="2" column="0">
166
            <widget class="QLabel" name="label_c_z">
167
             <property name="text">
168
              <string>Z</string>
169
             </property>
170
            </widget>
171
           </item>
172
           <item row="2" column="1">
173
            <widget class="Gui::InputField" name="input_c_z">
174
             <property name="sizePolicy">
175
              <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
176
               <horstretch>0</horstretch>
177
               <verstretch>0</verstretch>
178
              </sizepolicy>
179
             </property>
180
             <property name="unit" stdset="0">
181
              <string notr="true"/>
182
             </property>
183
            </widget>
184
           </item>
185
           </layout>
186
         </item>
187
         <item row="1" column="0">
188
          <widget class="QPushButton" name="button_reset">
189
           <property name="toolTip">
190
            <string>Reset the coordinates of the center of rotation.</string>
191
           </property>
192
           <property name="text">
193
            <string>Reset point</string>
194
           </property>
195
          </widget>
196
         </item>
197
        </layout>
198
       </widget>
199
      </item>
200
      <item row="6" column="0">
201
       <layout class="QVBoxLayout" name="vertical_layout">
202
        <item>
203
         <widget class="QCheckBox" name="checkbox_fuse">
204
          <property name="toolTip">
205
           <string>If checked, the resulting objects in the array will be fused if they touch each other.
206
This only works if "Link array" is off.</string>
207
          </property>
208
          <property name="text">
209
           <string>Fuse</string>
210
          </property>
211
         </widget>
212
        </item>
213
        <item>
214
         <widget class="QCheckBox" name="checkbox_link">
215
          <property name="toolTip">
216
           <string>If checked, the resulting object will be a "Link array" instead of a regular array.
217
A Link array is more efficient when creating multiple copies, but it cannot be fused together.</string>
218
          </property>
219
          <property name="text">
220
           <string>Link array</string>
221
          </property>
222
          <property name="checked">
223
           <bool>true</bool>
224
          </property>
225
         </widget>
226
        </item>
227
       </layout>
228
      </item>
229
      <item row="9" column="0">
230
       <spacer name="verticalSpacer">
231
        <property name="orientation">
232
         <enum>Qt::Vertical</enum>
233
        </property>
234
        <property name="sizeHint" stdset="0">
235
         <size>
236
          <width>20</width>
237
          <height>40</height>
238
         </size>
239
        </property>
240
       </spacer>
241
      </item>
242
      </layout>
243
    </widget>
244
   </item>
245
  </layout>
246
 </widget>
247
 <customwidgets>
248
  <customwidget>
249
   <class>Gui::InputField</class>
250
   <extends>QLineEdit</extends>
251
   <header>Gui/InputField.h</header>
252
  </customwidget>
253
  <customwidget>
254
   <class>Gui::QuantitySpinBox</class>
255
   <extends>QWidget</extends>
256
   <header>Gui/QuantitySpinBox.h</header>
257
  </customwidget>
258
 </customwidgets>
259
 <tabstops>
260
  <tabstop>spinbox_angle</tabstop>
261
  <tabstop>spinbox_number</tabstop>
262
  <tabstop>input_c_x</tabstop>
263
  <tabstop>input_c_y</tabstop>
264
  <tabstop>input_c_z</tabstop>
265
  <tabstop>button_reset</tabstop>
266
  <tabstop>checkbox_fuse</tabstop>
267
  <tabstop>checkbox_link</tabstop>
268
 </tabstops>
269
 <resources/>
270
 <connections/>
271
</ui>
272

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

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

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

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