Anki/designer/preferences.ui

525 lines
15 KiB
XML

<ui version="4.0" >
<class>Preferences</class>
<widget class="QDialog" name="Preferences" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>320</width>
<height>399</height>
</rect>
</property>
<property name="windowTitle" >
<string>Preferences</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2" >
<item>
<widget class="QTabWidget" name="tabWidget" >
<property name="focusPolicy" >
<enum>Qt::StrongFocus</enum>
</property>
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="tab_1" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>304</width>
<height>333</height>
</rect>
</property>
<attribute name="title" >
<string>Display</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout" >
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>&lt;h1>Language&lt;/h1></string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="interfaceLang" >
<property name="minimumSize" >
<size>
<width>300</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="focusPolicy" >
<enum>Qt::TabFocus</enum>
</property>
<property name="text" >
<string>&lt;h1>Reviewing&lt;/h1></string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showDivider" >
<property name="text" >
<string>Show divider between question and answer</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="splitQA" >
<property name="text" >
<string>Put space between question and answer</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showEstimates" >
<property name="text" >
<string>Show next time before answer</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showProgress" >
<property name="text" >
<string>Show due count, ETA and performance bars</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Some settings will take effect after you restart Anki.</string>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>304</width>
<height>333</height>
</rect>
</property>
<attribute name="title" >
<string>Save &amp;&amp; Sync</string>
</attribute>
<layout class="QVBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="margin" >
<number>9</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>&lt;h1>Autosaving&lt;/h1></string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="saveWhenClosing" >
<property name="text" >
<string>Save when closing</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="0" >
<widget class="QCheckBox" name="saveAfterEvery" >
<property name="text" >
<string>Save after answering</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="saveAfterEveryNum" />
</item>
<item row="1" column="2" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>cards</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="saveAfterAdding" >
<property name="text" >
<string>Save after adding</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QSpinBox" name="saveAfterAddingNum" />
</item>
<item row="2" column="2" >
<widget class="QLabel" name="label_7" >
<property name="text" >
<string>facts</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_16" >
<property name="text" >
<string>&lt;h1>Synchronisation&lt;/h1>&lt;a href="http://anki.ichi2.net/">Create a free account&lt;/a>.</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="openExternalLinks" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="0" >
<widget class="QLabel" name="label_18" >
<property name="text" >
<string>Password</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label_17" >
<property name="text" >
<string>Username</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="syncUser" />
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="syncOnClose" >
<property name="text" >
<string>Sync on close</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="syncPass" >
<property name="echoMode" >
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="syncOnOpen" >
<property name="text" >
<string>Sync on open</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_2" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_3" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>304</width>
<height>333</height>
</rect>
</property>
<attribute name="title" >
<string>Advanced</string>
</attribute>
<layout class="QVBoxLayout" >
<item>
<layout class="QGridLayout" >
<item row="2" column="0" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>&lt;h1>Advanced settings&lt;/h1></string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="showTimer" >
<property name="text" >
<string>Show timer</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<spacer name="verticalSpacer_3" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0" >
<widget class="QCheckBox" name="alternativeTheme" >
<property name="text" >
<string>Alternative theme</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QCheckBox" name="showStudyOptions" >
<property name="text" >
<string>Show study options on deck load</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QCheckBox" name="showTray" >
<property name="text" >
<string>Show tray icon</string>
</property>
</widget>
</item>
<item row="8" column="0" >
<widget class="QCheckBox" name="addZeroSpace" >
<property name="text" >
<string>Add hidden char to text (fixes Thai on OSX)</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_8" >
<property name="text" >
<string>Some settings will take effect after you restart Anki.</string>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</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>
<tabstops>
<tabstop>tabWidget</tabstop>
<tabstop>interfaceLang</tabstop>
<tabstop>label_2</tabstop>
<tabstop>showDivider</tabstop>
<tabstop>splitQA</tabstop>
<tabstop>showEstimates</tabstop>
<tabstop>showProgress</tabstop>
<tabstop>saveWhenClosing</tabstop>
<tabstop>saveAfterEvery</tabstop>
<tabstop>saveAfterEveryNum</tabstop>
<tabstop>saveAfterAdding</tabstop>
<tabstop>saveAfterAddingNum</tabstop>
<tabstop>syncUser</tabstop>
<tabstop>syncPass</tabstop>
<tabstop>syncOnOpen</tabstop>
<tabstop>syncOnClose</tabstop>
<tabstop>alternativeTheme</tabstop>
<tabstop>showTimer</tabstop>
<tabstop>showTray</tabstop>
<tabstop>showStudyOptions</tabstop>
<tabstop>addZeroSpace</tabstop>
<tabstop>buttonBox</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>Preferences</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>270</x>
<y>412</y>
</hint>
<hint type="destinationlabel" >
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>Preferences</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<x>317</x>
<y>412</y>
</hint>
<hint type="destinationlabel" >
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>saveAfterEvery</sender>
<signal>toggled(bool)</signal>
<receiver>saveAfterEveryNum</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>113</x>
<y>68</y>
</hint>
<hint type="destinationlabel" >
<x>116</x>
<y>68</y>
</hint>
</hints>
</connection>
<connection>
<sender>saveAfterAdding</sender>
<signal>toggled(bool)</signal>
<receiver>saveAfterAddingNum</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>99</x>
<y>68</y>
</hint>
<hint type="destinationlabel" >
<x>116</x>
<y>68</y>
</hint>
</hints>
</connection>
</connections>
</ui>