Subversion Repositories OpenInventory

Rev

Rev 237 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
88 pingvin 1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>MainWindow</class>
4
 <widget class="QMainWindow" name="MainWindow">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
212 pingvin 9
    <width>1094</width>
217 pingvin 10
    <height>691</height>
88 pingvin 11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>MainWindow</string>
15
  </property>
16
  <widget class="QWidget" name="centralWidget">
205 pingvin 17
   <widget class="QWidget" name="verticalLayoutWidget">
88 pingvin 18
    <property name="geometry">
19
     <rect>
149 pingvin 20
      <x>10</x>
205 pingvin 21
      <y>20</y>
22
      <width>1081</width>
23
      <height>611</height>
88 pingvin 24
     </rect>
25
    </property>
205 pingvin 26
    <layout class="QVBoxLayout" name="verticalLayout">
27
     <item>
28
      <widget class="QTabWidget" name="tabWidget">
29
       <property name="currentIndex">
214 pingvin 30
        <number>0</number>
109 pingvin 31
       </property>
205 pingvin 32
       <widget class="QWidget" name="tab">
33
        <attribute name="title">
34
         <string>Данные</string>
35
        </attribute>
36
        <widget class="QWidget" name="horizontalLayoutWidget">
37
         <property name="geometry">
38
          <rect>
39
           <x>0</x>
40
           <y>10</y>
41
           <width>1061</width>
42
           <height>561</height>
43
          </rect>
44
         </property>
45
         <layout class="QHBoxLayout" name="horizontalLayout">
46
          <item>
47
           <widget class="QTreeWidget" name="treeWidget_2">
48
            <property name="maximumSize">
49
             <size>
50
              <width>400</width>
51
              <height>16777215</height>
52
             </size>
53
            </property>
54
            <column>
55
             <property name="text">
56
              <string notr="true">1</string>
57
             </property>
58
            </column>
59
            <column>
60
             <property name="text">
61
              <string>Тип узла</string>
62
             </property>
63
            </column>
64
            <column>
65
             <property name="text">
66
              <string>ID</string>
67
             </property>
68
            </column>
69
            <column>
70
             <property name="text">
71
              <string>Хранилище</string>
72
             </property>
73
            </column>
74
            <column>
75
             <property name="text">
76
              <string>Поле-указатель</string>
77
             </property>
78
            </column>
223 pingvin 79
            <column>
80
             <property name="text">
81
              <string>Фильтр</string>
82
             </property>
83
            </column>
205 pingvin 84
           </widget>
85
          </item>
86
          <item>
87
           <layout class="QVBoxLayout" name="verticalLayout_2">
88
            <item>
89
             <widget class="QTableView" name="tableView">
90
              <property name="sizePolicy">
91
               <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
92
                <horstretch>3</horstretch>
93
                <verstretch>0</verstretch>
94
               </sizepolicy>
95
              </property>
96
             </widget>
97
            </item>
98
            <item>
99
             <layout class="QHBoxLayout" name="horizontalLayout_2">
100
              <item>
101
               <layout class="QVBoxLayout" name="verticalLayout_3">
102
                <item>
103
                 <widget class="QPushButton" name="pushButton">
104
                  <property name="text">
105
                   <string>Добавить новый объект</string>
106
                  </property>
107
                 </widget>
108
                </item>
109
                <item>
110
                 <widget class="QPushButton" name="pushButton_3">
111
                  <property name="text">
112
                   <string>Применить</string>
113
                  </property>
114
                 </widget>
115
                </item>
116
               </layout>
117
              </item>
118
              <item>
119
               <spacer name="horizontalSpacer">
120
                <property name="orientation">
121
                 <enum>Qt::Horizontal</enum>
122
                </property>
123
                <property name="sizeHint" stdset="0">
124
                 <size>
125
                  <width>40</width>
126
                  <height>20</height>
127
                 </size>
128
                </property>
129
               </spacer>
130
              </item>
131
              <item>
132
               <layout class="QVBoxLayout" name="verticalLayout_4">
133
                <item>
134
                 <widget class="QPushButton" name="pushButton_2">
135
                  <property name="text">
136
                   <string>Удалить объект</string>
137
                  </property>
138
                 </widget>
139
                </item>
140
                <item>
141
                 <widget class="QPushButton" name="pushButton_4">
142
                  <property name="text">
143
                   <string>Сбросить изменения</string>
144
                  </property>
145
                 </widget>
146
                </item>
147
               </layout>
148
              </item>
149
             </layout>
150
            </item>
151
           </layout>
152
          </item>
153
         </layout>
154
        </widget>
155
       </widget>
156
       <widget class="QWidget" name="tab_2">
157
        <attribute name="title">
158
         <string>Модели</string>
159
        </attribute>
160
        <widget class="QWidget" name="horizontalLayoutWidget_2">
161
         <property name="geometry">
162
          <rect>
163
           <x>10</x>
164
           <y>9</y>
165
           <width>1051</width>
166
           <height>561</height>
167
          </rect>
168
         </property>
169
         <layout class="QHBoxLayout" name="horizontalLayout_3">
170
          <item>
171
           <layout class="QVBoxLayout" name="verticalLayout_5">
172
            <item>
173
             <widget class="QTreeWidget" name="treeWidget">
174
              <column>
175
               <property name="text">
176
                <string notr="true">Имя класа</string>
177
               </property>
178
              </column>
179
              <column>
180
               <property name="text">
181
                <string>ID класса</string>
182
               </property>
183
              </column>
184
              <column>
185
               <property name="text">
186
                <string>Ном. стр.</string>
187
               </property>
188
              </column>
189
              <column>
190
               <property name="text">
191
                <string>Ур. вл.</string>
192
               </property>
193
              </column>
194
              <column>
195
               <property name="text">
196
                <string>row</string>
197
               </property>
198
              </column>
209 pingvin 199
              <column>
200
               <property name="text">
201
                <string>Фильтр</string>
202
               </property>
203
              </column>
214 pingvin 204
              <column>
205
               <property name="text">
206
                <string>ID модели</string>
207
               </property>
208
              </column>
205 pingvin 209
             </widget>
210
            </item>
211
            <item>
212
             <layout class="QHBoxLayout" name="horizontalLayout_4">
213
              <item>
214
               <widget class="QComboBox" name="comboBox">
215
                <property name="enabled">
216
                 <bool>false</bool>
217
                </property>
218
                <property name="editable">
219
                 <bool>false</bool>
220
                </property>
221
               </widget>
222
              </item>
223
              <item>
224
               <widget class="QLabel" name="label">
225
                <property name="text">
226
                 <string>ID</string>
227
                </property>
228
               </widget>
229
              </item>
230
             </layout>
231
            </item>
232
           </layout>
233
          </item>
234
          <item>
235
           <layout class="QVBoxLayout" name="verticalLayout_8">
236
            <item>
212 pingvin 237
             <widget class="QLabel" name="label_2">
238
              <property name="font">
239
               <font>
240
                <pointsize>16</pointsize>
241
                <weight>75</weight>
242
                <italic>true</italic>
243
                <bold>true</bold>
244
               </font>
245
              </property>
246
              <property name="text">
247
               <string>Модели</string>
248
              </property>
249
             </widget>
250
            </item>
251
            <item>
205 pingvin 252
             <widget class="QTableView" name="tableView_2"/>
253
            </item>
254
            <item>
255
             <layout class="QHBoxLayout" name="horizontalLayout_5">
256
              <item>
257
               <layout class="QVBoxLayout" name="verticalLayout_6">
258
                <item>
259
                 <widget class="QPushButton" name="pushButton_5">
260
                  <property name="text">
261
                   <string>Добавить модель</string>
262
                  </property>
263
                 </widget>
264
                </item>
265
                <item>
266
                 <widget class="QPushButton" name="pushButton_7">
267
                  <property name="text">
268
                   <string>Применить</string>
269
                  </property>
270
                 </widget>
271
                </item>
272
               </layout>
273
              </item>
274
              <item>
275
               <spacer name="horizontalSpacer_2">
276
                <property name="orientation">
277
                 <enum>Qt::Horizontal</enum>
278
                </property>
279
                <property name="sizeHint" stdset="0">
280
                 <size>
281
                  <width>40</width>
282
                  <height>20</height>
283
                 </size>
284
                </property>
285
               </spacer>
286
              </item>
287
              <item>
288
               <layout class="QVBoxLayout" name="verticalLayout_7">
289
                <item>
290
                 <widget class="QPushButton" name="pushButton_6">
291
                  <property name="text">
292
                   <string>Удалить модель</string>
293
                  </property>
294
                 </widget>
295
                </item>
296
                <item>
297
                 <widget class="QPushButton" name="pushButton_8">
298
                  <property name="text">
299
                   <string>Сбросить изменения</string>
300
                  </property>
301
                 </widget>
302
                </item>
303
               </layout>
304
              </item>
305
             </layout>
306
            </item>
211 pingvin 307
            <item>
308
             <widget class="QLabel" name="label_5">
309
              <property name="font">
310
               <font>
311
                <pointsize>16</pointsize>
312
                <weight>75</weight>
313
                <italic>true</italic>
314
                <bold>true</bold>
315
               </font>
316
              </property>
317
              <property name="text">
212 pingvin 318
               <string>Фильтры</string>
211 pingvin 319
              </property>
320
             </widget>
321
            </item>
322
            <item>
212 pingvin 323
             <widget class="QTableView" name="tableView_3"/>
324
            </item>
325
            <item>
211 pingvin 326
             <layout class="QHBoxLayout" name="horizontalLayout_6">
327
              <item>
217 pingvin 328
               <layout class="QVBoxLayout" name="verticalLayout_9">
329
                <item>
330
                 <widget class="QPushButton" name="pushButton_9">
331
                  <property name="text">
332
                   <string>Добавить фильтр</string>
333
                  </property>
334
                 </widget>
335
                </item>
336
                <item>
337
                 <widget class="QPushButton" name="pushButton_11">
338
                  <property name="text">
339
                   <string>Применить</string>
340
                  </property>
341
                 </widget>
342
                </item>
343
               </layout>
211 pingvin 344
              </item>
345
              <item>
217 pingvin 346
               <spacer name="horizontalSpacer_3">
347
                <property name="orientation">
348
                 <enum>Qt::Horizontal</enum>
211 pingvin 349
                </property>
217 pingvin 350
                <property name="sizeHint" stdset="0">
351
                 <size>
352
                  <width>40</width>
353
                  <height>20</height>
354
                 </size>
355
                </property>
356
               </spacer>
211 pingvin 357
              </item>
217 pingvin 358
              <item>
359
               <layout class="QVBoxLayout" name="verticalLayout_10">
360
                <item>
361
                 <widget class="QPushButton" name="pushButton_10">
362
                  <property name="text">
363
                   <string>Удалить фильтр</string>
364
                  </property>
365
                 </widget>
366
                </item>
367
                <item>
368
                 <widget class="QPushButton" name="pushButton_12">
369
                  <property name="text">
370
                   <string>Сбросить изменения</string>
371
                  </property>
372
                 </widget>
373
                </item>
374
               </layout>
375
              </item>
211 pingvin 376
             </layout>
377
            </item>
205 pingvin 378
           </layout>
379
          </item>
380
         </layout>
381
        </widget>
382
       </widget>
233 pingvin 383
       <widget class="QWidget" name="tab_3">
384
        <attribute name="title">
385
         <string>Отчет</string>
386
        </attribute>
387
        <widget class="QWidget" name="horizontalLayoutWidget_3">
388
         <property name="geometry">
389
          <rect>
390
           <x>10</x>
391
           <y>10</y>
392
           <width>1051</width>
393
           <height>561</height>
394
          </rect>
395
         </property>
396
         <layout class="QHBoxLayout" name="horizontalLayout_7">
397
          <item>
398
           <layout class="QVBoxLayout" name="verticalLayout_11">
399
            <item>
400
             <widget class="QPushButton" name="pushButton_13">
401
              <property name="text">
402
               <string>Сформировать краткий отчёт</string>
403
              </property>
404
             </widget>
405
            </item>
406
            <item>
407
             <widget class="QPushButton" name="pushButton_14">
408
              <property name="text">
409
               <string>Сформировать подробный отчёт</string>
410
              </property>
411
             </widget>
412
            </item>
413
            <item>
414
             <widget class="QPushButton" name="pushButton_15">
415
              <property name="text">
416
               <string>Печать</string>
417
              </property>
418
             </widget>
419
            </item>
420
            <item>
421
             <widget class="QPushButton" name="pushButton_16">
422
              <property name="text">
423
               <string>Печать в PDF</string>
424
              </property>
425
             </widget>
426
            </item>
427
            <item>
428
             <widget class="QPushButton" name="pushButton_17">
429
              <property name="text">
430
               <string>Экспортировать OpenOffice</string>
431
              </property>
432
             </widget>
433
            </item>
434
            <item>
435
             <spacer name="verticalSpacer">
436
              <property name="orientation">
437
               <enum>Qt::Vertical</enum>
438
              </property>
439
              <property name="sizeHint" stdset="0">
440
               <size>
441
                <width>20</width>
442
                <height>40</height>
443
               </size>
444
              </property>
445
             </spacer>
446
            </item>
447
           </layout>
448
          </item>
449
          <item>
450
           <layout class="QVBoxLayout" name="verticalLayout_12">
451
            <item>
452
             <widget class="QTextEdit" name="textEdit"/>
453
            </item>
454
           </layout>
455
          </item>
456
         </layout>
457
        </widget>
458
       </widget>
237 pingvin 459
       <widget class="QWidget" name="tab_4">
460
        <attribute name="title">
461
         <string>WMI</string>
462
        </attribute>
463
        <widget class="QWidget" name="horizontalLayoutWidget_4">
464
         <property name="geometry">
465
          <rect>
466
           <x>9</x>
467
           <y>9</y>
468
           <width>1051</width>
469
           <height>561</height>
470
          </rect>
471
         </property>
472
         <layout class="QHBoxLayout" name="horizontalLayout_8">
473
          <item>
474
           <layout class="QVBoxLayout" name="verticalLayout_13">
475
            <item>
476
             <widget class="QPushButton" name="pushButton_18">
477
              <property name="text">
478
               <string>Выполнить WMI запрос</string>
479
              </property>
480
             </widget>
481
            </item>
482
            <item>
238 pingvin 483
             <widget class="QLabel" name="label_3">
484
              <property name="text">
485
               <string>Выберете WMI-класс</string>
486
              </property>
487
             </widget>
488
            </item>
489
            <item>
490
             <widget class="QComboBox" name="comboBox_2">
491
              <item>
492
               <property name="text">
493
                <string>Win32_Fan</string>
494
               </property>
495
              </item>
496
              <item>
497
               <property name="text">
498
                <string>Win32_VideoController</string>
499
               </property>
500
              </item>
501
              <item>
502
               <property name="text">
503
                <string>Win32_TemperatureProbe</string>
504
               </property>
505
              </item>
506
              <item>
507
               <property name="text">
508
                <string>Win32_CDROMDrive</string>
509
               </property>
510
              </item>
511
              <item>
512
               <property name="text">
513
                <string>Win32_DiskDrive</string>
514
               </property>
515
              </item>
516
              <item>
517
               <property name="text">
518
                <string>Win32_FloppyDisk</string>
519
               </property>
520
              </item>
521
              <item>
522
               <property name="text">
523
                <string>Win32_MotherboardDevice</string>
524
               </property>
525
              </item>
526
              <item>
527
               <property name="text">
528
                <string>Win32_BIOS</string>
529
               </property>
530
              </item>
531
              <item>
532
               <property name="text">
533
                <string>Win32_PhysicalMemory</string>
534
               </property>
535
              </item>
536
              <item>
537
               <property name="text">
538
                <string>Win32_Processor</string>
539
               </property>
540
              </item>
541
              <item>
542
               <property name="text">
543
                <string>Win32_NetworkAdapter</string>
544
               </property>
545
              </item>
546
              <item>
547
               <property name="text">
548
                <string>Win32_OperatingSystem</string>
549
               </property>
550
              </item>
551
             </widget>
552
            </item>
553
            <item>
237 pingvin 554
             <spacer name="verticalSpacer_2">
555
              <property name="orientation">
556
               <enum>Qt::Vertical</enum>
557
              </property>
558
              <property name="sizeHint" stdset="0">
559
               <size>
560
                <width>20</width>
561
                <height>40</height>
562
               </size>
563
              </property>
564
             </spacer>
565
            </item>
566
           </layout>
567
          </item>
568
          <item>
569
           <layout class="QVBoxLayout" name="verticalLayout_14">
570
            <item>
571
             <widget class="QTextEdit" name="textEdit_2"/>
572
            </item>
573
           </layout>
574
          </item>
575
         </layout>
576
        </widget>
577
       </widget>
205 pingvin 578
      </widget>
579
     </item>
580
    </layout>
114 pingvin 581
   </widget>
88 pingvin 582
  </widget>
583
  <widget class="QMenuBar" name="menuBar">
584
   <property name="geometry">
585
    <rect>
586
     <x>0</x>
587
     <y>0</y>
212 pingvin 588
     <width>1094</width>
237 pingvin 589
     <height>20</height>
88 pingvin 590
    </rect>
591
   </property>
132 pingvin 592
   <widget class="QMenu" name="menu">
593
    <property name="title">
594
     <string>База данных</string>
595
    </property>
596
    <addaction name="getsettingAct"/>
597
   </widget>
598
   <addaction name="menu"/>
88 pingvin 599
  </widget>
600
  <widget class="QToolBar" name="mainToolBar">
601
   <attribute name="toolBarArea">
602
    <enum>TopToolBarArea</enum>
603
   </attribute>
604
   <attribute name="toolBarBreak">
605
    <bool>false</bool>
606
   </attribute>
607
  </widget>
608
  <widget class="QStatusBar" name="statusBar"/>
132 pingvin 609
  <action name="getsettingAct">
610
   <property name="text">
611
    <string>Параметры соединения</string>
612
   </property>
613
  </action>
88 pingvin 614
 </widget>
615
 <layoutdefault spacing="6" margin="11"/>
616
 <resources/>
617
 <connections/>
618
</ui>