OSDN Git Service

Fix of previous commit.
[lamexp/LameXP.git] / gui / MetaInfo.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MetaInfo</class>
4  <widget class="QDialog" name="MetaInfo">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>621</width>
10     <height>420</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Meta Information</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout_2">
17    <property name="margin">
18     <number>0</number>
19    </property>
20    <item>
21     <layout class="QVBoxLayout" name="verticalLayout">
22      <property name="spacing">
23       <number>0</number>
24      </property>
25      <item>
26       <widget class="QFrame" name="headerFrame">
27        <property name="minimumSize">
28         <size>
29          <width>0</width>
30          <height>64</height>
31         </size>
32        </property>
33        <property name="maximumSize">
34         <size>
35          <width>16777215</width>
36          <height>64</height>
37         </size>
38        </property>
39        <property name="palette">
40         <palette>
41          <active>
42           <colorrole role="Base">
43            <brush brushstyle="SolidPattern">
44             <color alpha="255">
45              <red>255</red>
46              <green>255</green>
47              <blue>255</blue>
48             </color>
49            </brush>
50           </colorrole>
51           <colorrole role="Window">
52            <brush brushstyle="SolidPattern">
53             <color alpha="255">
54              <red>255</red>
55              <green>255</green>
56              <blue>255</blue>
57             </color>
58            </brush>
59           </colorrole>
60          </active>
61          <inactive>
62           <colorrole role="Base">
63            <brush brushstyle="SolidPattern">
64             <color alpha="255">
65              <red>255</red>
66              <green>255</green>
67              <blue>255</blue>
68             </color>
69            </brush>
70           </colorrole>
71           <colorrole role="Window">
72            <brush brushstyle="SolidPattern">
73             <color alpha="255">
74              <red>255</red>
75              <green>255</green>
76              <blue>255</blue>
77             </color>
78            </brush>
79           </colorrole>
80          </inactive>
81          <disabled>
82           <colorrole role="Base">
83            <brush brushstyle="SolidPattern">
84             <color alpha="255">
85              <red>255</red>
86              <green>255</green>
87              <blue>255</blue>
88             </color>
89            </brush>
90           </colorrole>
91           <colorrole role="Window">
92            <brush brushstyle="SolidPattern">
93             <color alpha="255">
94              <red>255</red>
95              <green>255</green>
96              <blue>255</blue>
97             </color>
98            </brush>
99           </colorrole>
100          </disabled>
101         </palette>
102        </property>
103        <property name="autoFillBackground">
104         <bool>true</bool>
105        </property>
106        <property name="frameShape">
107         <enum>QFrame::NoFrame</enum>
108        </property>
109        <property name="frameShadow">
110         <enum>QFrame::Raised</enum>
111        </property>
112        <layout class="QHBoxLayout" name="horizontalLayout_3">
113         <item>
114          <layout class="QHBoxLayout" name="horizontalLayout_2">
115           <item>
116            <widget class="QLabel" name="label">
117             <property name="maximumSize">
118              <size>
119               <width>56</width>
120               <height>16777215</height>
121              </size>
122             </property>
123             <property name="text">
124              <string/>
125             </property>
126             <property name="pixmap">
127              <pixmap resource="../res/Images.qrc">:/images/HeaderIcon_MetaInfo.png</pixmap>
128             </property>
129            </widget>
130           </item>
131           <item>
132            <widget class="QLabel" name="labelHeaderText">
133             <property name="font">
134              <font>
135               <weight>50</weight>
136               <bold>false</bold>
137              </font>
138             </property>
139             <property name="text">
140              <string notr="true">&lt;b&gt;HEADER&lt;/b&gt;&lt;br&gt;(more header text)</string>
141             </property>
142            </widget>
143           </item>
144          </layout>
145         </item>
146        </layout>
147       </widget>
148      </item>
149      <item>
150       <widget class="QFrame" name="frame">
151        <property name="maximumSize">
152         <size>
153          <width>16777215</width>
154          <height>2</height>
155         </size>
156        </property>
157        <property name="frameShape">
158         <enum>QFrame::HLine</enum>
159        </property>
160        <property name="frameShadow">
161         <enum>QFrame::Sunken</enum>
162        </property>
163       </widget>
164      </item>
165      <item>
166       <layout class="QVBoxLayout" name="verticalLayout_3">
167        <property name="spacing">
168         <number>6</number>
169        </property>
170        <property name="margin">
171         <number>9</number>
172        </property>
173        <item>
174         <widget class="QTableView" name="tableView">
175          <property name="contextMenuPolicy">
176           <enum>Qt::CustomContextMenu</enum>
177          </property>
178          <property name="selectionMode">
179           <enum>QAbstractItemView::SingleSelection</enum>
180          </property>
181          <property name="selectionBehavior">
182           <enum>QAbstractItemView::SelectRows</enum>
183          </property>
184          <property name="wordWrap">
185           <bool>false</bool>
186          </property>
187          <attribute name="horizontalHeaderHighlightSections">
188           <bool>false</bool>
189          </attribute>
190          <attribute name="verticalHeaderHighlightSections">
191           <bool>false</bool>
192          </attribute>
193         </widget>
194        </item>
195        <item>
196         <widget class="QFrame" name="frameArtwork">
197          <property name="contextMenuPolicy">
198           <enum>Qt::CustomContextMenu</enum>
199          </property>
200          <property name="frameShape">
201           <enum>QFrame::Box</enum>
202          </property>
203          <property name="frameShadow">
204           <enum>QFrame::Sunken</enum>
205          </property>
206          <property name="lineWidth">
207           <number>1</number>
208          </property>
209          <layout class="QGridLayout" name="gridLayout_2">
210           <item row="0" column="0">
211            <layout class="QGridLayout" name="gridLayout">
212             <property name="spacing">
213              <number>0</number>
214             </property>
215             <item row="0" column="1">
216              <spacer name="verticalSpacer_2">
217               <property name="orientation">
218                <enum>Qt::Vertical</enum>
219               </property>
220               <property name="sizeHint" stdset="0">
221                <size>
222                 <width>20</width>
223                 <height>40</height>
224                </size>
225               </property>
226              </spacer>
227             </item>
228             <item row="2" column="1">
229              <spacer name="verticalSpacer">
230               <property name="orientation">
231                <enum>Qt::Vertical</enum>
232               </property>
233               <property name="sizeHint" stdset="0">
234                <size>
235                 <width>20</width>
236                 <height>40</height>
237                </size>
238               </property>
239              </spacer>
240             </item>
241             <item row="1" column="1">
242              <widget class="QFrame" name="frameArtworkInner">
243               <property name="frameShape">
244                <enum>QFrame::Box</enum>
245               </property>
246               <property name="frameShadow">
247                <enum>QFrame::Raised</enum>
248               </property>
249               <layout class="QVBoxLayout" name="verticalLayout_5">
250                <property name="spacing">
251                 <number>0</number>
252                </property>
253                <property name="margin">
254                 <number>0</number>
255                </property>
256                <item>
257                 <layout class="QVBoxLayout" name="verticalLayout_4">
258                  <property name="spacing">
259                   <number>0</number>
260                  </property>
261                  <property name="leftMargin">
262                   <number>0</number>
263                  </property>
264                  <item>
265                   <widget class="QLabel" name="labelArtwork">
266                    <property name="contextMenuPolicy">
267                     <enum>Qt::CustomContextMenu</enum>
268                    </property>
269                    <property name="text">
270                     <string notr="true">(ARTWORK)</string>
271                    </property>
272                   </widget>
273                  </item>
274                 </layout>
275                </item>
276               </layout>
277              </widget>
278             </item>
279             <item row="1" column="2">
280              <spacer name="horizontalSpacer_3">
281               <property name="orientation">
282                <enum>Qt::Horizontal</enum>
283               </property>
284               <property name="sizeHint" stdset="0">
285                <size>
286                 <width>40</width>
287                 <height>20</height>
288                </size>
289               </property>
290              </spacer>
291             </item>
292             <item row="1" column="0">
293              <spacer name="horizontalSpacer_5">
294               <property name="orientation">
295                <enum>Qt::Horizontal</enum>
296               </property>
297               <property name="sizeHint" stdset="0">
298                <size>
299                 <width>40</width>
300                 <height>20</height>
301                </size>
302               </property>
303              </spacer>
304             </item>
305            </layout>
306           </item>
307          </layout>
308         </widget>
309        </item>
310        <item>
311         <layout class="QHBoxLayout" name="horizontalLayout">
312          <item>
313           <widget class="QPushButton" name="buttonArtwork">
314            <property name="minimumSize">
315             <size>
316              <width>90</width>
317              <height>0</height>
318             </size>
319            </property>
320            <property name="text">
321             <string>Artwork</string>
322            </property>
323            <property name="icon">
324             <iconset resource="../res/Icons.qrc">
325              <normaloff>:/icons/photo.png</normaloff>:/icons/photo.png</iconset>
326            </property>
327            <property name="iconSize">
328             <size>
329              <width>16</width>
330              <height>16</height>
331             </size>
332            </property>
333            <property name="checkable">
334             <bool>true</bool>
335            </property>
336            <property name="autoDefault">
337             <bool>false</bool>
338            </property>
339           </widget>
340          </item>
341          <item>
342           <spacer name="horizontalSpacer">
343            <property name="orientation">
344             <enum>Qt::Horizontal</enum>
345            </property>
346            <property name="sizeHint" stdset="0">
347             <size>
348              <width>40</width>
349              <height>20</height>
350             </size>
351            </property>
352           </spacer>
353          </item>
354          <item>
355           <widget class="QPushButton" name="upButton">
356            <property name="text">
357             <string/>
358            </property>
359            <property name="icon">
360             <iconset resource="../res/Icons.qrc">
361              <normaloff>:/icons/arrow_up.png</normaloff>:/icons/arrow_up.png</iconset>
362            </property>
363            <property name="iconSize">
364             <size>
365              <width>16</width>
366              <height>16</height>
367             </size>
368            </property>
369            <property name="autoDefault">
370             <bool>false</bool>
371            </property>
372           </widget>
373          </item>
374          <item>
375           <widget class="QPushButton" name="downButton">
376            <property name="text">
377             <string/>
378            </property>
379            <property name="icon">
380             <iconset resource="../res/Icons.qrc">
381              <normaloff>:/icons/arrow_down.png</normaloff>:/icons/arrow_down.png</iconset>
382            </property>
383            <property name="iconSize">
384             <size>
385              <width>16</width>
386              <height>16</height>
387             </size>
388            </property>
389            <property name="autoDefault">
390             <bool>false</bool>
391            </property>
392           </widget>
393          </item>
394          <item>
395           <spacer name="horizontalSpacer_2">
396            <property name="orientation">
397             <enum>Qt::Horizontal</enum>
398            </property>
399            <property name="sizeType">
400             <enum>QSizePolicy::Fixed</enum>
401            </property>
402            <property name="sizeHint" stdset="0">
403             <size>
404              <width>10</width>
405              <height>20</height>
406             </size>
407            </property>
408           </spacer>
409          </item>
410          <item>
411           <widget class="QPushButton" name="editButton">
412            <property name="minimumSize">
413             <size>
414              <width>90</width>
415              <height>0</height>
416             </size>
417            </property>
418            <property name="text">
419             <string>Edit</string>
420            </property>
421            <property name="icon">
422             <iconset resource="../res/Icons.qrc">
423              <normaloff>:/icons/table_edit.png</normaloff>:/icons/table_edit.png</iconset>
424            </property>
425            <property name="iconSize">
426             <size>
427              <width>16</width>
428              <height>16</height>
429             </size>
430            </property>
431            <property name="autoDefault">
432             <bool>false</bool>
433            </property>
434           </widget>
435          </item>
436          <item>
437           <widget class="QPushButton" name="closeButton">
438            <property name="minimumSize">
439             <size>
440              <width>90</width>
441              <height>0</height>
442             </size>
443            </property>
444            <property name="text">
445             <string>Close</string>
446            </property>
447            <property name="icon">
448             <iconset resource="../res/Icons.qrc">
449              <normaloff>:/icons/cross.png</normaloff>:/icons/cross.png</iconset>
450            </property>
451            <property name="iconSize">
452             <size>
453              <width>16</width>
454              <height>16</height>
455             </size>
456            </property>
457            <property name="autoDefault">
458             <bool>false</bool>
459            </property>
460           </widget>
461          </item>
462         </layout>
463        </item>
464       </layout>
465      </item>
466     </layout>
467    </item>
468   </layout>
469  </widget>
470  <tabstops>
471   <tabstop>closeButton</tabstop>
472   <tabstop>upButton</tabstop>
473   <tabstop>downButton</tabstop>
474   <tabstop>editButton</tabstop>
475   <tabstop>tableView</tabstop>
476  </tabstops>
477  <resources>
478   <include location="../res/Icons.qrc"/>
479   <include location="../res/Images.qrc"/>
480   <include location="../res/Images.qrc"/>
481   <include location="../res/Images.qrc"/>
482   <include location="../res/Images.qrc"/>
483   <include location="../res/Images.qrc"/>
484   <include location="../res/Images.qrc"/>
485   <include location="../res/Images.qrc"/>
486   <include location="../res/Images.qrc"/>
487   <include location="../res/Images.qrc"/>
488   <include location="../res/Images.qrc"/>
489   <include location="../res/Images.qrc"/>
490   <include location="../res/Images.qrc"/>
491   <include location="../res/Images.qrc"/>
492   <include location="../res/Images.qrc"/>
493   <include location="../res/Images.qrc"/>
494   <include location="../res/Images.qrc"/>
495   <include location="../res/Images.qrc"/>
496   <include location="../res/Images.qrc"/>
497   <include location="../res/Images.qrc"/>
498   <include location="../res/Images.qrc"/>
499   <include location="../res/Images.qrc"/>
500   <include location="../res/Images.qrc"/>
501   <include location="../res/Images.qrc"/>
502   <include location="../res/Images.qrc"/>
503   <include location="../res/Images.qrc"/>
504   <include location="../res/Images.qrc"/>
505  </resources>
506  <connections>
507   <connection>
508    <sender>closeButton</sender>
509    <signal>clicked()</signal>
510    <receiver>MetaInfo</receiver>
511    <slot>close()</slot>
512    <hints>
513     <hint type="sourcelabel">
514      <x>609</x>
515      <y>408</y>
516     </hint>
517     <hint type="destinationlabel">
518      <x>310</x>
519      <y>240</y>
520     </hint>
521    </hints>
522   </connection>
523   <connection>
524    <sender>tableView</sender>
525    <signal>activated(QModelIndex)</signal>
526    <receiver>editButton</receiver>
527    <slot>click()</slot>
528    <hints>
529     <hint type="sourcelabel">
530      <x>310</x>
531      <y>226</y>
532     </hint>
533     <hint type="destinationlabel">
534      <x>468</x>
535      <y>396</y>
536     </hint>
537    </hints>
538   </connection>
539   <connection>
540    <sender>buttonArtwork</sender>
541    <signal>clicked(bool)</signal>
542    <receiver>tableView</receiver>
543    <slot>setHidden(bool)</slot>
544    <hints>
545     <hint type="sourcelabel">
546      <x>55</x>
547      <y>396</y>
548     </hint>
549     <hint type="destinationlabel">
550      <x>310</x>
551      <y>217</y>
552     </hint>
553    </hints>
554   </connection>
555   <connection>
556    <sender>buttonArtwork</sender>
557    <signal>clicked(bool)</signal>
558    <receiver>frameArtwork</receiver>
559    <slot>setVisible(bool)</slot>
560    <hints>
561     <hint type="sourcelabel">
562      <x>55</x>
563      <y>396</y>
564     </hint>
565     <hint type="destinationlabel">
566      <x>310</x>
567      <y>360</y>
568     </hint>
569    </hints>
570   </connection>
571  </connections>
572 </ui>