Subversion Repositories OpenInventory

Rev

Rev 217 | Rev 233 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 217 Rev 223
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
2
<ui version="4.0">
3
 <class>MainWindow</class>
3
 <class>MainWindow</class>
4
 <widget class="QMainWindow" name="MainWindow">
4
 <widget class="QMainWindow" name="MainWindow">
5
  <property name="geometry">
5
  <property name="geometry">
6
   <rect>
6
   <rect>
7
    <x>0</x>
7
    <x>0</x>
8
    <y>0</y>
8
    <y>0</y>
9
    <width>1094</width>
9
    <width>1094</width>
10
    <height>691</height>
10
    <height>691</height>
11
   </rect>
11
   </rect>
12
  </property>
12
  </property>
13
  <property name="windowTitle">
13
  <property name="windowTitle">
14
   <string>MainWindow</string>
14
   <string>MainWindow</string>
15
  </property>
15
  </property>
16
  <widget class="QWidget" name="centralWidget">
16
  <widget class="QWidget" name="centralWidget">
17
   <widget class="QWidget" name="verticalLayoutWidget">
17
   <widget class="QWidget" name="verticalLayoutWidget">
18
    <property name="geometry">
18
    <property name="geometry">
19
     <rect>
19
     <rect>
20
      <x>10</x>
20
      <x>10</x>
21
      <y>20</y>
21
      <y>20</y>
22
      <width>1081</width>
22
      <width>1081</width>
23
      <height>611</height>
23
      <height>611</height>
24
     </rect>
24
     </rect>
25
    </property>
25
    </property>
26
    <layout class="QVBoxLayout" name="verticalLayout">
26
    <layout class="QVBoxLayout" name="verticalLayout">
27
     <item>
27
     <item>
28
      <widget class="QTabWidget" name="tabWidget">
28
      <widget class="QTabWidget" name="tabWidget">
29
       <property name="currentIndex">
29
       <property name="currentIndex">
30
        <number>0</number>
30
        <number>0</number>
31
       </property>
31
       </property>
32
       <widget class="QWidget" name="tab">
32
       <widget class="QWidget" name="tab">
33
        <attribute name="title">
33
        <attribute name="title">
34
         <string>Данные</string>
34
         <string>Данные</string>
35
        </attribute>
35
        </attribute>
36
        <widget class="QWidget" name="horizontalLayoutWidget">
36
        <widget class="QWidget" name="horizontalLayoutWidget">
37
         <property name="geometry">
37
         <property name="geometry">
38
          <rect>
38
          <rect>
39
           <x>0</x>
39
           <x>0</x>
40
           <y>10</y>
40
           <y>10</y>
41
           <width>1061</width>
41
           <width>1061</width>
42
           <height>561</height>
42
           <height>561</height>
43
          </rect>
43
          </rect>
44
         </property>
44
         </property>
45
         <layout class="QHBoxLayout" name="horizontalLayout">
45
         <layout class="QHBoxLayout" name="horizontalLayout">
46
          <item>
46
          <item>
47
           <widget class="QTreeWidget" name="treeWidget_2">
47
           <widget class="QTreeWidget" name="treeWidget_2">
48
            <property name="maximumSize">
48
            <property name="maximumSize">
49
             <size>
49
             <size>
50
              <width>400</width>
50
              <width>400</width>
51
              <height>16777215</height>
51
              <height>16777215</height>
52
             </size>
52
             </size>
53
            </property>
53
            </property>
54
            <column>
54
            <column>
55
             <property name="text">
55
             <property name="text">
56
              <string notr="true">1</string>
56
              <string notr="true">1</string>
57
             </property>
57
             </property>
58
            </column>
58
            </column>
59
            <column>
59
            <column>
60
             <property name="text">
60
             <property name="text">
61
              <string>Тип узла</string>
61
              <string>Тип узла</string>
62
             </property>
62
             </property>
63
            </column>
63
            </column>
64
            <column>
64
            <column>
65
             <property name="text">
65
             <property name="text">
66
              <string>ID</string>
66
              <string>ID</string>
67
             </property>
67
             </property>
68
            </column>
68
            </column>
69
            <column>
69
            <column>
70
             <property name="text">
70
             <property name="text">
71
              <string>Хранилище</string>
71
              <string>Хранилище</string>
72
             </property>
72
             </property>
73
            </column>
73
            </column>
74
            <column>
74
            <column>
75
             <property name="text">
75
             <property name="text">
76
              <string>Поле-указатель</string>
76
              <string>Поле-указатель</string>
77
             </property>
77
             </property>
78
            </column>
78
            </column>
-
 
79
            <column>
-
 
80
             <property name="text">
-
 
81
              <string>Фильтр</string>
-
 
82
             </property>
-
 
83
            </column>
79
           </widget>
84
           </widget>
80
          </item>
85
          </item>
81
          <item>
86
          <item>
82
           <layout class="QVBoxLayout" name="verticalLayout_2">
87
           <layout class="QVBoxLayout" name="verticalLayout_2">
83
            <item>
88
            <item>
84
             <widget class="QTableView" name="tableView">
89
             <widget class="QTableView" name="tableView">
85
              <property name="sizePolicy">
90
              <property name="sizePolicy">
86
               <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
91
               <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
87
                <horstretch>3</horstretch>
92
                <horstretch>3</horstretch>
88
                <verstretch>0</verstretch>
93
                <verstretch>0</verstretch>
89
               </sizepolicy>
94
               </sizepolicy>
90
              </property>
95
              </property>
91
             </widget>
96
             </widget>
92
            </item>
97
            </item>
93
            <item>
98
            <item>
94
             <layout class="QHBoxLayout" name="horizontalLayout_2">
99
             <layout class="QHBoxLayout" name="horizontalLayout_2">
95
              <item>
100
              <item>
96
               <layout class="QVBoxLayout" name="verticalLayout_3">
101
               <layout class="QVBoxLayout" name="verticalLayout_3">
97
                <item>
102
                <item>
98
                 <widget class="QPushButton" name="pushButton">
103
                 <widget class="QPushButton" name="pushButton">
99
                  <property name="text">
104
                  <property name="text">
100
                   <string>Добавить новый объект</string>
105
                   <string>Добавить новый объект</string>
101
                  </property>
106
                  </property>
102
                 </widget>
107
                 </widget>
103
                </item>
108
                </item>
104
                <item>
109
                <item>
105
                 <widget class="QPushButton" name="pushButton_3">
110
                 <widget class="QPushButton" name="pushButton_3">
106
                  <property name="text">
111
                  <property name="text">
107
                   <string>Применить</string>
112
                   <string>Применить</string>
108
                  </property>
113
                  </property>
109
                 </widget>
114
                 </widget>
110
                </item>
115
                </item>
111
               </layout>
116
               </layout>
112
              </item>
117
              </item>
113
              <item>
118
              <item>
114
               <spacer name="horizontalSpacer">
119
               <spacer name="horizontalSpacer">
115
                <property name="orientation">
120
                <property name="orientation">
116
                 <enum>Qt::Horizontal</enum>
121
                 <enum>Qt::Horizontal</enum>
117
                </property>
122
                </property>
118
                <property name="sizeHint" stdset="0">
123
                <property name="sizeHint" stdset="0">
119
                 <size>
124
                 <size>
120
                  <width>40</width>
125
                  <width>40</width>
121
                  <height>20</height>
126
                  <height>20</height>
122
                 </size>
127
                 </size>
123
                </property>
128
                </property>
124
               </spacer>
129
               </spacer>
125
              </item>
130
              </item>
126
              <item>
131
              <item>
127
               <layout class="QVBoxLayout" name="verticalLayout_4">
132
               <layout class="QVBoxLayout" name="verticalLayout_4">
128
                <item>
133
                <item>
129
                 <widget class="QPushButton" name="pushButton_2">
134
                 <widget class="QPushButton" name="pushButton_2">
130
                  <property name="text">
135
                  <property name="text">
131
                   <string>Удалить объект</string>
136
                   <string>Удалить объект</string>
132
                  </property>
137
                  </property>
133
                 </widget>
138
                 </widget>
134
                </item>
139
                </item>
135
                <item>
140
                <item>
136
                 <widget class="QPushButton" name="pushButton_4">
141
                 <widget class="QPushButton" name="pushButton_4">
137
                  <property name="text">
142
                  <property name="text">
138
                   <string>Сбросить изменения</string>
143
                   <string>Сбросить изменения</string>
139
                  </property>
144
                  </property>
140
                 </widget>
145
                 </widget>
141
                </item>
146
                </item>
142
               </layout>
147
               </layout>
143
              </item>
148
              </item>
144
             </layout>
149
             </layout>
145
            </item>
150
            </item>
146
           </layout>
151
           </layout>
147
          </item>
152
          </item>
148
         </layout>
153
         </layout>
149
        </widget>
154
        </widget>
150
       </widget>
155
       </widget>
151
       <widget class="QWidget" name="tab_2">
156
       <widget class="QWidget" name="tab_2">
152
        <attribute name="title">
157
        <attribute name="title">
153
         <string>Модели</string>
158
         <string>Модели</string>
154
        </attribute>
159
        </attribute>
155
        <widget class="QWidget" name="horizontalLayoutWidget_2">
160
        <widget class="QWidget" name="horizontalLayoutWidget_2">
156
         <property name="geometry">
161
         <property name="geometry">
157
          <rect>
162
          <rect>
158
           <x>10</x>
163
           <x>10</x>
159
           <y>9</y>
164
           <y>9</y>
160
           <width>1051</width>
165
           <width>1051</width>
161
           <height>561</height>
166
           <height>561</height>
162
          </rect>
167
          </rect>
163
         </property>
168
         </property>
164
         <layout class="QHBoxLayout" name="horizontalLayout_3">
169
         <layout class="QHBoxLayout" name="horizontalLayout_3">
165
          <item>
170
          <item>
166
           <layout class="QVBoxLayout" name="verticalLayout_5">
171
           <layout class="QVBoxLayout" name="verticalLayout_5">
167
            <item>
172
            <item>
168
             <widget class="QTreeWidget" name="treeWidget">
173
             <widget class="QTreeWidget" name="treeWidget">
169
              <column>
174
              <column>
170
               <property name="text">
175
               <property name="text">
171
                <string notr="true">Имя класа</string>
176
                <string notr="true">Имя класа</string>
172
               </property>
177
               </property>
173
              </column>
178
              </column>
174
              <column>
179
              <column>
175
               <property name="text">
180
               <property name="text">
176
                <string>ID класса</string>
181
                <string>ID класса</string>
177
               </property>
182
               </property>
178
              </column>
183
              </column>
179
              <column>
184
              <column>
180
               <property name="text">
185
               <property name="text">
181
                <string>Ном. стр.</string>
186
                <string>Ном. стр.</string>
182
               </property>
187
               </property>
183
              </column>
188
              </column>
184
              <column>
189
              <column>
185
               <property name="text">
190
               <property name="text">
186
                <string>Ур. вл.</string>
191
                <string>Ур. вл.</string>
187
               </property>
192
               </property>
188
              </column>
193
              </column>
189
              <column>
194
              <column>
190
               <property name="text">
195
               <property name="text">
191
                <string>row</string>
196
                <string>row</string>
192
               </property>
197
               </property>
193
              </column>
198
              </column>
194
              <column>
199
              <column>
195
               <property name="text">
200
               <property name="text">
196
                <string>Фильтр</string>
201
                <string>Фильтр</string>
197
               </property>
202
               </property>
198
              </column>
203
              </column>
199
              <column>
204
              <column>
200
               <property name="text">
205
               <property name="text">
201
                <string>ID модели</string>
206
                <string>ID модели</string>
202
               </property>
207
               </property>
203
              </column>
208
              </column>
204
             </widget>
209
             </widget>
205
            </item>
210
            </item>
206
            <item>
211
            <item>
207
             <layout class="QHBoxLayout" name="horizontalLayout_4">
212
             <layout class="QHBoxLayout" name="horizontalLayout_4">
208
              <item>
213
              <item>
209
               <widget class="QComboBox" name="comboBox">
214
               <widget class="QComboBox" name="comboBox">
210
                <property name="enabled">
215
                <property name="enabled">
211
                 <bool>false</bool>
216
                 <bool>false</bool>
212
                </property>
217
                </property>
213
                <property name="editable">
218
                <property name="editable">
214
                 <bool>false</bool>
219
                 <bool>false</bool>
215
                </property>
220
                </property>
216
               </widget>
221
               </widget>
217
              </item>
222
              </item>
218
              <item>
223
              <item>
219
               <widget class="QLabel" name="label">
224
               <widget class="QLabel" name="label">
220
                <property name="text">
225
                <property name="text">
221
                 <string>ID</string>
226
                 <string>ID</string>
222
                </property>
227
                </property>
223
               </widget>
228
               </widget>
224
              </item>
229
              </item>
225
             </layout>
230
             </layout>
226
            </item>
231
            </item>
227
           </layout>
232
           </layout>
228
          </item>
233
          </item>
229
          <item>
234
          <item>
230
           <layout class="QVBoxLayout" name="verticalLayout_8">
235
           <layout class="QVBoxLayout" name="verticalLayout_8">
231
            <item>
236
            <item>
232
             <widget class="QLabel" name="label_2">
237
             <widget class="QLabel" name="label_2">
233
              <property name="font">
238
              <property name="font">
234
               <font>
239
               <font>
235
                <pointsize>16</pointsize>
240
                <pointsize>16</pointsize>
236
                <weight>75</weight>
241
                <weight>75</weight>
237
                <italic>true</italic>
242
                <italic>true</italic>
238
                <bold>true</bold>
243
                <bold>true</bold>
239
               </font>
244
               </font>
240
              </property>
245
              </property>
241
              <property name="text">
246
              <property name="text">
242
               <string>Модели</string>
247
               <string>Модели</string>
243
              </property>
248
              </property>
244
             </widget>
249
             </widget>
245
            </item>
250
            </item>
246
            <item>
251
            <item>
247
             <widget class="QTableView" name="tableView_2"/>
252
             <widget class="QTableView" name="tableView_2"/>
248
            </item>
253
            </item>
249
            <item>
254
            <item>
250
             <layout class="QHBoxLayout" name="horizontalLayout_5">
255
             <layout class="QHBoxLayout" name="horizontalLayout_5">
251
              <item>
256
              <item>
252
               <layout class="QVBoxLayout" name="verticalLayout_6">
257
               <layout class="QVBoxLayout" name="verticalLayout_6">
253
                <item>
258
                <item>
254
                 <widget class="QPushButton" name="pushButton_5">
259
                 <widget class="QPushButton" name="pushButton_5">
255
                  <property name="text">
260
                  <property name="text">
256
                   <string>Добавить модель</string>
261
                   <string>Добавить модель</string>
257
                  </property>
262
                  </property>
258
                 </widget>
263
                 </widget>
259
                </item>
264
                </item>
260
                <item>
265
                <item>
261
                 <widget class="QPushButton" name="pushButton_7">
266
                 <widget class="QPushButton" name="pushButton_7">
262
                  <property name="text">
267
                  <property name="text">
263
                   <string>Применить</string>
268
                   <string>Применить</string>
264
                  </property>
269
                  </property>
265
                 </widget>
270
                 </widget>
266
                </item>
271
                </item>
267
               </layout>
272
               </layout>
268
              </item>
273
              </item>
269
              <item>
274
              <item>
270
               <spacer name="horizontalSpacer_2">
275
               <spacer name="horizontalSpacer_2">
271
                <property name="orientation">
276
                <property name="orientation">
272
                 <enum>Qt::Horizontal</enum>
277
                 <enum>Qt::Horizontal</enum>
273
                </property>
278
                </property>
274
                <property name="sizeHint" stdset="0">
279
                <property name="sizeHint" stdset="0">
275
                 <size>
280
                 <size>
276
                  <width>40</width>
281
                  <width>40</width>
277
                  <height>20</height>
282
                  <height>20</height>
278
                 </size>
283
                 </size>
279
                </property>
284
                </property>
280
               </spacer>
285
               </spacer>
281
              </item>
286
              </item>
282
              <item>
287
              <item>
283
               <layout class="QVBoxLayout" name="verticalLayout_7">
288
               <layout class="QVBoxLayout" name="verticalLayout_7">
284
                <item>
289
                <item>
285
                 <widget class="QPushButton" name="pushButton_6">
290
                 <widget class="QPushButton" name="pushButton_6">
286
                  <property name="text">
291
                  <property name="text">
287
                   <string>Удалить модель</string>
292
                   <string>Удалить модель</string>
288
                  </property>
293
                  </property>
289
                 </widget>
294
                 </widget>
290
                </item>
295
                </item>
291
                <item>
296
                <item>
292
                 <widget class="QPushButton" name="pushButton_8">
297
                 <widget class="QPushButton" name="pushButton_8">
293
                  <property name="text">
298
                  <property name="text">
294
                   <string>Сбросить изменения</string>
299
                   <string>Сбросить изменения</string>
295
                  </property>
300
                  </property>
296
                 </widget>
301
                 </widget>
297
                </item>
302
                </item>
298
               </layout>
303
               </layout>
299
              </item>
304
              </item>
300
             </layout>
305
             </layout>
301
            </item>
306
            </item>
302
            <item>
307
            <item>
303
             <widget class="QLabel" name="label_5">
308
             <widget class="QLabel" name="label_5">
304
              <property name="font">
309
              <property name="font">
305
               <font>
310
               <font>
306
                <pointsize>16</pointsize>
311
                <pointsize>16</pointsize>
307
                <weight>75</weight>
312
                <weight>75</weight>
308
                <italic>true</italic>
313
                <italic>true</italic>
309
                <bold>true</bold>
314
                <bold>true</bold>
310
               </font>
315
               </font>
311
              </property>
316
              </property>
312
              <property name="text">
317
              <property name="text">
313
               <string>Фильтры</string>
318
               <string>Фильтры</string>
314
              </property>
319
              </property>
315
             </widget>
320
             </widget>
316
            </item>
321
            </item>
317
            <item>
322
            <item>
318
             <widget class="QTableView" name="tableView_3"/>
323
             <widget class="QTableView" name="tableView_3"/>
319
            </item>
324
            </item>
320
            <item>
325
            <item>
321
             <layout class="QHBoxLayout" name="horizontalLayout_6">
326
             <layout class="QHBoxLayout" name="horizontalLayout_6">
322
              <item>
327
              <item>
323
               <layout class="QVBoxLayout" name="verticalLayout_9">
328
               <layout class="QVBoxLayout" name="verticalLayout_9">
324
                <item>
329
                <item>
325
                 <widget class="QPushButton" name="pushButton_9">
330
                 <widget class="QPushButton" name="pushButton_9">
326
                  <property name="text">
331
                  <property name="text">
327
                   <string>Добавить фильтр</string>
332
                   <string>Добавить фильтр</string>
328
                  </property>
333
                  </property>
329
                 </widget>
334
                 </widget>
330
                </item>
335
                </item>
331
                <item>
336
                <item>
332
                 <widget class="QPushButton" name="pushButton_11">
337
                 <widget class="QPushButton" name="pushButton_11">
333
                  <property name="text">
338
                  <property name="text">
334
                   <string>Применить</string>
339
                   <string>Применить</string>
335
                  </property>
340
                  </property>
336
                 </widget>
341
                 </widget>
337
                </item>
342
                </item>
338
               </layout>
343
               </layout>
339
              </item>
344
              </item>
340
              <item>
345
              <item>
341
               <spacer name="horizontalSpacer_3">
346
               <spacer name="horizontalSpacer_3">
342
                <property name="orientation">
347
                <property name="orientation">
343
                 <enum>Qt::Horizontal</enum>
348
                 <enum>Qt::Horizontal</enum>
344
                </property>
349
                </property>
345
                <property name="sizeHint" stdset="0">
350
                <property name="sizeHint" stdset="0">
346
                 <size>
351
                 <size>
347
                  <width>40</width>
352
                  <width>40</width>
348
                  <height>20</height>
353
                  <height>20</height>
349
                 </size>
354
                 </size>
350
                </property>
355
                </property>
351
               </spacer>
356
               </spacer>
352
              </item>
357
              </item>
353
              <item>
358
              <item>
354
               <layout class="QVBoxLayout" name="verticalLayout_10">
359
               <layout class="QVBoxLayout" name="verticalLayout_10">
355
                <item>
360
                <item>
356
                 <widget class="QPushButton" name="pushButton_10">
361
                 <widget class="QPushButton" name="pushButton_10">
357
                  <property name="text">
362
                  <property name="text">
358
                   <string>Удалить фильтр</string>
363
                   <string>Удалить фильтр</string>
359
                  </property>
364
                  </property>
360
                 </widget>
365
                 </widget>
361
                </item>
366
                </item>
362
                <item>
367
                <item>
363
                 <widget class="QPushButton" name="pushButton_12">
368
                 <widget class="QPushButton" name="pushButton_12">
364
                  <property name="text">
369
                  <property name="text">
365
                   <string>Сбросить изменения</string>
370
                   <string>Сбросить изменения</string>
366
                  </property>
371
                  </property>
367
                 </widget>
372
                 </widget>
368
                </item>
373
                </item>
369
               </layout>
374
               </layout>
370
              </item>
375
              </item>
371
             </layout>
376
             </layout>
372
            </item>
377
            </item>
373
           </layout>
378
           </layout>
374
          </item>
379
          </item>
375
         </layout>
380
         </layout>
376
        </widget>
381
        </widget>
377
       </widget>
382
       </widget>
378
      </widget>
383
      </widget>
379
     </item>
384
     </item>
380
    </layout>
385
    </layout>
381
   </widget>
386
   </widget>
382
  </widget>
387
  </widget>
383
  <widget class="QMenuBar" name="menuBar">
388
  <widget class="QMenuBar" name="menuBar">
384
   <property name="geometry">
389
   <property name="geometry">
385
    <rect>
390
    <rect>
386
     <x>0</x>
391
     <x>0</x>
387
     <y>0</y>
392
     <y>0</y>
388
     <width>1094</width>
393
     <width>1094</width>
389
     <height>24</height>
394
     <height>24</height>
390
    </rect>
395
    </rect>
391
   </property>
396
   </property>
392
   <widget class="QMenu" name="menu">
397
   <widget class="QMenu" name="menu">
393
    <property name="title">
398
    <property name="title">
394
     <string>База данных</string>
399
     <string>База данных</string>
395
    </property>
400
    </property>
396
    <addaction name="getsettingAct"/>
401
    <addaction name="getsettingAct"/>
397
   </widget>
402
   </widget>
398
   <addaction name="menu"/>
403
   <addaction name="menu"/>
399
  </widget>
404
  </widget>
400
  <widget class="QToolBar" name="mainToolBar">
405
  <widget class="QToolBar" name="mainToolBar">
401
   <attribute name="toolBarArea">
406
   <attribute name="toolBarArea">
402
    <enum>TopToolBarArea</enum>
407
    <enum>TopToolBarArea</enum>
403
   </attribute>
408
   </attribute>
404
   <attribute name="toolBarBreak">
409
   <attribute name="toolBarBreak">
405
    <bool>false</bool>
410
    <bool>false</bool>
406
   </attribute>
411
   </attribute>
407
  </widget>
412
  </widget>
408
  <widget class="QStatusBar" name="statusBar"/>
413
  <widget class="QStatusBar" name="statusBar"/>
409
  <action name="getsettingAct">
414
  <action name="getsettingAct">
410
   <property name="text">
415
   <property name="text">
411
    <string>Параметры соединения</string>
416
    <string>Параметры соединения</string>
412
   </property>
417
   </property>
413
  </action>
418
  </action>
414
 </widget>
419
 </widget>
415
 <layoutdefault spacing="6" margin="11"/>
420
 <layoutdefault spacing="6" margin="11"/>
416
 <resources/>
421
 <resources/>
417
 <connections/>
422
 <connections/>
418
</ui>
423
</ui>