FreeCAD

Форк
0
/
DlgSettingsColorGradient.ui 
383 строки · 10.6 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>Gui::Dialog::DlgSettingsColorGradient</class>
4
 <widget class="QDialog" name="Gui::Dialog::DlgSettingsColorGradient">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>255</width>
10
    <height>313</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>Color-gradient settings</string>
15
  </property>
16
  <property name="sizeGripEnabled">
17
   <bool>true</bool>
18
  </property>
19
  <property name="modal">
20
   <bool>true</bool>
21
  </property>
22
  <layout class="QVBoxLayout" name="verticalLayout">
23
   <item>
24
    <widget class="QGroupBox" name="groupBoxModel">
25
     <property name="title">
26
      <string>Color model</string>
27
     </property>
28
     <layout class="QHBoxLayout" name="horizontalLayout">
29
      <item>
30
       <widget class="QLabel" name="textLabel5">
31
        <property name="text">
32
         <string>&amp;Gradient:</string>
33
        </property>
34
        <property name="buddy">
35
         <cstring>comboBoxModel</cstring>
36
        </property>
37
       </widget>
38
      </item>
39
      <item>
40
       <widget class="QComboBox" name="comboBoxModel">
41
        <item>
42
         <property name="text">
43
          <string>red-yellow-green-cyan-blue</string>
44
         </property>
45
        </item>
46
        <item>
47
         <property name="text">
48
          <string>blue-cyan-green-yellow-red</string>
49
         </property>
50
        </item>
51
        <item>
52
         <property name="text">
53
          <string>white-black</string>
54
         </property>
55
        </item>
56
        <item>
57
         <property name="text">
58
          <string>black-white</string>
59
         </property>
60
        </item>
61
       </widget>
62
      </item>
63
      <item>
64
       <spacer>
65
        <property name="orientation">
66
         <enum>Qt::Horizontal</enum>
67
        </property>
68
        <property name="sizeType">
69
         <enum>QSizePolicy::Expanding</enum>
70
        </property>
71
        <property name="sizeHint" stdset="0">
72
         <size>
73
          <width>3</width>
74
          <height>20</height>
75
         </size>
76
        </property>
77
       </spacer>
78
      </item>
79
     </layout>
80
    </widget>
81
   </item>
82
   <item>
83
    <widget class="QGroupBox" name="buttonGroupStyle">
84
     <property name="title">
85
      <string>Style</string>
86
     </property>
87
     <layout class="QGridLayout">
88
      <property name="leftMargin">
89
       <number>9</number>
90
      </property>
91
      <property name="topMargin">
92
       <number>9</number>
93
      </property>
94
      <property name="rightMargin">
95
       <number>9</number>
96
      </property>
97
      <property name="bottomMargin">
98
       <number>9</number>
99
      </property>
100
      <property name="spacing">
101
       <number>6</number>
102
      </property>
103
      <item row="0" column="0">
104
       <widget class="QRadioButton" name="radioButtonFlow">
105
        <property name="toolTip">
106
         <string>Color gradient is used with its full color range</string>
107
        </property>
108
        <property name="text">
109
         <string>&amp;Flow</string>
110
        </property>
111
        <property name="shortcut">
112
         <string>Alt+F</string>
113
        </property>
114
        <property name="checked">
115
         <bool>true</bool>
116
        </property>
117
       </widget>
118
      </item>
119
      <item row="0" column="1">
120
       <widget class="QRadioButton" name="radioButtonZero">
121
        <property name="toolTip">
122
         <string>Color gradient starts from the zero value</string>
123
        </property>
124
        <property name="text">
125
         <string>&amp;Zero</string>
126
        </property>
127
        <property name="shortcut">
128
         <string>Alt+Z</string>
129
        </property>
130
       </widget>
131
      </item>
132
     </layout>
133
    </widget>
134
   </item>
135
   <item>
136
    <widget class="QGroupBox" name="groupBoxVisible">
137
     <property name="title">
138
      <string>Visibility</string>
139
     </property>
140
     <layout class="QHBoxLayout">
141
      <property name="spacing">
142
       <number>0</number>
143
      </property>
144
      <property name="leftMargin">
145
       <number>11</number>
146
      </property>
147
      <property name="topMargin">
148
       <number>11</number>
149
      </property>
150
      <property name="rightMargin">
151
       <number>11</number>
152
      </property>
153
      <property name="bottomMargin">
154
       <number>11</number>
155
      </property>
156
      <item>
157
       <widget class="QCheckBox" name="checkBoxGrayed">
158
        <property name="toolTip">
159
         <string>Data outside the specified min-max range
160
will be displayed in gray</string>
161
        </property>
162
        <property name="text">
163
         <string>Out g&amp;rayed</string>
164
        </property>
165
        <property name="shortcut">
166
         <string>Alt+R</string>
167
        </property>
168
       </widget>
169
      </item>
170
      <item>
171
       <widget class="QCheckBox" name="checkBoxInvisible">
172
        <property name="toolTip">
173
         <string>Data outside the specified min-max range
174
will be displayed with transparency</string>
175
        </property>
176
        <property name="text">
177
         <string>Out &amp;transparent</string>
178
        </property>
179
        <property name="shortcut">
180
         <string>Alt+I</string>
181
        </property>
182
       </widget>
183
      </item>
184
     </layout>
185
    </widget>
186
   </item>
187
   <item>
188
    <widget class="QGroupBox" name="groupBoxRange">
189
     <property name="title">
190
      <string>Parameter range</string>
191
     </property>
192
     <layout class="QGridLayout" name="gridLayout_2">
193
      <item row="0" column="0" rowspan="2">
194
       <widget class="QLabel" name="textLabelMax">
195
        <property name="text">
196
         <string>Ma&amp;ximum:</string>
197
        </property>
198
        <property name="buddy">
199
         <cstring>floatLineEditMax</cstring>
200
        </property>
201
       </widget>
202
      </item>
203
      <item row="0" column="1" rowspan="2">
204
       <widget class="QLineEdit" name="floatLineEditMax">
205
        <property name="sizePolicy">
206
         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
207
          <horstretch>0</horstretch>
208
          <verstretch>0</verstretch>
209
         </sizepolicy>
210
        </property>
211
        <property name="minimumSize">
212
         <size>
213
          <width>60</width>
214
          <height>0</height>
215
         </size>
216
        </property>
217
        <property name="alignment">
218
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
219
        </property>
220
       </widget>
221
      </item>
222
      <item row="0" column="3">
223
       <spacer>
224
        <property name="orientation">
225
         <enum>Qt::Horizontal</enum>
226
        </property>
227
        <property name="sizeType">
228
         <enum>QSizePolicy::Expanding</enum>
229
        </property>
230
        <property name="sizeHint" stdset="0">
231
         <size>
232
          <width>20</width>
233
          <height>20</height>
234
         </size>
235
        </property>
236
       </spacer>
237
      </item>
238
      <item row="0" column="4" rowspan="2">
239
       <widget class="QLabel" name="textLabel1">
240
        <property name="text">
241
         <string>&amp;Labels:</string>
242
        </property>
243
        <property name="buddy">
244
         <cstring>spinBoxLabel</cstring>
245
        </property>
246
       </widget>
247
      </item>
248
      <item row="0" column="5" rowspan="2">
249
       <widget class="QSpinBox" name="spinBoxLabel">
250
        <property name="minimumSize">
251
         <size>
252
          <width>40</width>
253
          <height>0</height>
254
         </size>
255
        </property>
256
        <property name="toolTip">
257
         <string>Number of labels besides the color bar</string>
258
        </property>
259
        <property name="alignment">
260
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
261
        </property>
262
       </widget>
263
      </item>
264
      <item row="2" column="0">
265
       <widget class="QLabel" name="textLabelMin">
266
        <property name="text">
267
         <string>Mi&amp;nimum:</string>
268
        </property>
269
        <property name="buddy">
270
         <cstring>floatLineEditMin</cstring>
271
        </property>
272
       </widget>
273
      </item>
274
      <item row="2" column="1">
275
       <widget class="QLineEdit" name="floatLineEditMin">
276
        <property name="sizePolicy">
277
         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
278
          <horstretch>0</horstretch>
279
          <verstretch>0</verstretch>
280
         </sizepolicy>
281
        </property>
282
        <property name="minimumSize">
283
         <size>
284
          <width>60</width>
285
          <height>0</height>
286
         </size>
287
        </property>
288
        <property name="alignment">
289
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
290
        </property>
291
       </widget>
292
      </item>
293
      <item row="2" column="4">
294
       <widget class="QLabel" name="textLabel1_2">
295
        <property name="text">
296
         <string>&amp;Decimals:</string>
297
        </property>
298
        <property name="buddy">
299
         <cstring>spinBoxDecimals</cstring>
300
        </property>
301
       </widget>
302
      </item>
303
      <item row="2" column="5">
304
       <widget class="QSpinBox" name="spinBoxDecimals">
305
        <property name="minimumSize">
306
         <size>
307
          <width>40</width>
308
          <height>0</height>
309
         </size>
310
        </property>
311
        <property name="toolTip">
312
         <string>Number of decimals for labels
313
besides the color bar</string>
314
        </property>
315
        <property name="alignment">
316
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
317
        </property>
318
        <property name="maximum">
319
         <number>6</number>
320
        </property>
321
        <property name="value">
322
         <number>2</number>
323
        </property>
324
       </widget>
325
      </item>
326
     </layout>
327
    </widget>
328
   </item>
329
   <item>
330
    <widget class="QDialogButtonBox" name="buttonBox">
331
     <property name="standardButtons">
332
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
333
     </property>
334
    </widget>
335
   </item>
336
  </layout>
337
 </widget>
338
 <layoutdefault spacing="6" margin="11"/>
339
 <tabstops>
340
  <tabstop>comboBoxModel</tabstop>
341
  <tabstop>radioButtonFlow</tabstop>
342
  <tabstop>checkBoxGrayed</tabstop>
343
  <tabstop>checkBoxInvisible</tabstop>
344
  <tabstop>floatLineEditMax</tabstop>
345
  <tabstop>floatLineEditMin</tabstop>
346
  <tabstop>spinBoxLabel</tabstop>
347
 </tabstops>
348
 <resources/>
349
 <connections>
350
  <connection>
351
   <sender>buttonBox</sender>
352
   <signal>accepted()</signal>
353
   <receiver>Gui::Dialog::DlgSettingsColorGradient</receiver>
354
   <slot>accept()</slot>
355
   <hints>
356
    <hint type="sourcelabel">
357
     <x>180</x>
358
     <y>320</y>
359
    </hint>
360
    <hint type="destinationlabel">
361
     <x>180</x>
362
     <y>170</y>
363
    </hint>
364
   </hints>
365
  </connection>
366
  <connection>
367
   <sender>buttonBox</sender>
368
   <signal>rejected()</signal>
369
   <receiver>Gui::Dialog::DlgSettingsColorGradient</receiver>
370
   <slot>reject()</slot>
371
   <hints>
372
    <hint type="sourcelabel">
373
     <x>180</x>
374
     <y>320</y>
375
    </hint>
376
    <hint type="destinationlabel">
377
     <x>180</x>
378
     <y>170</y>
379
    </hint>
380
   </hints>
381
  </connection>
382
 </connections>
383
</ui>
384

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

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

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

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