OSDN Git Service

Added a button for loading a different Cue Sheet to the Cue Sheet importer dialog.
[lamexp/LameXP.git] / gui / CueSheetImport.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>CueSheetImport</class>
4  <widget class="QDialog" name="CueSheetImport">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>700</width>
10     <height>463</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Import Cue Sheet</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_CueImport.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>8</number>
169        </property>
170        <property name="margin">
171         <number>9</number>
172        </property>
173        <item>
174         <layout class="QVBoxLayout" name="verticalLayout_4">
175          <property name="spacing">
176           <number>2</number>
177          </property>
178          <item>
179           <widget class="QTreeView" name="treeView">
180            <property name="alternatingRowColors">
181             <bool>true</bool>
182            </property>
183            <property name="selectionMode">
184             <enum>QAbstractItemView::SingleSelection</enum>
185            </property>
186            <property name="selectionBehavior">
187             <enum>QAbstractItemView::SelectRows</enum>
188            </property>
189            <property name="uniformRowHeights">
190             <bool>true</bool>
191            </property>
192            <property name="allColumnsShowFocus">
193             <bool>true</bool>
194            </property>
195            <attribute name="headerStretchLastSection">
196             <bool>false</bool>
197            </attribute>
198           </widget>
199          </item>
200          <item>
201           <layout class="QHBoxLayout" name="horizontalLayout_6">
202            <item>
203             <widget class="QFrame" name="frame_4">
204              <property name="minimumSize">
205               <size>
206                <width>16</width>
207                <height>16</height>
208               </size>
209              </property>
210              <property name="maximumSize">
211               <size>
212                <width>16</width>
213                <height>16</height>
214               </size>
215              </property>
216              <property name="palette">
217               <palette>
218                <active>
219                 <colorrole role="Base">
220                  <brush brushstyle="SolidPattern">
221                   <color alpha="255">
222                    <red>255</red>
223                    <green>255</green>
224                    <blue>255</blue>
225                   </color>
226                  </brush>
227                 </colorrole>
228                 <colorrole role="Window">
229                  <brush brushstyle="SolidPattern">
230                   <color alpha="255">
231                    <red>0</red>
232                    <green>0</green>
233                    <blue>255</blue>
234                   </color>
235                  </brush>
236                 </colorrole>
237                </active>
238                <inactive>
239                 <colorrole role="Base">
240                  <brush brushstyle="SolidPattern">
241                   <color alpha="255">
242                    <red>255</red>
243                    <green>255</green>
244                    <blue>255</blue>
245                   </color>
246                  </brush>
247                 </colorrole>
248                 <colorrole role="Window">
249                  <brush brushstyle="SolidPattern">
250                   <color alpha="255">
251                    <red>0</red>
252                    <green>0</green>
253                    <blue>255</blue>
254                   </color>
255                  </brush>
256                 </colorrole>
257                </inactive>
258                <disabled>
259                 <colorrole role="Base">
260                  <brush brushstyle="SolidPattern">
261                   <color alpha="255">
262                    <red>0</red>
263                    <green>0</green>
264                    <blue>255</blue>
265                   </color>
266                  </brush>
267                 </colorrole>
268                 <colorrole role="Window">
269                  <brush brushstyle="SolidPattern">
270                   <color alpha="255">
271                    <red>0</red>
272                    <green>0</green>
273                    <blue>255</blue>
274                   </color>
275                  </brush>
276                 </colorrole>
277                </disabled>
278               </palette>
279              </property>
280              <property name="autoFillBackground">
281               <bool>true</bool>
282              </property>
283              <property name="frameShape">
284               <enum>QFrame::StyledPanel</enum>
285              </property>
286              <property name="frameShadow">
287               <enum>QFrame::Plain</enum>
288              </property>
289             </widget>
290            </item>
291            <item>
292             <spacer name="horizontalSpacer_4">
293              <property name="orientation">
294               <enum>Qt::Horizontal</enum>
295              </property>
296              <property name="sizeType">
297               <enum>QSizePolicy::Fixed</enum>
298              </property>
299              <property name="sizeHint" stdset="0">
300               <size>
301                <width>4</width>
302                <height>20</height>
303               </size>
304              </property>
305             </spacer>
306            </item>
307            <item>
308             <widget class="QLabel" name="label_3">
309              <property name="text">
310               <string>Existing Source File</string>
311              </property>
312             </widget>
313            </item>
314            <item>
315             <spacer name="horizontalSpacer_3">
316              <property name="orientation">
317               <enum>Qt::Horizontal</enum>
318              </property>
319              <property name="sizeType">
320               <enum>QSizePolicy::Fixed</enum>
321              </property>
322              <property name="sizeHint" stdset="0">
323               <size>
324                <width>12</width>
325                <height>20</height>
326               </size>
327              </property>
328             </spacer>
329            </item>
330            <item>
331             <widget class="QFrame" name="frame_3">
332              <property name="minimumSize">
333               <size>
334                <width>16</width>
335                <height>16</height>
336               </size>
337              </property>
338              <property name="maximumSize">
339               <size>
340                <width>16</width>
341                <height>16</height>
342               </size>
343              </property>
344              <property name="palette">
345               <palette>
346                <active>
347                 <colorrole role="Base">
348                  <brush brushstyle="SolidPattern">
349                   <color alpha="255">
350                    <red>255</red>
351                    <green>255</green>
352                    <blue>255</blue>
353                   </color>
354                  </brush>
355                 </colorrole>
356                 <colorrole role="Window">
357                  <brush brushstyle="SolidPattern">
358                   <color alpha="255">
359                    <red>170</red>
360                    <green>0</green>
361                    <blue>0</blue>
362                   </color>
363                  </brush>
364                 </colorrole>
365                </active>
366                <inactive>
367                 <colorrole role="Base">
368                  <brush brushstyle="SolidPattern">
369                   <color alpha="255">
370                    <red>255</red>
371                    <green>255</green>
372                    <blue>255</blue>
373                   </color>
374                  </brush>
375                 </colorrole>
376                 <colorrole role="Window">
377                  <brush brushstyle="SolidPattern">
378                   <color alpha="255">
379                    <red>170</red>
380                    <green>0</green>
381                    <blue>0</blue>
382                   </color>
383                  </brush>
384                 </colorrole>
385                </inactive>
386                <disabled>
387                 <colorrole role="Base">
388                  <brush brushstyle="SolidPattern">
389                   <color alpha="255">
390                    <red>170</red>
391                    <green>0</green>
392                    <blue>0</blue>
393                   </color>
394                  </brush>
395                 </colorrole>
396                 <colorrole role="Window">
397                  <brush brushstyle="SolidPattern">
398                   <color alpha="255">
399                    <red>170</red>
400                    <green>0</green>
401                    <blue>0</blue>
402                   </color>
403                  </brush>
404                 </colorrole>
405                </disabled>
406               </palette>
407              </property>
408              <property name="autoFillBackground">
409               <bool>true</bool>
410              </property>
411              <property name="frameShape">
412               <enum>QFrame::StyledPanel</enum>
413              </property>
414              <property name="frameShadow">
415               <enum>QFrame::Plain</enum>
416              </property>
417             </widget>
418            </item>
419            <item>
420             <spacer name="horizontalSpacer_5">
421              <property name="orientation">
422               <enum>Qt::Horizontal</enum>
423              </property>
424              <property name="sizeType">
425               <enum>QSizePolicy::Fixed</enum>
426              </property>
427              <property name="sizeHint" stdset="0">
428               <size>
429                <width>4</width>
430                <height>20</height>
431               </size>
432              </property>
433             </spacer>
434            </item>
435            <item>
436             <widget class="QLabel" name="label_2">
437              <property name="text">
438               <string>Missing Source File (Tracks will be skipped!)</string>
439              </property>
440             </widget>
441            </item>
442            <item>
443             <spacer name="horizontalSpacer_2">
444              <property name="orientation">
445               <enum>Qt::Horizontal</enum>
446              </property>
447              <property name="sizeHint" stdset="0">
448               <size>
449                <width>40</width>
450                <height>20</height>
451               </size>
452              </property>
453             </spacer>
454            </item>
455           </layout>
456          </item>
457         </layout>
458        </item>
459        <item>
460         <widget class="QGroupBox" name="groupBoxArtwork">
461          <property name="contextMenuPolicy">
462           <enum>Qt::CustomContextMenu</enum>
463          </property>
464          <property name="title">
465           <string> Output Directory </string>
466          </property>
467          <layout class="QHBoxLayout" name="horizontalLayout_5">
468           <item>
469            <layout class="QHBoxLayout" name="horizontalLayout_4">
470             <item>
471              <widget class="QLineEdit" name="editOutputDir">
472               <property name="frame">
473                <bool>true</bool>
474               </property>
475               <property name="readOnly">
476                <bool>true</bool>
477               </property>
478              </widget>
479             </item>
480             <item>
481              <widget class="QPushButton" name="browseButton">
482               <property name="minimumSize">
483                <size>
484                 <width>90</width>
485                 <height>0</height>
486                </size>
487               </property>
488               <property name="text">
489                <string>Browse...</string>
490               </property>
491               <property name="icon">
492                <iconset resource="../res/Icons.qrc">
493                 <normaloff>:/icons/folder_explore.png</normaloff>:/icons/folder_explore.png</iconset>
494               </property>
495               <property name="autoDefault">
496                <bool>false</bool>
497               </property>
498              </widget>
499             </item>
500            </layout>
501           </item>
502          </layout>
503         </widget>
504        </item>
505        <item>
506         <widget class="QFrame" name="frame_2">
507          <property name="frameShape">
508           <enum>QFrame::HLine</enum>
509          </property>
510          <property name="frameShadow">
511           <enum>QFrame::Sunken</enum>
512          </property>
513         </widget>
514        </item>
515        <item>
516         <layout class="QHBoxLayout" name="horizontalLayout">
517          <item>
518           <widget class="QPushButton" name="loadOtherButton">
519            <property name="minimumSize">
520             <size>
521              <width>175</width>
522              <height>0</height>
523             </size>
524            </property>
525            <property name="text">
526             <string>Load a different Cue Sheet</string>
527            </property>
528            <property name="icon">
529             <iconset resource="../res/Icons.qrc">
530              <normaloff>:/icons/folder_explore.png</normaloff>:/icons/folder_explore.png</iconset>
531            </property>
532            <property name="autoDefault">
533             <bool>false</bool>
534            </property>
535           </widget>
536          </item>
537          <item>
538           <spacer name="horizontalSpacer">
539            <property name="orientation">
540             <enum>Qt::Horizontal</enum>
541            </property>
542            <property name="sizeHint" stdset="0">
543             <size>
544              <width>40</width>
545              <height>20</height>
546             </size>
547            </property>
548           </spacer>
549          </item>
550          <item>
551           <widget class="QPushButton" name="imprtButton">
552            <property name="minimumSize">
553             <size>
554              <width>130</width>
555              <height>0</height>
556             </size>
557            </property>
558            <property name="text">
559             <string>Import Cue Sheet</string>
560            </property>
561            <property name="icon">
562             <iconset resource="../res/Icons.qrc">
563              <normaloff>:/icons/add.png</normaloff>:/icons/add.png</iconset>
564            </property>
565            <property name="iconSize">
566             <size>
567              <width>16</width>
568              <height>16</height>
569             </size>
570            </property>
571           </widget>
572          </item>
573          <item>
574           <widget class="QPushButton" name="abortButton">
575            <property name="minimumSize">
576             <size>
577              <width>90</width>
578              <height>0</height>
579             </size>
580            </property>
581            <property name="text">
582             <string>Discard</string>
583            </property>
584            <property name="icon">
585             <iconset resource="../res/Icons.qrc">
586              <normaloff>:/icons/cross.png</normaloff>:/icons/cross.png</iconset>
587            </property>
588            <property name="iconSize">
589             <size>
590              <width>16</width>
591              <height>16</height>
592             </size>
593            </property>
594            <property name="autoDefault">
595             <bool>false</bool>
596            </property>
597           </widget>
598          </item>
599         </layout>
600        </item>
601       </layout>
602      </item>
603     </layout>
604    </item>
605   </layout>
606  </widget>
607  <tabstops>
608   <tabstop>imprtButton</tabstop>
609   <tabstop>abortButton</tabstop>
610   <tabstop>editOutputDir</tabstop>
611   <tabstop>browseButton</tabstop>
612  </tabstops>
613  <resources>
614   <include location="../res/Icons.qrc"/>
615   <include location="../res/Images.qrc"/>
616   <include location="../res/Images.qrc"/>
617   <include location="../res/Images.qrc"/>
618   <include location="../res/Images.qrc"/>
619   <include location="../res/Images.qrc"/>
620   <include location="../res/Images.qrc"/>
621   <include location="../res/Images.qrc"/>
622   <include location="../res/Images.qrc"/>
623   <include location="../res/Images.qrc"/>
624   <include location="../res/Images.qrc"/>
625   <include location="../res/Images.qrc"/>
626   <include location="../res/Images.qrc"/>
627   <include location="../res/Images.qrc"/>
628   <include location="../res/Images.qrc"/>
629   <include location="../res/Images.qrc"/>
630   <include location="../res/Images.qrc"/>
631   <include location="../res/Images.qrc"/>
632   <include location="../res/Images.qrc"/>
633   <include location="../res/Images.qrc"/>
634   <include location="../res/Images.qrc"/>
635   <include location="../res/Images.qrc"/>
636   <include location="../res/Images.qrc"/>
637   <include location="../res/Images.qrc"/>
638   <include location="../res/Images.qrc"/>
639   <include location="../res/Images.qrc"/>
640   <include location="../res/Images.qrc"/>
641   <include location="../res/Images.qrc"/>
642   <include location="../res/Images.qrc"/>
643   <include location="../res/Images.qrc"/>
644   <include location="../res/Images.qrc"/>
645   <include location="../res/Images.qrc"/>
646   <include location="../res/Images.qrc"/>
647   <include location="../res/Images.qrc"/>
648   <include location="../res/Images.qrc"/>
649   <include location="../res/Images.qrc"/>
650  </resources>
651  <connections>
652   <connection>
653    <sender>abortButton</sender>
654    <signal>clicked()</signal>
655    <receiver>CueSheetImport</receiver>
656    <slot>reject()</slot>
657    <hints>
658     <hint type="sourcelabel">
659      <x>688</x>
660      <y>451</y>
661     </hint>
662     <hint type="destinationlabel">
663      <x>310</x>
664      <y>240</y>
665     </hint>
666    </hints>
667   </connection>
668  </connections>
669 </ui>