anki/qt/aqt/forms/importing.ui
2020-11-17 19:55:18 +10:00

206 lines
5.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ImportDialog</class>
<widget class="QDialog" name="ImportDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>553</width>
<height>466</height>
</rect>
</property>
<property name="windowTitle">
<string>ACTIONS_IMPORT</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>IMPORTING_IMPORT_OPTIONS</string>
</property>
<layout class="QVBoxLayout" name="toplayout">
<item>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="3">
<widget class="QWidget" name="deckArea" native="true"/>
</item>
<item row="0" column="1">
<widget class="QWidget" name="modelArea" native="true"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>NOTETYPES_TYPE</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_2">
<property name="text">
<string>DECKS_DECK</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="autoDetect">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="importMode">
<item>
<property name="text">
<string>IMPORTING_UPDATE_EXISTING_NOTES_WHEN_FIRST_FIELD</string>
</property>
</item>
<item>
<property name="text">
<string>IMPORTING_IGNORE_LINES_WHERE_FIRST_FIELD_MATCHES</string>
</property>
</item>
<item>
<property name="text">
<string>IMPORTING_IMPORT_EVEN_IF_EXISTING_NOTE_HAS</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QCheckBox" name="allowHTML">
<property name="text">
<string>IMPORTING_ALLOW_HTML_IN_FIELDS</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="tagModifiedLayout">
<item>
<widget class="QLabel" name="tagModifiedLabel">
<property name="text">
<string>IMPORTING_TAG_MODIFIED_NOTES</string>
</property>
</widget>
</item>
<item>
<widget class="TagEdit" name="tagModified"/>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="mappingGroup">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>IMPORTING_FIELD_MAPPING</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QScrollArea" name="mappingArea">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>400</width>
<height>150</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>529</width>
<height>251</height>
</rect>
</property>
</widget>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Close|QDialogButtonBox::Help</set>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>TagEdit</class>
<extends>QLineEdit</extends>
<header>aqt/tagedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>buttonBox</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>ImportDialog</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>ImportDialog</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>