anki/qt/aqt/forms/dconf.ui
Damien Elmes 9ce4b21935 add markdown flag for deck description
Needed so we can display consistently, and gradually transition over
2021-02-09 18:47:19 +10:00

768 lines
23 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>638</width>
<height>514</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_31">
<property name="text">
<string>SCHEDULING_OPTIONS_GROUP</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="dconf">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>3</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="confOpts">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>32</height>
</size>
</property>
<property name="text">
<string>ACTIONS_MANAGE</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="arrowType">
<enum>Qt::NoArrow</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="count">
<property name="styleSheet">
<string notr="true">* { color: red }</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>SCHEDULING_NEW_CARDS</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>12</number>
</property>
<property name="topMargin">
<number>12</number>
</property>
<property name="rightMargin">
<number>12</number>
</property>
<property name="bottomMargin">
<number>12</number>
</property>
<item>
<layout class="QGridLayout" name="gridLayout">
<property name="spacing">
<number>12</number>
</property>
<item row="5" column="0">
<widget class="QLabel" name="label_24">
<property name="text">
<string>SCHEDULING_STARTING_EASE</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QSpinBox" name="lrnFactor">
<property name="suffix">
<string notr="true">%</string>
</property>
<property name="minimum">
<number>131</number>
</property>
<property name="maximum">
<number>999</number>
</property>
<property name="value">
<number>250</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>SCHEDULING_ORDER</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="lrnEasyInt">
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="lrnGradInt">
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="newplim">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>SCHEDULING_EASY_INTERVAL</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>SCHEDULING_GRADUATING_INTERVAL</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="newPerDay">
<property name="maximum">
<number>9999</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>SCHEDULING_NEW_CARDSDAY</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="lrnSteps"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>SCHEDULING_STEPS_IN_MINUTES</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QComboBox" name="newOrder"/>
</item>
<item row="6" column="0" colspan="3">
<widget class="QCheckBox" name="bury">
<property name="text">
<string>SCHEDULING_BURY_RELATED_NEW_CARDS_UNTIL_THE</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="label_9">
<property name="text">
<string>SCHEDULING_DAYS</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="label_7">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>SCHEDULING_DAYS</string>
</property>
</widget>
</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>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>SCHEDULING_REVIEWS</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="leftMargin">
<number>12</number>
</property>
<property name="topMargin">
<number>12</number>
</property>
<property name="rightMargin">
<number>12</number>
</property>
<property name="bottomMargin">
<number>12</number>
</property>
<item>
<layout class="QGridLayout" name="gridLayout_3">
<property name="spacing">
<number>12</number>
</property>
<item row="1" column="0">
<widget class="QLabel" name="label_20">
<property name="text">
<string>SCHEDULING_EASY_BONUS</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="easyBonus">
<property name="suffix">
<string notr="true">%</string>
</property>
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>1000</number>
</property>
<property name="singleStep">
<number>5</number>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="revPerDay">
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_33">
<property name="text">
<string>SCHEDULING_INTERVAL_MODIFIER</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_37">
<property name="text">
<string>SCHEDULING_MAXIMUM_REVIEWSDAY</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>SCHEDULING_MAXIMUM_INTERVAL</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="maxIvl">
<property name="suffix">
<string/>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>99999</number>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="label_23">
<property name="text">
<string>SCHEDULING_DAYS</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="revplim">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="fi1">
<property name="suffix">
<string notr="true">%</string>
</property>
<property name="decimals">
<number>0</number>
</property>
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>999.000000000000000</double>
</property>
<property name="singleStep">
<double>1.000000000000000</double>
</property>
<property name="value">
<double>100.000000000000000</double>
</property>
</widget>
</item>
<item row="5" column="0" colspan="3">
<widget class="QCheckBox" name="buryRev">
<property name="text">
<string>SCHEDULING_BURY_RELATED_REVIEWS_UNTIL_THE_NEXT</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="hardFactorLabel">
<property name="text">
<string>SCHEDULING_HARD_INTERVAL</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="hardFactor">
<property name="suffix">
<string notr="true">%</string>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="maximum">
<number>120</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>152</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>SCHEDULING_LAPSES</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="leftMargin">
<number>12</number>
</property>
<property name="topMargin">
<number>12</number>
</property>
<property name="rightMargin">
<number>12</number>
</property>
<property name="bottomMargin">
<number>12</number>
</property>
<item>
<layout class="QGridLayout" name="gridLayout_2">
<property name="spacing">
<number>12</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_17">
<property name="text">
<string>SCHEDULING_STEPS_IN_MINUTES</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="lapSteps"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>SCHEDULING_NEW_INTERVAL</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>SCHEDULING_LEECH_THRESHOLD</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="leechThreshold"/>
</item>
<item row="3" column="2">
<widget class="QLabel" name="label_11">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>SCHEDULING_LAPSES2</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>SCHEDULING_LEECH_ACTION</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="lapMinInt">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>99</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>SCHEDULING_MINIMUM_INTERVAL</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="label_14">
<property name="text">
<string>SCHEDULING_DAYS</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QComboBox" name="leechAction">
<item>
<property name="text">
<string>ACTIONS_SUSPEND_CARD</string>
</property>
</item>
<item>
<property name="text">
<string>SCHEDULING_TAG_ONLY</string>
</property>
</item>
</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>
<item row="1" column="1">
<widget class="QSpinBox" name="lapMult">
<property name="suffix">
<string notr="true">%</string>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="singleStep">
<number>5</number>
</property>
</widget>
</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>72</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_5">
<attribute name="title">
<string>SCHEDULING_GENERAL</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_6">
<property name="leftMargin">
<number>12</number>
</property>
<property name="topMargin">
<number>12</number>
</property>
<property name="rightMargin">
<number>12</number>
</property>
<property name="bottomMargin">
<number>12</number>
</property>
<item>
<layout class="QGridLayout" name="gridLayout_5">
<property name="spacing">
<number>12</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_25">
<property name="text">
<string>SCHEDULING_IGNORE_ANSWER_TIMES_LONGER_THAN</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="maxTaken">
<property name="minimum">
<number>30</number>
</property>
<property name="maximum">
<number>3600</number>
</property>
<property name="singleStep">
<number>10</number>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_26">
<property name="text">
<string>SCHEDULING_SECONDS</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="showTimer">
<property name="text">
<string>SCHEDULING_SHOW_ANSWER_TIMER</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="autoplaySounds">
<property name="text">
<string>SCHEDULING_AUTOMATICALLY_PLAY_AUDIO</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="replayQuestion">
<property name="text">
<string>SCHEDULING_ALWAYS_INCLUDE_QUESTION_SIDE_WHEN_REPLAYING</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>199</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string>SCHEDULING_DESCRIPTION</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>12</number>
</property>
<property name="leftMargin">
<number>12</number>
</property>
<property name="topMargin">
<number>12</number>
</property>
<property name="rightMargin">
<number>12</number>
</property>
<property name="bottomMargin">
<number>12</number>
</property>
<item>
<widget class="QLabel" name="label_22">
<property name="text">
<string>SCHEDULING_DESCRIPTION_TO_SHOW_ON_OVERVIEW_SCREEN</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="enable_markdown">
<property name="toolTip">
<string>DECK_CONFIG_DESCRIPTION_MARKDOWN_HINT</string>
</property>
<property name="text">
<string>DECK_CONFIG_DESCRIPTION_MARKDOWN</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="desc"/>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Help|QDialogButtonBox::Ok|QDialogButtonBox::RestoreDefaults</set>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>dconf</tabstop>
<tabstop>confOpts</tabstop>
<tabstop>tabWidget</tabstop>
<tabstop>lrnSteps</tabstop>
<tabstop>newOrder</tabstop>
<tabstop>newPerDay</tabstop>
<tabstop>lrnGradInt</tabstop>
<tabstop>lrnEasyInt</tabstop>
<tabstop>lrnFactor</tabstop>
<tabstop>bury</tabstop>
<tabstop>revPerDay</tabstop>
<tabstop>easyBonus</tabstop>
<tabstop>fi1</tabstop>
<tabstop>maxIvl</tabstop>
<tabstop>hardFactor</tabstop>
<tabstop>buryRev</tabstop>
<tabstop>lapSteps</tabstop>
<tabstop>lapMult</tabstop>
<tabstop>lapMinInt</tabstop>
<tabstop>leechThreshold</tabstop>
<tabstop>leechAction</tabstop>
<tabstop>maxTaken</tabstop>
<tabstop>showTimer</tabstop>
<tabstop>autoplaySounds</tabstop>
<tabstop>replayQuestion</tabstop>
<tabstop>desc</tabstop>
</tabstops>
<resources>
<include location="icons.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>Dialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>254</x>
<y>320</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>Dialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>322</x>
<y>320</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>