Class: Ui_EditStudyDialog
- Defined in:
- lib/tmis/interface/forms/ui_edit_study.rb
Overview
** Form generated from reading ui file ‘edit_study.ui’ ** ** Created: Wed Sep 4 12:32:25 2013 ** by: Qt User Interface Compiler version 4.8.5 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#buttonBox ⇒ Object
readonly
Returns the value of attribute buttonBox.
-
#cabinetComboBox ⇒ Object
readonly
Returns the value of attribute cabinetComboBox.
-
#dateDateEdit ⇒ Object
readonly
Returns the value of attribute dateDateEdit.
-
#defaultColorPushButton ⇒ Object
readonly
Returns the value of attribute defaultColorPushButton.
-
#gridLayout ⇒ Object
readonly
Returns the value of attribute gridLayout.
-
#gridLayout_2 ⇒ Object
readonly
Returns the value of attribute gridLayout_2.
-
#groupComboBox ⇒ Object
readonly
Returns the value of attribute groupComboBox.
-
#horizontalLayout ⇒ Object
readonly
Returns the value of attribute horizontalLayout.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#label_2 ⇒ Object
readonly
Returns the value of attribute label_2.
-
#label_3 ⇒ Object
readonly
Returns the value of attribute label_3.
-
#label_4 ⇒ Object
readonly
Returns the value of attribute label_4.
-
#label_5 ⇒ Object
readonly
Returns the value of attribute label_5.
-
#label_6 ⇒ Object
readonly
Returns the value of attribute label_6.
-
#label_7 ⇒ Object
readonly
Returns the value of attribute label_7.
-
#label_8 ⇒ Object
readonly
Returns the value of attribute label_8.
-
#lecturerComboBox ⇒ Object
readonly
Returns the value of attribute lecturerComboBox.
-
#numberComboBox ⇒ Object
readonly
Returns the value of attribute numberComboBox.
-
#selectColorPushButton ⇒ Object
readonly
Returns the value of attribute selectColorPushButton.
-
#subgroupComboBox ⇒ Object
readonly
Returns the value of attribute subgroupComboBox.
-
#subjectComboBox ⇒ Object
readonly
Returns the value of attribute subjectComboBox.
-
#verticalLayout ⇒ Object
readonly
Returns the value of attribute verticalLayout.
Instance Method Summary collapse
-
#retranslate_ui(editStudyDialog) ⇒ Object
retranslateUi.
- #retranslateUi(editStudyDialog) ⇒ Object
-
#setup_ui(editStudyDialog) ⇒ Object
setupUi.
- #setupUi(editStudyDialog) ⇒ Object
Instance Attribute Details
#buttonBox ⇒ Object (readonly)
Returns the value of attribute buttonBox.
32 33 34 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 32 def @buttonBox end |
#cabinetComboBox ⇒ Object (readonly)
Returns the value of attribute cabinetComboBox.
17 18 19 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 17 def cabinetComboBox @cabinetComboBox end |
#dateDateEdit ⇒ Object (readonly)
Returns the value of attribute dateDateEdit.
22 23 24 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 22 def dateDateEdit @dateDateEdit end |
#defaultColorPushButton ⇒ Object (readonly)
Returns the value of attribute defaultColorPushButton.
31 32 33 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 31 def defaultColorPushButton @defaultColorPushButton end |
#gridLayout ⇒ Object (readonly)
Returns the value of attribute gridLayout.
13 14 15 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 13 def gridLayout @gridLayout end |
#gridLayout_2 ⇒ Object (readonly)
Returns the value of attribute gridLayout_2.
11 12 13 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 11 def gridLayout_2 @gridLayout_2 end |
#groupComboBox ⇒ Object (readonly)
Returns the value of attribute groupComboBox.
19 20 21 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 19 def groupComboBox @groupComboBox end |
#horizontalLayout ⇒ Object (readonly)
Returns the value of attribute horizontalLayout.
29 30 31 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 29 def horizontalLayout @horizontalLayout end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
16 17 18 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 16 def label @label end |
#label_2 ⇒ Object (readonly)
Returns the value of attribute label_2.
25 26 27 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 25 def label_2 @label_2 end |
#label_3 ⇒ Object (readonly)
Returns the value of attribute label_3.
28 29 30 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 28 def label_3 @label_3 end |
#label_4 ⇒ Object (readonly)
Returns the value of attribute label_4.
21 22 23 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 21 def label_4 @label_4 end |
#label_5 ⇒ Object (readonly)
Returns the value of attribute label_5.
27 28 29 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 27 def label_5 @label_5 end |
#label_6 ⇒ Object (readonly)
Returns the value of attribute label_6.
24 25 26 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 24 def label_6 @label_6 end |
#label_7 ⇒ Object (readonly)
Returns the value of attribute label_7.
26 27 28 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 26 def label_7 @label_7 end |
#label_8 ⇒ Object (readonly)
Returns the value of attribute label_8.
14 15 16 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 14 def label_8 @label_8 end |
#lecturerComboBox ⇒ Object (readonly)
Returns the value of attribute lecturerComboBox.
15 16 17 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 15 def lecturerComboBox @lecturerComboBox end |
#numberComboBox ⇒ Object (readonly)
Returns the value of attribute numberComboBox.
20 21 22 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 20 def numberComboBox @numberComboBox end |
#selectColorPushButton ⇒ Object (readonly)
Returns the value of attribute selectColorPushButton.
30 31 32 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 30 def selectColorPushButton @selectColorPushButton end |
#subgroupComboBox ⇒ Object (readonly)
Returns the value of attribute subgroupComboBox.
23 24 25 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 23 def subgroupComboBox @subgroupComboBox end |
#subjectComboBox ⇒ Object (readonly)
Returns the value of attribute subjectComboBox.
18 19 20 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 18 def subjectComboBox @subjectComboBox end |
#verticalLayout ⇒ Object (readonly)
Returns the value of attribute verticalLayout.
12 13 14 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 12 def verticalLayout @verticalLayout end |
Instance Method Details
#retranslate_ui(editStudyDialog) ⇒ Object
retranslateUi
192 193 194 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 192 def retranslate_ui(editStudyDialog) retranslateUi(editStudyDialog) end |
#retranslateUi(editStudyDialog) ⇒ Object
177 178 179 180 181 182 183 184 185 186 187 188 189 190 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 177 def retranslateUi(editStudyDialog) editStudyDialog.windowTitle = Qt::Application.translate("EditStudyDialog", "\320\240\320\265\320\264\320\260\320\272\321\202\320\270\321\200\320\276\320\262\320\260\320\275\320\270\320\265 \320\267\320\260\320\275\321\217\321\202\320\270\321\217", nil, Qt::Application::UnicodeUTF8) @label_8.text = Qt::Application.translate("EditStudyDialog", "\320\246\320\262\320\265\321\202", nil, Qt::Application::UnicodeUTF8) @label.text = Qt::Application.translate("EditStudyDialog", "\320\223\321\200\321\203\320\277\320\277\320\260", nil, Qt::Application::UnicodeUTF8) @label_4.text = Qt::Application.translate("EditStudyDialog", "\320\232\320\260\320\261\320\270\320\275\320\265\321\202", nil, Qt::Application::UnicodeUTF8) @dateDateEdit.displayFormat = Qt::Application.translate("EditStudyDialog", "dddd - d MMMM yy", nil, Qt::Application::UnicodeUTF8) @label_6.text = Qt::Application.translate("EditStudyDialog", "\320\235\320\276\320\274\320\265\321\200", nil, Qt::Application::UnicodeUTF8) @label_2.text = Qt::Application.translate("EditStudyDialog", "\320\237\321\200\320\265\320\264\320\274\320\265\321\202", nil, Qt::Application::UnicodeUTF8) @label_7.text = Qt::Application.translate("EditStudyDialog", "\320\237\320\276\320\264\320\263\321\200\321\203\320\277\320\277\320\260", nil, Qt::Application::UnicodeUTF8) @label_5.text = Qt::Application.translate("EditStudyDialog", "\320\224\320\260\321\202\320\260", nil, Qt::Application::UnicodeUTF8) @label_3.text = Qt::Application.translate("EditStudyDialog", "\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) @selectColorPushButton.text = Qt::Application.translate("EditStudyDialog", "\320\222\321\213\320\261\321\200\320\260\321\202\321\214", nil, Qt::Application::UnicodeUTF8) @defaultColorPushButton.text = Qt::Application.translate("EditStudyDialog", "\320\241\321\202\320\260\320\275\320\264\320\260\321\200\321\202\320\275\321\213\320\271", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(editStudyDialog) ⇒ Object
setupUi
173 174 175 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 173 def setup_ui(editStudyDialog) setupUi(editStudyDialog) end |
#setupUi(editStudyDialog) ⇒ Object
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 169 170 171 |
# File 'lib/tmis/interface/forms/ui_edit_study.rb', line 34 def setupUi(editStudyDialog) if editStudyDialog.objectName.nil? editStudyDialog.objectName = "editStudyDialog" end editStudyDialog.resize(327, 248) editStudyDialog.locale = Qt::Locale.new(Qt::Locale::Russian, Qt::Locale::RussianFederation) @gridLayout_2 = Qt::GridLayout.new(editStudyDialog) @gridLayout_2.objectName = "gridLayout_2" @verticalLayout = Qt::VBoxLayout.new() @verticalLayout.objectName = "verticalLayout" @gridLayout = Qt::GridLayout.new() @gridLayout.objectName = "gridLayout" @label_8 = Qt::Label.new(editStudyDialog) @label_8.objectName = "label_8" @gridLayout.addWidget(@label_8, 8, 0, 1, 1) @lecturerComboBox = Qt::ComboBox.new(editStudyDialog) @lecturerComboBox.objectName = "lecturerComboBox" @lecturerComboBox.editable = true @lecturerComboBox.insertPolicy = Qt::ComboBox::NoInsert @lecturerComboBox.sizeAdjustPolicy = Qt::ComboBox::AdjustToMinimumContentsLength @gridLayout.addWidget(@lecturerComboBox, 4, 2, 1, 1) @label = Qt::Label.new(editStudyDialog) @label.objectName = "label" @gridLayout.addWidget(@label, 1, 0, 1, 1) @cabinetComboBox = Qt::ComboBox.new(editStudyDialog) @cabinetComboBox.objectName = "cabinetComboBox" @cabinetComboBox.editable = true @cabinetComboBox.insertPolicy = Qt::ComboBox::NoInsert @cabinetComboBox.sizeAdjustPolicy = Qt::ComboBox::AdjustToMinimumContentsLength @gridLayout.addWidget(@cabinetComboBox, 5, 2, 1, 1) @subjectComboBox = Qt::ComboBox.new(editStudyDialog) @subjectComboBox.objectName = "subjectComboBox" @subjectComboBox.editable = true @subjectComboBox.insertPolicy = Qt::ComboBox::NoInsert @subjectComboBox.sizeAdjustPolicy = Qt::ComboBox::AdjustToMinimumContentsLength @gridLayout.addWidget(@subjectComboBox, 3, 2, 1, 1) @groupComboBox = Qt::ComboBox.new(editStudyDialog) @groupComboBox.objectName = "groupComboBox" @groupComboBox.editable = true @groupComboBox.insertPolicy = Qt::ComboBox::NoInsert @groupComboBox.sizeAdjustPolicy = Qt::ComboBox::AdjustToMinimumContentsLength @gridLayout.addWidget(@groupComboBox, 1, 2, 1, 1) @numberComboBox = Qt::ComboBox.new(editStudyDialog) @numberComboBox.objectName = "numberComboBox" @numberComboBox.editable = true @numberComboBox.insertPolicy = Qt::ComboBox::NoInsert @numberComboBox.sizeAdjustPolicy = Qt::ComboBox::AdjustToMinimumContentsLength @gridLayout.addWidget(@numberComboBox, 7, 2, 1, 1) @label_4 = Qt::Label.new(editStudyDialog) @label_4.objectName = "label_4" @gridLayout.addWidget(@label_4, 5, 0, 1, 1) @dateDateEdit = Qt::DateEdit.new(editStudyDialog) @dateDateEdit.objectName = "dateDateEdit" @dateDateEdit.calendarPopup = true @gridLayout.addWidget(@dateDateEdit, 6, 2, 1, 1) @subgroupComboBox = Qt::ComboBox.new(editStudyDialog) @subgroupComboBox.objectName = "subgroupComboBox" @subgroupComboBox.editable = true @subgroupComboBox.insertPolicy = Qt::ComboBox::NoInsert @subgroupComboBox.sizeAdjustPolicy = Qt::ComboBox::AdjustToMinimumContentsLength @gridLayout.addWidget(@subgroupComboBox, 2, 2, 1, 1) @label_6 = Qt::Label.new(editStudyDialog) @label_6.objectName = "label_6" @gridLayout.addWidget(@label_6, 7, 0, 1, 1) @label_2 = Qt::Label.new(editStudyDialog) @label_2.objectName = "label_2" @gridLayout.addWidget(@label_2, 3, 0, 1, 1) @label_7 = Qt::Label.new(editStudyDialog) @label_7.objectName = "label_7" @gridLayout.addWidget(@label_7, 2, 0, 1, 1) @label_5 = Qt::Label.new(editStudyDialog) @label_5.objectName = "label_5" @gridLayout.addWidget(@label_5, 6, 0, 1, 1) @label_3 = Qt::Label.new(editStudyDialog) @label_3.objectName = "label_3" @gridLayout.addWidget(@label_3, 4, 0, 1, 1) @horizontalLayout = Qt::HBoxLayout.new() @horizontalLayout.objectName = "horizontalLayout" @selectColorPushButton = Qt::PushButton.new(editStudyDialog) @selectColorPushButton.objectName = "selectColorPushButton" @horizontalLayout.addWidget(@selectColorPushButton) @defaultColorPushButton = Qt::PushButton.new(editStudyDialog) @defaultColorPushButton.objectName = "defaultColorPushButton" @horizontalLayout.addWidget(@defaultColorPushButton) @gridLayout.addLayout(@horizontalLayout, 8, 2, 1, 1) @verticalLayout.addLayout(@gridLayout) @buttonBox = Qt::DialogButtonBox.new(editStudyDialog) @buttonBox.objectName = "buttonBox" @buttonBox.standardButtons = Qt::DialogButtonBox::Cancel|Qt::DialogButtonBox::Reset|Qt::DialogButtonBox::Save @verticalLayout.addWidget(@buttonBox) @gridLayout_2.addLayout(@verticalLayout, 0, 0, 1, 1) retranslateUi(editStudyDialog) Qt::MetaObject.connectSlotsByName(editStudyDialog) end |