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>
|
2011-03-05 20:24:44 +01:00
|
|
|
<width>773</width>
|
|
|
|
<height>375</height>
|
2011-01-21 00:42:28 +01:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2011-03-05 20:24:44 +01:00
|
|
|
<string>Tag fetcher</string>
|
2011-01-21 00:42:28 +01:00
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset resource="../../data/data.qrc">
|
|
|
|
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
|
|
</property>
|
2011-03-05 20:24:44 +01:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
2011-02-01 21:59:33 +01:00
|
|
|
<item>
|
2011-03-05 20:24:44 +01:00
|
|
|
<widget class="QSplitter" name="splitter">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
2011-01-21 00:42:28 +01:00
|
|
|
</property>
|
2011-03-05 20:24:44 +01:00
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
2011-01-21 00:42:28 +01:00
|
|
|
</property>
|
2011-03-05 20:24:44 +01:00
|
|
|
<widget class="QListWidget" name="song_list">
|
|
|
|
<property name="uniformItemSizes">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QStackedWidget" name="stack">
|
|
|
|
<property name="currentIndex">
|
2011-03-12 22:19:41 +01:00
|
|
|
<number>0</number>
|
2011-03-05 20:24:44 +01:00
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="loading_page">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>133</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<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>
|
2012-01-07 22:51:02 +01:00
|
|
|
<widget class="BusyIndicator" name="progress" native="true"/>
|
2011-03-05 20:24:44 +01:00
|
|
|
</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>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>133</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="error_page">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_3">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>124</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QLabel { font-weight: bold; }</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Sorry</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>Clementine was unable to find results for this file</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_4">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>124</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="results_page">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
2011-02-01 21:59:33 +01:00
|
|
|
</property>
|
2011-03-05 20:24:44 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QLabel { font-weight: bold; }</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Select best possible match</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QTreeWidget" name="results">
|
|
|
|
<property name="editTriggers">
|
|
|
|
<set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed</set>
|
|
|
|
</property>
|
|
|
|
<property name="rootIsDecorated">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<attribute name="headerDefaultSectionSize">
|
|
|
|
<number>150</number>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="headerMinimumSectionSize">
|
|
|
|
<number>50</number>
|
|
|
|
</attribute>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Track</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
2012-01-07 22:51:02 +01:00
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Year</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
2011-03-05 20:24:44 +01:00
|
|
|
<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>
|
|
|
|
</widget>
|
2011-02-01 21:59:33 +01:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2011-03-06 15:07:41 +01:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
2012-01-07 22:51:02 +01:00
|
|
|
<widget class="BusyIndicator" name="loading_label" native="true"/>
|
2011-03-06 15:07:41 +01:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="button_box">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2011-02-01 21:59:33 +01:00
|
|
|
</item>
|
|
|
|
</layout>
|
2011-01-21 00:42:28 +01:00
|
|
|
</widget>
|
2011-03-05 20:24:44 +01:00
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>BusyIndicator</class>
|
2011-08-27 16:00:49 +02:00
|
|
|
<extends>QWidget</extends>
|
2011-03-05 20:24:44 +01:00
|
|
|
<header>widgets/busyindicator.h</header>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
2011-01-21 00:42:28 +01:00
|
|
|
<resources>
|
|
|
|
<include location="../../data/data.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
2011-03-05 20:24:44 +01:00
|
|
|
<sender>button_box</sender>
|
2011-01-21 00:42:28 +01:00
|
|
|
<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>
|
2011-03-05 20:24:44 +01:00
|
|
|
<sender>button_box</sender>
|
2011-01-21 00:42:28 +01:00
|
|
|
<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>
|