mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-02 07:12:33 -04:00
145 lines
3.6 KiB
XML
145 lines
3.6 KiB
XML
<ui version="4.0" >
|
|
<class>FetchMetadata</class>
|
|
<widget class="QDialog" name="FetchMetadata" >
|
|
<property name="windowModality" >
|
|
<enum>Qt::WindowModal</enum>
|
|
</property>
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>830</width>
|
|
<height>622</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Fetch metadata</string>
|
|
</property>
|
|
<property name="windowIcon" >
|
|
<iconset resource="../images.qrc" >:/images/metadata.svg</iconset>
|
|
</property>
|
|
<layout class="QVBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="tlabel" >
|
|
<property name="text" >
|
|
<string>Fetching metadata for <b>%1</b></string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label" >
|
|
<property name="text" >
|
|
<string>Sign up for a free account from <a href="http://www.isbndb.com">ISBNdb.com</a> to get an access key.</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<property name="openExternalLinks" >
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_2" >
|
|
<property name="text" >
|
|
<string>&Access Key;</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>key</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="key" />
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="fetch" >
|
|
<property name="text" >
|
|
<string>Fetch</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox" >
|
|
<property name="title" >
|
|
<string>Matches</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_3" >
|
|
<property name="text" >
|
|
<string>Select the book that most closely matches your copy from the list below</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableView" name="matches" >
|
|
<property name="alternatingRowColors" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="selectionMode" >
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior" >
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox" >
|
|
<property name="standardButtons" >
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="../images.qrc" />
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>FetchMetadata</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>460</x>
|
|
<y>599</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>657</x>
|
|
<y>530</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>FetchMetadata</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>417</x>
|
|
<y>599</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>0</x>
|
|
<y>491</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|