Subversion Repositories OpenInventory

Rev

Rev 192 | Rev 209 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 192 Rev 205
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>1098</width>
9
    <width>1103</width>
10
    <height>697</height>
10
    <height>710</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="QTabWidget" name="tabWidget">
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>10</y>
21
      <y>20</y>
22
      <width>1071</width>
22
      <width>1081</width>
23
      <height>591</height>
23
      <height>611</height>
24
     </rect>
24
     </rect>
25
    </property>
25
    </property>
-
 
26
    <layout class="QVBoxLayout" name="verticalLayout">
-
 
27
     <item>
-
 
28
      <widget class="QTabWidget" name="tabWidget">
26
    <property name="currentIndex">
29
       <property name="currentIndex">
27
     <number>1</number>
30
        <number>0</number>
28
    </property>
31
       </property>
29
    <widget class="QWidget" name="tab">
32
       <widget class="QWidget" name="tab">
30
     <attribute name="title">
33
        <attribute name="title">
31
      <string>Данные</string>
34
         <string>Данные</string>
32
     </attribute>
35
        </attribute>
33
     <widget class="QTreeWidget" name="treeWidget_2">
36
        <widget class="QWidget" name="horizontalLayoutWidget">
34
      <property name="geometry">
37
         <property name="geometry">
35
       <rect>
38
          <rect>
36
        <x>10</x>
39
           <x>0</x>
37
        <y>10</y>
40
           <y>10</y>
38
        <width>491</width>
41
           <width>1061</width>
39
        <height>451</height>
42
           <height>561</height>
40
       </rect>
43
          </rect>
41
      </property>
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>
42
      <column>
54
            <column>
43
       <property name="text">
55
             <property name="text">
44
        <string notr="true">1</string>
56
              <string notr="true">1</string>
45
       </property>
57
             </property>
46
      </column>
58
            </column>
47
      <column>
59
            <column>
48
       <property name="text">
60
             <property name="text">
49
        <string>Тип узла</string>
61
              <string>Тип узла</string>
50
       </property>
62
             </property>
51
      </column>
63
            </column>
52
      <column>
64
            <column>
53
       <property name="text">
65
             <property name="text">
54
        <string>ID</string>
66
              <string>ID</string>
55
       </property>
67
             </property>
56
      </column>
68
            </column>
57
      <column>
69
            <column>
58
       <property name="text">
70
             <property name="text">
59
        <string>Хранилище</string>
71
              <string>Хранилище</string>
60
       </property>
72
             </property>
61
      </column>
73
            </column>
62
      <column>
74
            <column>
63
       <property name="text">
75
             <property name="text">
64
        <string>Поле-указатель</string>
76
              <string>Поле-указатель</string>
65
       </property>
77
             </property>
66
      </column>
78
            </column>
67
     </widget>
79
           </widget>
68
     <widget class="QPushButton" name="pushButton">
-
 
69
      <property name="geometry">
80
          </item>
70
       <rect>
81
          <item>
-
 
82
           <layout class="QVBoxLayout" name="verticalLayout_2">
71
        <x>530</x>
83
            <item>
-
 
84
             <widget class="QTableView" name="tableView">
72
        <y>450</y>
85
              <property name="sizePolicy">
-
 
86
               <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
73
        <width>251</width>
87
                <horstretch>3</horstretch>
74
        <height>30</height>
88
                <verstretch>0</verstretch>
75
       </rect>
89
               </sizepolicy>
76
      </property>
90
              </property>
-
 
91
             </widget>
-
 
92
            </item>
-
 
93
            <item>
-
 
94
             <layout class="QHBoxLayout" name="horizontalLayout_2">
-
 
95
              <item>
-
 
96
               <layout class="QVBoxLayout" name="verticalLayout_3">
-
 
97
                <item>
-
 
98
                 <widget class="QPushButton" name="pushButton">
77
      <property name="text">
99
                  <property name="text">
78
       <string>Добавить новый объект</string>
100
                   <string>Добавить новый объект</string>
79
      </property>
101
                  </property>
80
     </widget>
102
                 </widget>
-
 
103
                </item>
-
 
104
                <item>
81
     <widget class="QPushButton" name="pushButton_3">
105
                 <widget class="QPushButton" name="pushButton_3">
82
      <property name="geometry">
-
 
83
       <rect>
-
 
84
        <x>530</x>
-
 
85
        <y>490</y>
-
 
86
        <width>151</width>
-
 
87
        <height>30</height>
-
 
88
       </rect>
-
 
89
      </property>
-
 
90
      <property name="text">
106
                  <property name="text">
91
       <string>Применить</string>
107
                   <string>Применить</string>
92
      </property>
108
                  </property>
93
     </widget>
109
                 </widget>
-
 
110
                </item>
-
 
111
               </layout>
-
 
112
              </item>
-
 
113
              <item>
-
 
114
               <spacer name="horizontalSpacer">
-
 
115
                <property name="orientation">
-
 
116
                 <enum>Qt::Horizontal</enum>
-
 
117
                </property>
-
 
118
                <property name="sizeHint" stdset="0">
-
 
119
                 <size>
-
 
120
                  <width>40</width>
-
 
121
                  <height>20</height>
-
 
122
                 </size>
-
 
123
                </property>
-
 
124
               </spacer>
-
 
125
              </item>
-
 
126
              <item>
-
 
127
               <layout class="QVBoxLayout" name="verticalLayout_4">
-
 
128
                <item>
94
     <widget class="QPushButton" name="pushButton_2">
129
                 <widget class="QPushButton" name="pushButton_2">
95
      <property name="geometry">
-
 
96
       <rect>
-
 
97
        <x>850</x>
-
 
98
        <y>450</y>
-
 
99
        <width>211</width>
-
 
100
        <height>30</height>
-
 
101
       </rect>
-
 
102
      </property>
-
 
103
      <property name="text">
130
                  <property name="text">
104
       <string>Удалить объект</string>
131
                   <string>Удалить объект</string>
105
      </property>
132
                  </property>
106
     </widget>
133
                 </widget>
-
 
134
                </item>
-
 
135
                <item>
107
     <widget class="QPushButton" name="pushButton_4">
136
                 <widget class="QPushButton" name="pushButton_4">
108
      <property name="geometry">
-
 
109
       <rect>
-
 
110
        <x>850</x>
-
 
111
        <y>490</y>
-
 
112
        <width>211</width>
-
 
113
        <height>30</height>
-
 
114
       </rect>
-
 
115
      </property>
-
 
116
      <property name="text">
137
                  <property name="text">
117
       <string>Сбросить изменения</string>
138
                   <string>Сбросить изменения</string>
118
      </property>
139
                  </property>
119
     </widget>
140
                 </widget>
120
     <widget class="QTableView" name="tableView">
-
 
121
      <property name="geometry">
141
                </item>
122
       <rect>
142
               </layout>
123
        <x>510</x>
143
              </item>
124
        <y>10</y>
144
             </layout>
125
        <width>551</width>
145
            </item>
126
        <height>431</height>
146
           </layout>
127
       </rect>
147
          </item>
128
      </property>
148
         </layout>
129
     </widget>
149
        </widget>
130
    </widget>
150
       </widget>
131
    <widget class="QWidget" name="tab_2">
151
       <widget class="QWidget" name="tab_2">
132
     <attribute name="title">
152
        <attribute name="title">
133
      <string>Модели</string>
153
         <string>Модели</string>
134
     </attribute>
154
        </attribute>
135
     <widget class="QTreeWidget" name="treeWidget">
155
        <widget class="QWidget" name="horizontalLayoutWidget_2">
136
      <property name="geometry">
156
         <property name="geometry">
137
       <rect>
157
          <rect>
138
        <x>10</x>
158
           <x>10</x>
139
        <y>10</y>
159
           <y>9</y>
140
        <width>471</width>
160
           <width>1051</width>
141
        <height>451</height>
161
           <height>561</height>
142
       </rect>
162
          </rect>
143
      </property>
163
         </property>
-
 
164
         <layout class="QHBoxLayout" name="horizontalLayout_3">
-
 
165
          <item>
-
 
166
           <layout class="QVBoxLayout" name="verticalLayout_5">
-
 
167
            <item>
-
 
168
             <widget class="QTreeWidget" name="treeWidget">
144
      <column>
169
              <column>
145
       <property name="text">
170
               <property name="text">
146
        <string notr="true">Имя класа</string>
171
                <string notr="true">Имя класа</string>
147
       </property>
172
               </property>
148
      </column>
173
              </column>
149
      <column>
174
              <column>
150
       <property name="text">
175
               <property name="text">
151
        <string>ID класса</string>
176
                <string>ID класса</string>
152
       </property>
177
               </property>
153
      </column>
178
              </column>
154
      <column>
179
              <column>
155
       <property name="text">
180
               <property name="text">
156
        <string>Ном. стр.</string>
181
                <string>Ном. стр.</string>
157
       </property>
182
               </property>
158
      </column>
183
              </column>
159
      <column>
184
              <column>
160
       <property name="text">
185
               <property name="text">
161
        <string>Ур. вл.</string>
186
                <string>Ур. вл.</string>
162
       </property>
187
               </property>
163
      </column>
188
              </column>
164
      <column>
189
              <column>
165
       <property name="text">
190
               <property name="text">
166
        <string>row</string>
191
                <string>row</string>
167
       </property>
192
               </property>
168
      </column>
193
              </column>
169
     </widget>
194
             </widget>
-
 
195
            </item>
-
 
196
            <item>
-
 
197
             <layout class="QHBoxLayout" name="horizontalLayout_4">
-
 
198
              <item>
170
     <widget class="QComboBox" name="comboBox">
199
               <widget class="QComboBox" name="comboBox">
171
      <property name="enabled">
200
                <property name="enabled">
172
       <bool>false</bool>
201
                 <bool>false</bool>
173
      </property>
202
                </property>
174
      <property name="geometry">
-
 
175
       <rect>
-
 
176
        <x>10</x>
-
 
177
        <y>480</y>
-
 
178
        <width>381</width>
-
 
179
        <height>31</height>
-
 
180
       </rect>
-
 
181
      </property>
-
 
182
      <property name="editable">
203
                <property name="editable">
183
       <bool>false</bool>
204
                 <bool>false</bool>
184
      </property>
205
                </property>
185
     </widget>
206
               </widget>
-
 
207
              </item>
-
 
208
              <item>
186
     <widget class="QLabel" name="label">
209
               <widget class="QLabel" name="label">
187
      <property name="geometry">
-
 
188
       <rect>
-
 
189
        <x>420</x>
-
 
190
        <y>480</y>
-
 
191
        <width>78</width>
-
 
192
        <height>21</height>
-
 
193
       </rect>
-
 
194
      </property>
-
 
195
      <property name="text">
210
                <property name="text">
196
       <string>ID</string>
211
                 <string>ID</string>
197
      </property>
212
                </property>
198
     </widget>
213
               </widget>
-
 
214
              </item>
-
 
215
             </layout>
-
 
216
            </item>
-
 
217
           </layout>
-
 
218
          </item>
-
 
219
          <item>
-
 
220
           <layout class="QVBoxLayout" name="verticalLayout_8">
-
 
221
            <item>
-
 
222
             <widget class="QTableView" name="tableView_2"/>
-
 
223
            </item>
-
 
224
            <item>
-
 
225
             <layout class="QHBoxLayout" name="horizontalLayout_5">
-
 
226
              <item>
-
 
227
               <layout class="QVBoxLayout" name="verticalLayout_6">
-
 
228
                <item>
199
     <widget class="QPushButton" name="pushButton_5">
229
                 <widget class="QPushButton" name="pushButton_5">
200
      <property name="geometry">
-
 
201
       <rect>
-
 
202
        <x>490</x>
-
 
203
        <y>450</y>
-
 
204
        <width>191</width>
-
 
205
        <height>30</height>
-
 
206
       </rect>
-
 
207
      </property>
-
 
208
      <property name="text">
230
                  <property name="text">
209
       <string>Добавить модель</string>
231
                   <string>Добавить модель</string>
210
      </property>
232
                  </property>
211
     </widget>
233
                 </widget>
-
 
234
                </item>
-
 
235
                <item>
212
     <widget class="QPushButton" name="pushButton_7">
236
                 <widget class="QPushButton" name="pushButton_7">
213
      <property name="geometry">
-
 
214
       <rect>
-
 
215
        <x>490</x>
-
 
216
        <y>490</y>
-
 
217
        <width>130</width>
-
 
218
        <height>30</height>
-
 
219
       </rect>
-
 
220
      </property>
-
 
221
      <property name="text">
237
                  <property name="text">
222
       <string>Применить</string>
238
                   <string>Применить</string>
223
      </property>
239
                  </property>
224
     </widget>
240
                 </widget>
-
 
241
                </item>
-
 
242
               </layout>
-
 
243
              </item>
-
 
244
              <item>
-
 
245
               <spacer name="horizontalSpacer_2">
-
 
246
                <property name="orientation">
-
 
247
                 <enum>Qt::Horizontal</enum>
-
 
248
                </property>
-
 
249
                <property name="sizeHint" stdset="0">
-
 
250
                 <size>
-
 
251
                  <width>40</width>
-
 
252
                  <height>20</height>
-
 
253
                 </size>
-
 
254
                </property>
-
 
255
               </spacer>
-
 
256
              </item>
-
 
257
              <item>
-
 
258
               <layout class="QVBoxLayout" name="verticalLayout_7">
-
 
259
                <item>
225
     <widget class="QPushButton" name="pushButton_6">
260
                 <widget class="QPushButton" name="pushButton_6">
226
      <property name="geometry">
-
 
227
       <rect>
-
 
228
        <x>830</x>
-
 
229
        <y>450</y>
-
 
230
        <width>221</width>
-
 
231
        <height>30</height>
-
 
232
       </rect>
-
 
233
      </property>
-
 
234
      <property name="text">
261
                  <property name="text">
235
       <string>Удалить модель</string>
262
                   <string>Удалить модель</string>
236
      </property>
263
                  </property>
237
     </widget>
264
                 </widget>
-
 
265
                </item>
-
 
266
                <item>
238
     <widget class="QPushButton" name="pushButton_8">
267
                 <widget class="QPushButton" name="pushButton_8">
239
      <property name="geometry">
-
 
240
       <rect>
-
 
241
        <x>840</x>
-
 
242
        <y>490</y>
-
 
243
        <width>211</width>
-
 
244
        <height>30</height>
-
 
245
       </rect>
-
 
246
      </property>
-
 
247
      <property name="text">
268
                  <property name="text">
248
       <string>Сбросить изменения</string>
269
                   <string>Сбросить изменения</string>
249
      </property>
270
                  </property>
250
     </widget>
271
                 </widget>
251
     <widget class="QTableView" name="tableView_2">
272
                </item>
252
      <property name="geometry">
273
               </layout>
253
       <rect>
274
              </item>
254
        <x>490</x>
275
             </layout>
255
        <y>10</y>
276
            </item>
256
        <width>561</width>
277
           </layout>
257
        <height>431</height>
278
          </item>
258
       </rect>
279
         </layout>
259
      </property>
280
        </widget>
260
     </widget>
281
       </widget>
261
    </widget>
282
      </widget>
-
 
283
     </item>
-
 
284
    </layout>
262
   </widget>
285
   </widget>
263
  </widget>
286
  </widget>
264
  <widget class="QMenuBar" name="menuBar">
287
  <widget class="QMenuBar" name="menuBar">
265
   <property name="geometry">
288
   <property name="geometry">
266
    <rect>
289
    <rect>
267
     <x>0</x>
290
     <x>0</x>
268
     <y>0</y>
291
     <y>0</y>
269
     <width>1098</width>
292
     <width>1103</width>
270
     <height>27</height>
293
     <height>27</height>
271
    </rect>
294
    </rect>
272
   </property>
295
   </property>
273
   <widget class="QMenu" name="menu">
296
   <widget class="QMenu" name="menu">
274
    <property name="title">
297
    <property name="title">
275
     <string>База данных</string>
298
     <string>База данных</string>
276
    </property>
299
    </property>
277
    <addaction name="getsettingAct"/>
300
    <addaction name="getsettingAct"/>
278
   </widget>
301
   </widget>
279
   <addaction name="menu"/>
302
   <addaction name="menu"/>
280
  </widget>
303
  </widget>
281
  <widget class="QToolBar" name="mainToolBar">
304
  <widget class="QToolBar" name="mainToolBar">
282
   <attribute name="toolBarArea">
305
   <attribute name="toolBarArea">
283
    <enum>TopToolBarArea</enum>
306
    <enum>TopToolBarArea</enum>
284
   </attribute>
307
   </attribute>
285
   <attribute name="toolBarBreak">
308
   <attribute name="toolBarBreak">
286
    <bool>false</bool>
309
    <bool>false</bool>
287
   </attribute>
310
   </attribute>
288
  </widget>
311
  </widget>
289
  <widget class="QStatusBar" name="statusBar"/>
312
  <widget class="QStatusBar" name="statusBar"/>
290
  <action name="getsettingAct">
313
  <action name="getsettingAct">
291
   <property name="text">
314
   <property name="text">
292
    <string>Параметры соединения</string>
315
    <string>Параметры соединения</string>
293
   </property>
316
   </property>
294
  </action>
317
  </action>
295
 </widget>
318
 </widget>
296
 <layoutdefault spacing="6" margin="11"/>
319
 <layoutdefault spacing="6" margin="11"/>
297
 <resources/>
320
 <resources/>
298
 <connections/>
321
 <connections/>
299
</ui>
322
</ui>