-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.ui
168 lines (168 loc) · 4.99 KB
/
settings.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Settings</class>
<widget class="QDialog" name="Settings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>272</width>
<height>215</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>30</width>
<height>25</height>
</size>
</property>
<property name="windowTitle">
<string>Settings</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Period between trainings:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="timePeriodBox">
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Time period between StudySessions in minutes.</string>
</property>
<property name="minimum">
<number>30</number>
</property>
<property name="maximum">
<number>360</number>
</property>
<property name="singleStep">
<number>10</number>
</property>
<property name="value">
<number>60</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Words per training:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="wordsCountBox">
<property name="toolTip">
<string>Minimum word's count per StudySessions. It is possible to increase this count before StudySession.</string>
</property>
<property name="minimum">
<number>2</number>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="singleStep">
<number>1</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Success rate:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="successRateBox">
<property name="toolTip">
<string>Word's progress will be calculated by next formula: NewRate = OldRate * ((SuccessRate - 1) / SuccessRate) + wasCorrectAnswer * (1 / SuccessRate).</string>
</property>
<property name="maximum">
<number>10</number>
</property>
<property name="value">
<number>3</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Percentage of old words:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="oldWordsPercentageBox">
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="toolTip">
<string>There will be PersentOfOldWords forgotten words and (100 - PersentOfOldWords) of worst known words in StudySession.</string>
</property>
<property name="minimum">
<number>10</number>
</property>
<property name="maximum">
<number>90</number>
</property>
<property name="singleStep">
<number>5</number>
</property>
<property name="value">
<number>30</number>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_3">
<property name="toolTip">
<string>SampleExpansionCoefficient * N words will be loaded from DataBase, but only N random words from them will be used in StudySession</string>
</property>
<property name="text">
<string>Sample expansion coefficient</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="sampleExpansionSpinBox">
<property name="toolTip">
<string>(SampleExpansionCoefficient * N) words will be loaded from DataBase, but only N random words from them will be used in StudySession.</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>10</number>
</property>
<property name="value">
<number>2</number>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="saveButton">
<property name="toolTip">
<string>Save current settings to config file.</string>
</property>
<property name="text">
<string>Save</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>