tmis 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +7 -0
  2. data/COPYING +674 -0
  3. data/README.md +44 -0
  4. data/Rakefile +64 -0
  5. data/bin/tmis +4 -0
  6. data/lib/tmis/engine/database.rb +58 -0
  7. data/lib/tmis/engine/export/timetable_exporter.rb +366 -0
  8. data/lib/tmis/engine/import/abstract_spreadsheet.rb +53 -0
  9. data/lib/tmis/engine/import/spreadsheet_roo.rb +136 -0
  10. data/lib/tmis/engine/import/timetable_manager.rb +110 -0
  11. data/lib/tmis/engine/import/timetable_reader.rb +79 -0
  12. data/lib/tmis/engine/mailer/mailer.rb +51 -0
  13. data/lib/tmis/engine/migrations/10_create_speciality_subjects.rb +17 -0
  14. data/lib/tmis/engine/migrations/11_create_emails.rb +10 -0
  15. data/lib/tmis/engine/migrations/12_add_indexes.rb +32 -0
  16. data/lib/tmis/engine/migrations/1_create_groups.rb +11 -0
  17. data/lib/tmis/engine/migrations/2_create_subgroups.rb +10 -0
  18. data/lib/tmis/engine/migrations/3_create_subjects.rb +11 -0
  19. data/lib/tmis/engine/migrations/4_create_cabinets.rb +12 -0
  20. data/lib/tmis/engine/migrations/5_create_lecturers.rb +14 -0
  21. data/lib/tmis/engine/migrations/6_create_studies.rb +15 -0
  22. data/lib/tmis/engine/migrations/7_create_courses.rb +9 -0
  23. data/lib/tmis/engine/migrations/8_create_specialities.rb +9 -0
  24. data/lib/tmis/engine/migrations/9_create_semesters.rb +10 -0
  25. data/lib/tmis/engine/models/cabinet.rb +18 -0
  26. data/lib/tmis/engine/models/course.rb +11 -0
  27. data/lib/tmis/engine/models/email.rb +19 -0
  28. data/lib/tmis/engine/models/group.rb +31 -0
  29. data/lib/tmis/engine/models/lecturer.rb +45 -0
  30. data/lib/tmis/engine/models/semester.rb +4 -0
  31. data/lib/tmis/engine/models/speciality.rb +3 -0
  32. data/lib/tmis/engine/models/speciality_subject.rb +6 -0
  33. data/lib/tmis/engine/models/study.rb +56 -0
  34. data/lib/tmis/engine/models/subgroup.rb +21 -0
  35. data/lib/tmis/engine/models/subject.rb +19 -0
  36. data/lib/tmis/engine/verificator.rb +96 -0
  37. data/lib/tmis/interface/forms/about.rb +24 -0
  38. data/lib/tmis/interface/forms/console.rb +28 -0
  39. data/lib/tmis/interface/forms/debug_console.rb +32 -0
  40. data/lib/tmis/interface/forms/edit_study.rb +110 -0
  41. data/lib/tmis/interface/forms/expand_changes.rb +128 -0
  42. data/lib/tmis/interface/forms/export_general_timetable.rb +68 -0
  43. data/lib/tmis/interface/forms/export_group_timetable.rb +158 -0
  44. data/lib/tmis/interface/forms/export_lecturer_timetable.rb +171 -0
  45. data/lib/tmis/interface/forms/find.rb +71 -0
  46. data/lib/tmis/interface/forms/import.rb +36 -0
  47. data/lib/tmis/interface/forms/settings.rb +125 -0
  48. data/lib/tmis/interface/forms/ui_about.rb +88 -0
  49. data/lib/tmis/interface/forms/ui_console.rb +68 -0
  50. data/lib/tmis/interface/forms/ui_debug_console.rb +82 -0
  51. data/lib/tmis/interface/forms/ui_edit_study.rb +202 -0
  52. data/lib/tmis/interface/forms/ui_expand_changes.rb +134 -0
  53. data/lib/tmis/interface/forms/ui_export_general_timetable.rb +142 -0
  54. data/lib/tmis/interface/forms/ui_export_group_timetable.rb +160 -0
  55. data/lib/tmis/interface/forms/ui_export_lecturer_timetable.rb +160 -0
  56. data/lib/tmis/interface/forms/ui_find.rb +77 -0
  57. data/lib/tmis/interface/forms/ui_import.rb +134 -0
  58. data/lib/tmis/interface/forms/ui_settings.rb +417 -0
  59. data/lib/tmis/interface/mainwindow.rb +933 -0
  60. data/lib/tmis/interface/models/cabinet_table_model.rb +133 -0
  61. data/lib/tmis/interface/models/course_table_model.rb +87 -0
  62. data/lib/tmis/interface/models/group_table_model.rb +190 -0
  63. data/lib/tmis/interface/models/lecturer_table_model.rb +111 -0
  64. data/lib/tmis/interface/models/semester_table_model.rb +137 -0
  65. data/lib/tmis/interface/models/speciality_subject_table_model.rb +288 -0
  66. data/lib/tmis/interface/models/speciality_table_model.rb +87 -0
  67. data/lib/tmis/interface/models/study_table_model.rb +323 -0
  68. data/lib/tmis/interface/models/subgroup_table_model.rb +136 -0
  69. data/lib/tmis/interface/models/subject_table_model.rb +90 -0
  70. data/lib/tmis/interface/ui_mainwindow.rb +928 -0
  71. data/lib/tmis.rb +45 -0
  72. data/spec/config.rb +49 -0
  73. data/spec/database_spec.rb +18 -0
  74. data/spec/export/timetable_exporter_mocks.rb +20 -0
  75. data/spec/export/timetable_exporter_spec.rb +34 -0
  76. data/spec/factories/factories.rb +65 -0
  77. data/spec/import/test_data/raspisanie_2013.csv +104 -0
  78. data/spec/import/timetable_importer_mocks.rb +6 -0
  79. data/spec/import/timetable_manager_spec.rb +16 -0
  80. data/spec/import/timetable_reader_spec.rb +111 -0
  81. data/spec/import/timetable_roo_spec.rb +48 -0
  82. data/spec/mailer/mailer_spec.rb +37 -0
  83. data/spec/mainwindow_spec.rb +18 -0
  84. data/spec/models/cabinet_spec.rb +33 -0
  85. data/spec/models/course_spec.rb +26 -0
  86. data/spec/models/group_spec.rb +33 -0
  87. data/spec/models/lecturer_spec.rb +38 -0
  88. data/spec/models/semester_spec.rb +26 -0
  89. data/spec/models/speciality_spec.rb +26 -0
  90. data/spec/models/speciality_subject_spec.rb +9 -0
  91. data/spec/models/study_spec.rb +9 -0
  92. data/spec/models/subgroup_spec.rb +26 -0
  93. data/spec/models/subject_spec.rb +39 -0
  94. metadata +290 -0
@@ -0,0 +1,417 @@
1
+ =begin
2
+ ** Form generated from reading ui file 'settings.ui'
3
+ **
4
+ ** Created: Wed Sep 4 00:30:33 2013
5
+ ** by: Qt User Interface Compiler version 4.8.5
6
+ **
7
+ ** WARNING! All changes made in this file will be lost when recompiling ui file!
8
+ =end
9
+
10
+ class Ui_SettingsDialog
11
+ attr_reader :horizontalLayout_2
12
+ attr_reader :horizontalLayout
13
+ attr_reader :actionsListWidget
14
+ attr_reader :verticalLine
15
+ attr_reader :verticalLayout
16
+ attr_reader :stackedWidget
17
+ attr_reader :import
18
+ attr_reader :verticalLayout_3
19
+ attr_reader :verticalLayout_2
20
+ attr_reader :label
21
+ attr_reader :line
22
+ attr_reader :verticalSpacer
23
+ attr_reader :export
24
+ attr_reader :verticalLayout_5
25
+ attr_reader :verticalLayout_4
26
+ attr_reader :label_2
27
+ attr_reader :line_2
28
+ attr_reader :verticalSpacer_2
29
+ attr_reader :verify
30
+ attr_reader :verticalLayout_7
31
+ attr_reader :verticalLayout_6
32
+ attr_reader :label_3
33
+ attr_reader :line_3
34
+ attr_reader :verticalSpacer_3
35
+ attr_reader :interface
36
+ attr_reader :verticalLayout_9
37
+ attr_reader :verticalLayout_8
38
+ attr_reader :label_4
39
+ attr_reader :line_4
40
+ attr_reader :verticalSpacer_4
41
+ attr_reader :email
42
+ attr_reader :verticalLayout_11
43
+ attr_reader :verticalLayout_10
44
+ attr_reader :label_5
45
+ attr_reader :line_5
46
+ attr_reader :gridLayout_4
47
+ attr_reader :emailLineEdit
48
+ attr_reader :passwordLineEdit
49
+ attr_reader :emailLabel
50
+ attr_reader :passLabel
51
+ attr_reader :verticalSpacer_5
52
+ attr_reader :database
53
+ attr_reader :verticalLayout_13
54
+ attr_reader :verticalLayout_12
55
+ attr_reader :label_6
56
+ attr_reader :line_6
57
+ attr_reader :groupBox
58
+ attr_reader :gridLayout_3
59
+ attr_reader :gridLayout_2
60
+ attr_reader :subjectStubLineEdit
61
+ attr_reader :lecturerStubLineEdit
62
+ attr_reader :cabinetStubLineEdit
63
+ attr_reader :label_11
64
+ attr_reader :label_12
65
+ attr_reader :label_13
66
+ attr_reader :verticalSpacer_6
67
+ attr_reader :horizontalLine
68
+ attr_reader :buttonBox
69
+
70
+ def setupUi(settingsDialog)
71
+ if settingsDialog.objectName.nil?
72
+ settingsDialog.objectName = "settingsDialog"
73
+ end
74
+ settingsDialog.resize(665, 462)
75
+ settingsDialog.locale = Qt::Locale.new(Qt::Locale::Russian, Qt::Locale::RussianFederation)
76
+ @horizontalLayout_2 = Qt::HBoxLayout.new(settingsDialog)
77
+ @horizontalLayout_2.objectName = "horizontalLayout_2"
78
+ @horizontalLayout = Qt::HBoxLayout.new()
79
+ @horizontalLayout.objectName = "horizontalLayout"
80
+ @actionsListWidget = Qt::ListWidget.new(settingsDialog)
81
+ Qt::ListWidgetItem.new(@actionsListWidget)
82
+ Qt::ListWidgetItem.new(@actionsListWidget)
83
+ Qt::ListWidgetItem.new(@actionsListWidget)
84
+ Qt::ListWidgetItem.new(@actionsListWidget)
85
+ Qt::ListWidgetItem.new(@actionsListWidget)
86
+ Qt::ListWidgetItem.new(@actionsListWidget)
87
+ @actionsListWidget.objectName = "actionsListWidget"
88
+ @actionsListWidget.minimumSize = Qt::Size.new(160, 300)
89
+ @actionsListWidget.setProperty("showDropIndicator", Qt::Variant.new(false))
90
+ @actionsListWidget.setProperty("isWrapping", Qt::Variant.new(false))
91
+ @actionsListWidget.layoutMode = Qt::ListView::SinglePass
92
+ @actionsListWidget.spacing = 0
93
+ @actionsListWidget.viewMode = Qt::ListView::ListMode
94
+ @actionsListWidget.uniformItemSizes = false
95
+ @actionsListWidget.batchSize = 200
96
+ @actionsListWidget.wordWrap = true
97
+ @actionsListWidget.selectionRectVisible = false
98
+
99
+ @horizontalLayout.addWidget(@actionsListWidget)
100
+
101
+ @verticalLine = Qt::Frame.new(settingsDialog)
102
+ @verticalLine.objectName = "verticalLine"
103
+ @verticalLine.setFrameShape(Qt::Frame::VLine)
104
+ @verticalLine.setFrameShadow(Qt::Frame::Sunken)
105
+
106
+ @horizontalLayout.addWidget(@verticalLine)
107
+
108
+ @verticalLayout = Qt::VBoxLayout.new()
109
+ @verticalLayout.objectName = "verticalLayout"
110
+ @verticalLayout.setContentsMargins(0, -1, -1, 0)
111
+ @stackedWidget = Qt::StackedWidget.new(settingsDialog)
112
+ @stackedWidget.objectName = "stackedWidget"
113
+ @stackedWidget.frameShape = Qt::Frame::StyledPanel
114
+ @stackedWidget.frameShadow = Qt::Frame::Plain
115
+ @import = Qt::Widget.new()
116
+ @import.objectName = "import"
117
+ @verticalLayout_3 = Qt::VBoxLayout.new(@import)
118
+ @verticalLayout_3.objectName = "verticalLayout_3"
119
+ @verticalLayout_2 = Qt::VBoxLayout.new()
120
+ @verticalLayout_2.objectName = "verticalLayout_2"
121
+ @label = Qt::Label.new(@import)
122
+ @label.objectName = "label"
123
+
124
+ @verticalLayout_2.addWidget(@label)
125
+
126
+ @line = Qt::Frame.new(@import)
127
+ @line.objectName = "line"
128
+ @line.setFrameShape(Qt::Frame::HLine)
129
+ @line.setFrameShadow(Qt::Frame::Sunken)
130
+
131
+ @verticalLayout_2.addWidget(@line)
132
+
133
+ @verticalSpacer = Qt::SpacerItem.new(20, 40, Qt::SizePolicy::Minimum, Qt::SizePolicy::Expanding)
134
+
135
+ @verticalLayout_2.addItem(@verticalSpacer)
136
+
137
+
138
+ @verticalLayout_3.addLayout(@verticalLayout_2)
139
+
140
+ @stackedWidget.addWidget(@import)
141
+ @export = Qt::Widget.new()
142
+ @export.objectName = "export"
143
+ @verticalLayout_5 = Qt::VBoxLayout.new(@export)
144
+ @verticalLayout_5.objectName = "verticalLayout_5"
145
+ @verticalLayout_4 = Qt::VBoxLayout.new()
146
+ @verticalLayout_4.objectName = "verticalLayout_4"
147
+ @label_2 = Qt::Label.new(@export)
148
+ @label_2.objectName = "label_2"
149
+
150
+ @verticalLayout_4.addWidget(@label_2)
151
+
152
+ @line_2 = Qt::Frame.new(@export)
153
+ @line_2.objectName = "line_2"
154
+ @line_2.setFrameShape(Qt::Frame::HLine)
155
+ @line_2.setFrameShadow(Qt::Frame::Sunken)
156
+
157
+ @verticalLayout_4.addWidget(@line_2)
158
+
159
+ @verticalSpacer_2 = Qt::SpacerItem.new(20, 40, Qt::SizePolicy::Minimum, Qt::SizePolicy::Expanding)
160
+
161
+ @verticalLayout_4.addItem(@verticalSpacer_2)
162
+
163
+
164
+ @verticalLayout_5.addLayout(@verticalLayout_4)
165
+
166
+ @stackedWidget.addWidget(@export)
167
+ @verify = Qt::Widget.new()
168
+ @verify.objectName = "verify"
169
+ @verticalLayout_7 = Qt::VBoxLayout.new(@verify)
170
+ @verticalLayout_7.objectName = "verticalLayout_7"
171
+ @verticalLayout_6 = Qt::VBoxLayout.new()
172
+ @verticalLayout_6.objectName = "verticalLayout_6"
173
+ @label_3 = Qt::Label.new(@verify)
174
+ @label_3.objectName = "label_3"
175
+
176
+ @verticalLayout_6.addWidget(@label_3)
177
+
178
+ @line_3 = Qt::Frame.new(@verify)
179
+ @line_3.objectName = "line_3"
180
+ @line_3.setFrameShape(Qt::Frame::HLine)
181
+ @line_3.setFrameShadow(Qt::Frame::Sunken)
182
+
183
+ @verticalLayout_6.addWidget(@line_3)
184
+
185
+ @verticalSpacer_3 = Qt::SpacerItem.new(20, 40, Qt::SizePolicy::Minimum, Qt::SizePolicy::Expanding)
186
+
187
+ @verticalLayout_6.addItem(@verticalSpacer_3)
188
+
189
+
190
+ @verticalLayout_7.addLayout(@verticalLayout_6)
191
+
192
+ @stackedWidget.addWidget(@verify)
193
+ @interface = Qt::Widget.new()
194
+ @interface.objectName = "interface"
195
+ @verticalLayout_9 = Qt::VBoxLayout.new(@interface)
196
+ @verticalLayout_9.objectName = "verticalLayout_9"
197
+ @verticalLayout_8 = Qt::VBoxLayout.new()
198
+ @verticalLayout_8.objectName = "verticalLayout_8"
199
+ @label_4 = Qt::Label.new(@interface)
200
+ @label_4.objectName = "label_4"
201
+
202
+ @verticalLayout_8.addWidget(@label_4)
203
+
204
+ @line_4 = Qt::Frame.new(@interface)
205
+ @line_4.objectName = "line_4"
206
+ @line_4.setFrameShape(Qt::Frame::HLine)
207
+ @line_4.setFrameShadow(Qt::Frame::Sunken)
208
+
209
+ @verticalLayout_8.addWidget(@line_4)
210
+
211
+ @verticalSpacer_4 = Qt::SpacerItem.new(20, 40, Qt::SizePolicy::Minimum, Qt::SizePolicy::Expanding)
212
+
213
+ @verticalLayout_8.addItem(@verticalSpacer_4)
214
+
215
+
216
+ @verticalLayout_9.addLayout(@verticalLayout_8)
217
+
218
+ @stackedWidget.addWidget(@interface)
219
+ @email = Qt::Widget.new()
220
+ @email.objectName = "email"
221
+ @verticalLayout_11 = Qt::VBoxLayout.new(@email)
222
+ @verticalLayout_11.objectName = "verticalLayout_11"
223
+ @verticalLayout_10 = Qt::VBoxLayout.new()
224
+ @verticalLayout_10.objectName = "verticalLayout_10"
225
+ @label_5 = Qt::Label.new(@email)
226
+ @label_5.objectName = "label_5"
227
+
228
+ @verticalLayout_10.addWidget(@label_5)
229
+
230
+ @line_5 = Qt::Frame.new(@email)
231
+ @line_5.objectName = "line_5"
232
+ @line_5.setFrameShape(Qt::Frame::HLine)
233
+ @line_5.setFrameShadow(Qt::Frame::Sunken)
234
+
235
+ @verticalLayout_10.addWidget(@line_5)
236
+
237
+ @gridLayout_4 = Qt::GridLayout.new()
238
+ @gridLayout_4.objectName = "gridLayout_4"
239
+ @emailLineEdit = Qt::LineEdit.new(@email)
240
+ @emailLineEdit.objectName = "emailLineEdit"
241
+
242
+ @gridLayout_4.addWidget(@emailLineEdit, 0, 0, 1, 1)
243
+
244
+ @passwordLineEdit = Qt::LineEdit.new(@email)
245
+ @passwordLineEdit.objectName = "passwordLineEdit"
246
+ @passwordLineEdit.echoMode = Qt::LineEdit::Password
247
+
248
+ @gridLayout_4.addWidget(@passwordLineEdit, 1, 0, 1, 1)
249
+
250
+ @emailLabel = Qt::Label.new(@email)
251
+ @emailLabel.objectName = "emailLabel"
252
+
253
+ @gridLayout_4.addWidget(@emailLabel, 0, 1, 1, 1)
254
+
255
+ @passLabel = Qt::Label.new(@email)
256
+ @passLabel.objectName = "passLabel"
257
+
258
+ @gridLayout_4.addWidget(@passLabel, 1, 1, 1, 1)
259
+
260
+
261
+ @verticalLayout_10.addLayout(@gridLayout_4)
262
+
263
+ @verticalSpacer_5 = Qt::SpacerItem.new(20, 40, Qt::SizePolicy::Minimum, Qt::SizePolicy::Expanding)
264
+
265
+ @verticalLayout_10.addItem(@verticalSpacer_5)
266
+
267
+
268
+ @verticalLayout_11.addLayout(@verticalLayout_10)
269
+
270
+ @stackedWidget.addWidget(@email)
271
+ @database = Qt::Widget.new()
272
+ @database.objectName = "database"
273
+ @verticalLayout_13 = Qt::VBoxLayout.new(@database)
274
+ @verticalLayout_13.objectName = "verticalLayout_13"
275
+ @verticalLayout_12 = Qt::VBoxLayout.new()
276
+ @verticalLayout_12.objectName = "verticalLayout_12"
277
+ @label_6 = Qt::Label.new(@database)
278
+ @label_6.objectName = "label_6"
279
+
280
+ @verticalLayout_12.addWidget(@label_6)
281
+
282
+ @line_6 = Qt::Frame.new(@database)
283
+ @line_6.objectName = "line_6"
284
+ @line_6.setFrameShape(Qt::Frame::HLine)
285
+ @line_6.setFrameShadow(Qt::Frame::Sunken)
286
+
287
+ @verticalLayout_12.addWidget(@line_6)
288
+
289
+ @groupBox = Qt::GroupBox.new(@database)
290
+ @groupBox.objectName = "groupBox"
291
+ @gridLayout_3 = Qt::GridLayout.new(@groupBox)
292
+ @gridLayout_3.objectName = "gridLayout_3"
293
+ @gridLayout_2 = Qt::GridLayout.new()
294
+ @gridLayout_2.objectName = "gridLayout_2"
295
+ @subjectStubLineEdit = Qt::LineEdit.new(@groupBox)
296
+ @subjectStubLineEdit.objectName = "subjectStubLineEdit"
297
+
298
+ @gridLayout_2.addWidget(@subjectStubLineEdit, 2, 1, 1, 1)
299
+
300
+ @lecturerStubLineEdit = Qt::LineEdit.new(@groupBox)
301
+ @lecturerStubLineEdit.objectName = "lecturerStubLineEdit"
302
+
303
+ @gridLayout_2.addWidget(@lecturerStubLineEdit, 0, 1, 1, 1)
304
+
305
+ @cabinetStubLineEdit = Qt::LineEdit.new(@groupBox)
306
+ @cabinetStubLineEdit.objectName = "cabinetStubLineEdit"
307
+
308
+ @gridLayout_2.addWidget(@cabinetStubLineEdit, 1, 1, 1, 1)
309
+
310
+ @label_11 = Qt::Label.new(@groupBox)
311
+ @label_11.objectName = "label_11"
312
+
313
+ @gridLayout_2.addWidget(@label_11, 0, 0, 1, 1)
314
+
315
+ @label_12 = Qt::Label.new(@groupBox)
316
+ @label_12.objectName = "label_12"
317
+
318
+ @gridLayout_2.addWidget(@label_12, 1, 0, 1, 1)
319
+
320
+ @label_13 = Qt::Label.new(@groupBox)
321
+ @label_13.objectName = "label_13"
322
+
323
+ @gridLayout_2.addWidget(@label_13, 2, 0, 1, 1)
324
+
325
+
326
+ @gridLayout_3.addLayout(@gridLayout_2, 0, 0, 1, 1)
327
+
328
+
329
+ @verticalLayout_12.addWidget(@groupBox)
330
+
331
+ @verticalSpacer_6 = Qt::SpacerItem.new(20, 40, Qt::SizePolicy::Minimum, Qt::SizePolicy::Expanding)
332
+
333
+ @verticalLayout_12.addItem(@verticalSpacer_6)
334
+
335
+
336
+ @verticalLayout_13.addLayout(@verticalLayout_12)
337
+
338
+ @stackedWidget.addWidget(@database)
339
+
340
+ @verticalLayout.addWidget(@stackedWidget)
341
+
342
+ @horizontalLine = Qt::Frame.new(settingsDialog)
343
+ @horizontalLine.objectName = "horizontalLine"
344
+ @horizontalLine.setFrameShape(Qt::Frame::HLine)
345
+ @horizontalLine.setFrameShadow(Qt::Frame::Sunken)
346
+
347
+ @verticalLayout.addWidget(@horizontalLine)
348
+
349
+ @buttonBox = Qt::DialogButtonBox.new(settingsDialog)
350
+ @buttonBox.objectName = "buttonBox"
351
+ @buttonBox.orientation = Qt::Horizontal
352
+ @buttonBox.standardButtons = Qt::DialogButtonBox::Apply|Qt::DialogButtonBox::Cancel|Qt::DialogButtonBox::Help|Qt::DialogButtonBox::Ok|Qt::DialogButtonBox::RestoreDefaults
353
+ @buttonBox.centerButtons = false
354
+
355
+ @verticalLayout.addWidget(@buttonBox)
356
+
357
+
358
+ @horizontalLayout.addLayout(@verticalLayout)
359
+
360
+
361
+ @horizontalLayout_2.addLayout(@horizontalLayout)
362
+
363
+
364
+ retranslateUi(settingsDialog)
365
+
366
+ @stackedWidget.setCurrentIndex(5)
367
+
368
+
369
+ Qt::MetaObject.connectSlotsByName(settingsDialog)
370
+ end # setupUi
371
+
372
+ def setup_ui(settingsDialog)
373
+ setupUi(settingsDialog)
374
+ end
375
+
376
+ def retranslateUi(settingsDialog)
377
+ settingsDialog.windowTitle = Qt::Application.translate("SettingsDialog", "\320\235\320\260\321\201\321\202\321\200\320\276\320\271\320\272\320\270", nil, Qt::Application::UnicodeUTF8)
378
+
379
+ __sortingEnabled = @actionsListWidget.sortingEnabled?
380
+ @actionsListWidget.sortingEnabled = false
381
+ @actionsListWidget.item(0).text = Qt::Application.translate("SettingsDialog", "\320\230\320\274\320\277\320\276\321\200\321\202", nil, Qt::Application::UnicodeUTF8)
382
+ @actionsListWidget.item(1).text = Qt::Application.translate("SettingsDialog", "\320\255\320\272\321\201\320\277\320\276\321\200\321\202", nil, Qt::Application::UnicodeUTF8)
383
+ @actionsListWidget.item(2).text = Qt::Application.translate("SettingsDialog", "\320\237\321\200\320\276\320\262\320\265\321\200\320\272\320\260", nil, Qt::Application::UnicodeUTF8)
384
+ @actionsListWidget.item(3).text = Qt::Application.translate("SettingsDialog", "\320\230\320\275\321\202\320\265\321\200\321\204\320\265\320\271\321\201", nil, Qt::Application::UnicodeUTF8)
385
+ @actionsListWidget.item(4).text = Qt::Application.translate("SettingsDialog", "\320\255\320\273\320\265\320\272\321\202\321\200\320\276\320\275\320\275\320\260\321\217 \320\277\320\276\321\207\321\202\320\260", nil, Qt::Application::UnicodeUTF8)
386
+ @actionsListWidget.item(5).text = Qt::Application.translate("SettingsDialog", "\320\221\320\260\320\267\320\260 \320\264\320\260\320\275\320\275\321\213\321\205", nil, Qt::Application::UnicodeUTF8)
387
+
388
+ @actionsListWidget.sortingEnabled = __sortingEnabled
389
+ @label.text = Qt::Application.translate("SettingsDialog", "\320\230\320\274\320\277\320\276\321\200\321\202", nil, Qt::Application::UnicodeUTF8)
390
+ @label_2.text = Qt::Application.translate("SettingsDialog", "\320\255\320\272\321\201\320\277\320\276\321\200\321\202", nil, Qt::Application::UnicodeUTF8)
391
+ @label_3.text = Qt::Application.translate("SettingsDialog", "\320\237\321\200\320\276\320\262\320\265\321\200\320\272\320\260", nil, Qt::Application::UnicodeUTF8)
392
+ @label_4.text = Qt::Application.translate("SettingsDialog", "\320\230\320\275\321\202\320\265\321\200\321\204\320\265\320\271\321\201", nil, Qt::Application::UnicodeUTF8)
393
+ @label_5.text = Qt::Application.translate("SettingsDialog", "\320\235\320\260\321\201\321\202\321\200\320\276\320\271\320\272\320\270 \321\215\320\273\320\265\320\272\321\202\321\200\320\276\320\275\320\275\320\276\320\271 \320\277\320\276\321\207\321\202\321\213", nil, Qt::Application::UnicodeUTF8)
394
+ @passwordLineEdit.inputMask = ''
395
+ @emailLabel.text = Qt::Application.translate("SettingsDialog", "E-mail", nil, Qt::Application::UnicodeUTF8)
396
+ @passLabel.text = Qt::Application.translate("SettingsDialog", "Password", nil, Qt::Application::UnicodeUTF8)
397
+ @label_6.text = Qt::Application.translate("SettingsDialog", "\320\221\320\260\320\267\320\260 \320\264\320\260\320\275\320\275\321\213\321\205", nil, Qt::Application::UnicodeUTF8)
398
+ @groupBox.title = Qt::Application.translate("SettingsDialog", "\320\227\320\260\320\263\320\273\321\203\321\210\320\272\320\270 (\321\203\321\207\320\270\321\202\321\213\320\262\320\260\320\265\321\202\321\201\321\217 \320\277\321\200\320\270 \320\270\320\274\320\277\320\276\321\200\321\202\320\265)", nil, Qt::Application::UnicodeUTF8)
399
+ @subjectStubLineEdit.text = Qt::Application.translate("SettingsDialog", "\320\235\320\265 \320\275\320\260\320\267\320\275\320\260\321\207\320\265\320\275", nil, Qt::Application::UnicodeUTF8)
400
+ @lecturerStubLineEdit.text = Qt::Application.translate("SettingsDialog", "\320\222\320\260\320\272\320\260\320\275\321\201\320\270\321\217", nil, Qt::Application::UnicodeUTF8)
401
+ @cabinetStubLineEdit.text = Qt::Application.translate("SettingsDialog", "\320\235\320\265 \320\275\320\260\320\267\320\275\320\260\321\207\320\265\320\275", nil, Qt::Application::UnicodeUTF8)
402
+ @label_11.text = Qt::Application.translate("SettingsDialog", "\320\237\321\200\320\265\320\277\320\276\320\264\320\260\320\262\320\260\321\202\320\265\320\273\321\214", nil, Qt::Application::UnicodeUTF8)
403
+ @label_12.text = Qt::Application.translate("SettingsDialog", "\320\232\320\260\320\261\320\270\320\275\320\265\321\202", nil, Qt::Application::UnicodeUTF8)
404
+ @label_13.text = Qt::Application.translate("SettingsDialog", "\320\237\321\200\320\265\320\264\320\274\320\265\321\202", nil, Qt::Application::UnicodeUTF8)
405
+ end # retranslateUi
406
+
407
+ def retranslate_ui(settingsDialog)
408
+ retranslateUi(settingsDialog)
409
+ end
410
+
411
+ end
412
+
413
+ module Ui
414
+ class SettingsDialog < Ui_SettingsDialog
415
+ end
416
+ end # module Ui
417
+