Generico.ui 15.2 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>Generico</class>
 <widget class="QMainWindow" name="Generico">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>1366</width>
    <height>823</height>
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="minimumSize">
   <size>
    <width>0</width>
    <height>0</height>
   </size>
  </property>
  <property name="windowTitle">
   <string>SADAMAP - Análise de Dados: Etapa 1 - Calibração de Pressão</string>
  </property>
  <property name="styleSheet">
   <string notr="true">background-color:rgb(250, 250, 250);


</string>
  </property>
  <widget class="QWidget" name="centralWidget">
   <property name="sizePolicy">
    <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
     <horstretch>0</horstretch>
     <verstretch>0</verstretch>
    </sizepolicy>
   </property>
   <property name="autoFillBackground">
    <bool>false</bool>
   </property>
   <property name="styleSheet">
    <string notr="true">QGroupBox::title {
	top: 4px;
	left: 4px;
}

QGroupBox {
	border-radius: 4px;
	background-color: rgb(240, 240, 240);
    font-weight: bold;
}</string>
   </property>
   <layout class="QGridLayout" name="gridLayout_6">
    <item row="0" column="0">
     <widget class="QWidget" name="widget" native="true">
      <property name="sizePolicy">
       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="styleSheet">
       <string notr="true"/>
      </property>
      <layout class="QGridLayout" name="gridLayout_2" rowstretch="3,1,2,0" columnstretch="1,1,1,4,0">
       <item row="0" column="0" rowspan="3" colspan="5">
        <widget class="GraphicsLayoutWidget" name="mainGraph">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="styleSheet">
          <string notr="true">border: 2px solid rgb(10, 10, 10);
</string>
         </property>
         <property name="verticalScrollBarPolicy">
          <enum>Qt::ScrollBarAlwaysOff</enum>
         </property>
         <property name="horizontalScrollBarPolicy">
          <enum>Qt::ScrollBarAlwaysOff</enum>
         </property>
        </widget>
       </item>
89
90
       <item row="3" column="0">
        <widget class="QGroupBox" name="absValGBox">
91
92
93
94
95
96
         <property name="sizePolicy">
          <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
97
98
99
100
101
         <property name="font">
          <font>
           <weight>75</weight>
           <bold>true</bold>
          </font>
102
         </property>
103
104
105
         <property name="styleSheet">
          <string notr="true">border: 2px solid rgb(26, 149, 172);
</string>
106
         </property>
107
108
         <property name="title">
          <string>Valores Absolutos</string>
109
         </property>
110
111
112
         <layout class="QVBoxLayout" name="verticalLayout" stretch="0,0">
          <property name="topMargin">
           <number>25</number>
113
          </property>
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
          <item>
           <widget class="QGroupBox" name="calibratorGBox">
            <property name="styleSheet">
             <string notr="true"/>
            </property>
            <property name="title">
             <string>Amostra</string>
            </property>
            <property name="alignment">
             <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set>
            </property>
            <property name="flat">
             <bool>true</bool>
            </property>
            <layout class="QHBoxLayout" name="horizontalLayout">
             <property name="topMargin">
              <number>21</number>
131
             </property>
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
             <item alignment="Qt::AlignRight">
              <widget class="QLabel" name="calibratorLabel">
               <property name="sizePolicy">
                <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
                 <horstretch>0</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="minimumSize">
                <size>
                 <width>150</width>
                 <height>0</height>
                </size>
               </property>
               <property name="styleSheet">
                <string notr="true"/>
               </property>
               <property name="text">
                <string>0 mV</string>
               </property>
              </widget>
             </item>
            </layout>
           </widget>
          </item>
          <item>
           <widget class="QGroupBox" name="forceGBox">
            <property name="styleSheet">
             <string notr="true"/>
            </property>
            <property name="title">
             <string>Pressão</string>
            </property>
            <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0">
             <property name="topMargin">
              <number>21</number>
168
             </property>
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
             <item alignment="Qt::AlignRight">
              <widget class="QLabel" name="forceLabel">
               <property name="sizePolicy">
                <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
                 <horstretch>0</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="minimumSize">
                <size>
                 <width>150</width>
                 <height>0</height>
                </size>
               </property>
               <property name="styleSheet">
                <string notr="true"/>
               </property>
               <property name="text">
                <string>0 Tonf</string>
               </property>
              </widget>
             </item>
            </layout>
           </widget>
          </item>
         </layout>
195
196
        </widget>
       </item>
197
       <item row="3" column="1" colspan="2">
198
199
200
201
202
203
204
205
206
207
208
209
        <widget class="QGroupBox" name="samplingBox">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="styleSheet">
          <string notr="true">border: 2px solid rgb(255, 75, 0);
</string>
         </property>
         <property name="title">
210
          <string/>
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_3">
          <item>
           <widget class="QComboBox" name="samplingCBox">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="styleSheet">
             <string notr="true"/>
            </property>
            <item>
             <property name="text">
              <string>100 mseg</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>200 mseg</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>500 mseg</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>1 seg</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>1.5 seg</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>2 seg</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>2.5 seg</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>5 seg</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>10 seg</string>
             </property>
            </item>
           </widget>
          </item>
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
          <item>
           <widget class="QPushButton" name="pushButton">
            <property name="text">
             <string>PAUSA</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QGroupBox" name="scaleGBox">
            <property name="title">
             <string>Escala</string>
            </property>
            <widget class="QWidget" name="gridLayoutWidget">
             <property name="geometry">
              <rect>
               <x>10</x>
               <y>30</y>
               <width>381</width>
               <height>91</height>
              </rect>
             </property>
             <layout class="QGridLayout" name="grid">
              <item row="1" column="0">
               <widget class="QSpinBox" name="min_pressao">
                <property name="suffix">
                 <string> bar</string>
                </property>
                <property name="prefix">
                 <string/>
                </property>
                <property name="maximum">
                 <number>400</number>
                </property>
               </widget>
              </item>
              <item row="0" column="0">
               <widget class="QSpinBox" name="min_amostra">
                <property name="suffix">
                 <string> mV</string>
                </property>
                <property name="prefix">
                 <string/>
                </property>
                <property name="maximum">
                 <number>255</number>
                </property>
               </widget>
              </item>
              <item row="0" column="1">
               <widget class="QSpinBox" name="max_amostra">
                <property name="suffix">
                 <string> mV</string>
                </property>
                <property name="maximum">
                 <number>256</number>
                </property>
                <property name="value">
                 <number>256</number>
                </property>
               </widget>
              </item>
              <item row="1" column="1">
               <widget class="QSpinBox" name="max_pressao">
                <property name="suffix">
                 <string> bar</string>
                </property>
                <property name="prefix">
                 <string/>
                </property>
                <property name="maximum">
                 <number>400</number>
                </property>
                <property name="value">
                 <number>100</number>
                </property>
               </widget>
              </item>
             </layout>
            </widget>
           </widget>
          </item>
352
353
354
         </layout>
        </widget>
       </item>
355
356
       <item row="3" column="3" colspan="2">
        <widget class="QScrollArea" name="scrollArea">
357
358
359
360
361
362
         <property name="sizePolicy">
          <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
363
364
         <property name="verticalScrollBarPolicy">
          <enum>Qt::ScrollBarAlwaysOn</enum>
365
         </property>
366
367
         <property name="horizontalScrollBarPolicy">
          <enum>Qt::ScrollBarAlwaysOff</enum>
368
         </property>
369
370
         <property name="widgetResizable">
          <bool>false</bool>
371
         </property>
372
373
374
375
376
377
378
379
         <widget class="QWidget" name="scrollAreaWidgetContents">
          <property name="geometry">
           <rect>
            <x>0</x>
            <y>0</y>
            <width>930</width>
            <height>200</height>
           </rect>
380
          </property>
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
          <property name="sizePolicy">
           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <layout class="QGridLayout" name="gridLayout_7">
           <item row="0" column="1">
            <widget class="QLabel" name="consoleView">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="cursor">
              <cursorShape>IBeamCursor</cursorShape>
             </property>
             <property name="styleSheet">
              <string notr="true">padding: 2px;
border: 2px solid rgb(5, 5, 5);
font: 10pt &quot;Liberation Mono&quot;;</string>
             </property>
             <property name="text">
              <string/>
             </property>
             <property name="alignment">
              <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
             </property>
             <property name="wordWrap">
              <bool>true</bool>
             </property>
            </widget>
           </item>
          </layout>
         </widget>
417
418
419
420
421
422
423
424
425
426
427
428
429
        </widget>
       </item>
      </layout>
     </widget>
    </item>
   </layout>
  </widget>
  <widget class="QMenuBar" name="menuBar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>1366</width>
430
     <height>28</height>
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
    </rect>
   </property>
  </widget>
  <widget class="QStatusBar" name="menuStatusBar"/>
  <action name="alternaCalibraP">
   <property name="text">
    <string>Calibração P</string>
   </property>
  </action>
  <action name="alternaCalibraT">
   <property name="text">
    <string>Calibração T</string>
   </property>
  </action>
  <action name="alternaProc">
   <property name="text">
    <string>Processamento</string>
   </property>
  </action>
  <action name="openButton">
   <property name="text">
    <string>Abrir</string>
   </property>
   <property name="iconVisibleInMenu">
    <bool>true</bool>
   </property>
  </action>
  <action name="actionSalvar">
   <property name="text">
    <string>Salvar</string>
   </property>
  </action>
  <action name="actionSalvar_Como">
   <property name="text">
    <string>Salvar Como</string>
   </property>
  </action>
  <action name="saveButton">
   <property name="text">
    <string>Salvar</string>
   </property>
  </action>
  <action name="saveAsButton">
   <property name="text">
    <string>Salvar Como</string>
   </property>
  </action>
  <action name="selectPortaUSB">
   <property name="text">
    <string>Selecionar porta USB</string>
   </property>
  </action>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <customwidgets>
  <customwidget>
   <class>GraphicsLayoutWidget</class>
   <extends>QGraphicsView</extends>
   <header>pyqtgraph</header>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>