670 lines
20 KiB
XML
670 lines
20 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>CueSheetImport</class>
|
|
<widget class="QDialog" name="CueSheetImport">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>700</width>
|
|
<height>463</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Import Cue Sheet</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QFrame" name="headerFrame">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>64</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>64</height>
|
|
</size>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>56</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="../res/Images.qrc">:/images/HeaderIcon_CueImport.png</pixmap>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="labelHeaderText">
|
|
<property name="font">
|
|
<font>
|
|
<weight>50</weight>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true"><b>HEADER</b><br>(more header text)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="frame">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>2</height>
|
|
</size>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::HLine</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<property name="spacing">
|
|
<number>8</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>9</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QTreeView" name="treeView">
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
<property name="uniformRowHeights">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="allColumnsShowFocus">
|
|
<bool>true</bool>
|
|
</property>
|
|
<attribute name="headerStretchLastSection">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QFrame" name="frame_4">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>4</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Existing Source File</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>12</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="frame_3">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>170</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>170</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>170</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>170</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>4</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Missing Source File (Tracks will be skipped!)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxArtwork">
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
</property>
|
|
<property name="title">
|
|
<string> Output Directory </string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QLineEdit" name="editOutputDir">
|
|
<property name="frame">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="browseButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>90</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Browse...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../res/Icons.qrc">
|
|
<normaloff>:/icons/folder_explore.png</normaloff>:/icons/folder_explore.png</iconset>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="frame_2">
|
|
<property name="frameShape">
|
|
<enum>QFrame::HLine</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="loadOtherButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>175</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Load a different Cue Sheet</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../res/Icons.qrc">
|
|
<normaloff>:/icons/page_refresh.png</normaloff>:/icons/page_refresh.png</iconset>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="imprtButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>130</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Import Cue Sheet</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../res/Icons.qrc">
|
|
<normaloff>:/icons/add.png</normaloff>:/icons/add.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="abortButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>90</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Discard</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../res/Icons.qrc">
|
|
<normaloff>:/icons/cross.png</normaloff>:/icons/cross.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>imprtButton</tabstop>
|
|
<tabstop>abortButton</tabstop>
|
|
<tabstop>editOutputDir</tabstop>
|
|
<tabstop>browseButton</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../res/Icons.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
<include location="../res/Images.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>abortButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>CueSheetImport</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>688</x>
|
|
<y>451</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>310</x>
|
|
<y>240</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|