2011-01-21 00:42:28 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>TrackSelectionDialog</class>
|
|
|
|
<widget class="QDialog" name="TrackSelectionDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>613</width>
|
|
|
|
<height>366</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Results fetched</string>
|
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset resource="../../data/data.qrc">
|
|
|
|
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
|
|
</property>
|
2011-02-01 21:59:33 +01:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="fileNameGroupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>File name</string>
|
2011-01-21 00:42:28 +01:00
|
|
|
</property>
|
2011-02-01 21:59:33 +01:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="filenameLineEdit">
|
|
|
|
<property name="palette">
|
|
|
|
<palette>
|
|
|
|
<active>
|
|
|
|
<colorrole role="Button">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="0">
|
|
|
|
<red>0</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
<colorrole role="Base">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="0">
|
|
|
|
<red>0</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
<colorrole role="Window">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="0">
|
|
|
|
<red>0</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
</active>
|
|
|
|
<inactive>
|
|
|
|
<colorrole role="Button">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="0">
|
|
|
|
<red>0</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
<colorrole role="Base">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="0">
|
|
|
|
<red>0</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
<colorrole role="Window">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="0">
|
|
|
|
<red>0</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
</inactive>
|
|
|
|
<disabled>
|
|
|
|
<colorrole role="Button">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="0">
|
|
|
|
<red>0</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
<colorrole role="Base">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="0">
|
|
|
|
<red>0</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
<colorrole role="Window">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="0">
|
|
|
|
<red>0</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
</disabled>
|
|
|
|
</palette>
|
|
|
|
</property>
|
|
|
|
<property name="frame">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="resultsGroupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Select best possible match</string>
|
2011-01-21 00:42:28 +01:00
|
|
|
</property>
|
2011-02-01 21:59:33 +01:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QTreeWidget" name="resultsTreeWidget">
|
|
|
|
<property name="editTriggers">
|
|
|
|
<set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed</set>
|
|
|
|
</property>
|
|
|
|
<attribute name="headerDefaultSectionSize">
|
|
|
|
<number>150</number>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="headerMinimumSectionSize">
|
|
|
|
<number>50</number>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="headerDefaultSectionSize">
|
|
|
|
<number>150</number>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="headerMinimumSectionSize">
|
|
|
|
<number>50</number>
|
|
|
|
</attribute>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Track</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Title</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Artist</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Album</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
2011-01-21 00:42:28 +01:00
|
|
|
</property>
|
2011-02-01 21:59:33 +01:00
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
2011-01-21 00:42:28 +01:00
|
|
|
</property>
|
2011-02-01 21:59:33 +01:00
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2011-01-21 00:42:28 +01:00
|
|
|
</widget>
|
|
|
|
<resources>
|
|
|
|
<include location="../../data/data.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>TrackSelectionDialog</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>248</x>
|
|
|
|
<y>254</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>TrackSelectionDialog</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>316</x>
|
|
|
|
<y>260</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|