2011-08-28 18:01:32 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DialogPreferences</class>
<widget class="QDialog" name="DialogPreferences">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
2016-04-29 04:43:57 +00:00
<height>323</height>
2011-08-28 18:01:32 +00:00
</rect>
</property>
<property name="windowTitle">
<string>Preferences</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tabGeneral">
<attribute name="title">
<string>General</string>
</attribute>
2015-02-17 02:10:43 +00:00
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
2013-11-10 18:15:11 +00:00
<widget class="QCheckBox" name="checkLoadRecentFile">
2011-08-28 18:01:32 +00:00
<property name="text">
2013-11-10 19:46:50 +00:00
<string>Load most recent file</string>
2011-08-28 18:01:32 +00:00
</property>
</widget>
</item>
2015-02-17 02:10:43 +00:00
<item>
2013-11-10 18:15:11 +00:00
<widget class="QCheckBox" name="checkStripReadings">
2011-08-28 18:01:32 +00:00
<property name="text">
2013-11-10 19:46:50 +00:00
<string>Strip readings from files</string>
2011-08-28 18:01:32 +00:00
</property>
</widget>
</item>
2015-02-17 02:10:43 +00:00
<item>
<widget class="QCheckBox" name="checkRememberTextContent">
2013-11-11 23:16:41 +00:00
<property name="text">
2015-02-17 02:10:43 +00:00
<string>Remember text content</string>
2013-11-11 23:16:41 +00:00
</property>
</widget>
</item>
2015-02-17 02:10:43 +00:00
<item>
<widget class="QCheckBox" name="checkCheckForUpdates">
2013-11-10 18:15:11 +00:00
<property name="text">
2015-02-17 02:10:43 +00:00
<string>Check for updates</string>
2011-08-28 18:01:32 +00:00
</property>
2013-11-10 18:15:11 +00:00
</widget>
2011-08-28 18:01:32 +00:00
</item>
2015-02-17 02:10:43 +00:00
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Max search results</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="spinMaxResults">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Text scan length</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="spinScanLength">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
</layout>
2015-02-15 04:31:13 +00:00
</item>
2011-08-28 18:01:32 +00:00
</layout>
</widget>
<widget class="QWidget" name="tabAppearance">
<attribute name="title">
<string>Appearance</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
2013-11-10 18:15:11 +00:00
<widget class="QFontComboBox" name="comboFontFamily">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
2011-08-28 18:01:32 +00:00
</item>
<item>
2013-11-10 18:15:11 +00:00
<widget class="QSpinBox" name="spinFontSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2011-08-28 18:01:32 +00:00
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>72</number>
</property>
<property name="value">
<number>12</number>
</property>
</widget>
</item>
<item>
2013-11-10 18:15:11 +00:00
<widget class="QPushButton" name="buttonColorFg">
2011-08-28 18:01:32 +00:00
<property name="text">
<string>Foreground...</string>
</property>
</widget>
</item>
<item>
2013-11-10 18:15:11 +00:00
<widget class="QPushButton" name="buttonColorBg">
2011-08-28 18:01:32 +00:00
<property name="text">
<string>Background...</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
2013-11-10 18:15:11 +00:00
<widget class="QPlainTextEdit" name="textSample">
2011-08-28 18:01:32 +00:00
<property name="plainText">
<string>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam accumsan nisi a leo faucibus ut varius velit fringilla. Cras hendrerit eleifend porttitor. Quisque eu elit quis tellus hendrerit ornare et ac tellus. Nunc id felis ut sapien blandit viverra vel ac est. Ut erat lorem, rutrum at scelerisque sollicitudin, lacinia quis diam. Suspendisse potenti. Integer id justo ac ligula aliquet mattis. Etiam malesuada faucibus risus, vel hendrerit elit consectetur quis. Etiam consectetur ipsum ut odio feugiat suscipit. Etiam a tellus metus. </string>
</property>
</widget>
</item>
2015-01-30 09:38:01 +00:00
<item>
<widget class="QCheckBox" name="checkAllowEditing">
<property name="text">
<string>Allow editing</string>
</property>
</widget>
</item>
2011-08-28 18:01:32 +00:00
</layout>
</widget>
<widget class="QWidget" name="tabAnki">
2013-11-10 21:05:04 +00:00
<property name="enabled">
<bool>false</bool>
</property>
2011-08-28 18:01:32 +00:00
<attribute name="title">
<string>Anki</string>
</attribute>
2013-11-10 18:15:11 +00:00
<layout class="QVBoxLayout" name="verticalLayout_2">
2013-11-11 23:16:41 +00:00
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="text">
2013-11-16 19:53:02 +00:00
<string>Displayed profile</string>
2013-11-11 23:16:41 +00:00
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioButtonVocab">
<property name="text">
<string>Vocabulary</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioButtonKanji">
<property name="text">
<string>Kanji</string>
</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>
</layout>
</item>
2012-12-24 00:02:00 +00:00
<item>
2013-11-10 18:15:11 +00:00
<layout class="QHBoxLayout" name="horizontalLayout_3">
2012-12-25 17:14:06 +00:00
<item>
2012-12-24 02:11:14 +00:00
<widget class="QLabel" name="label_13">
<property name="text">
<string>Deck</string>
2012-12-24 00:02:00 +00:00
</property>
2012-12-24 02:11:14 +00:00
</widget>
</item>
2012-12-25 17:14:06 +00:00
<item>
2013-11-10 18:15:11 +00:00
<widget class="QComboBox" name="comboBoxDeck">
2012-12-25 17:14:06 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
2012-12-24 02:11:14 +00:00
</item>
2012-12-25 17:14:06 +00:00
<item>
2012-12-24 02:11:14 +00:00
<widget class="QLabel" name="label_12">
2012-12-24 00:02:00 +00:00
<property name="text">
2012-12-24 02:11:14 +00:00
<string>Model</string>
2012-12-24 00:02:00 +00:00
</property>
</widget>
</item>
2012-12-25 17:14:06 +00:00
<item>
2013-11-10 18:15:11 +00:00
<widget class="QComboBox" name="comboBoxModel">
2012-12-25 17:14:06 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
2012-12-24 00:02:00 +00:00
</item>
</layout>
</item>
2011-08-28 18:01:32 +00:00
<item>
<widget class="QLabel" name="label_11">
<property name="text">
2013-11-10 23:38:31 +00:00
<string>Specify how your model fields are populated when adding facts</string>
2011-08-28 18:01:32 +00:00
</property>
</widget>
</item>
<item>
2013-11-10 18:15:11 +00:00
<widget class="QTableWidget" name="tableFields">
<column>
<property name="text">
<string>Field</string>
</property>
</column>
<column>
<property name="text">
<string>Value</string>
</property>
</column>
</widget>
</item>
2013-11-10 23:38:31 +00:00
<item>
<widget class="QLabel" name="labelTags">
<property name="text">
<string/>
</property>
</widget>
</item>
2016-04-29 04:06:59 +00:00
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QCheckBox" name="checkEnableRemoteApi">
<property name="text">
<string>Enable remote API</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
2016-04-29 04:43:57 +00:00
<string>(see the <a href="https://foosoft.net/projects/yomichan-chrome">extension page</a> for details)</string>
2016-04-29 04:06:59 +00:00
</property>
</widget>
</item>
</layout>
</item>
2011-08-28 18:01:32 +00:00
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
2012-12-25 21:10:24 +00:00
<resources>
2013-12-27 18:36:51 +00:00
<include location="resources.qrc"/>
2012-12-25 21:10:24 +00:00
</resources>
2011-08-28 18:01:32 +00:00
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>DialogPreferences</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>DialogPreferences</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>