Class: Ui_ImportDialog
Overview
** Form generated from reading ui file ‘import.ui’ ** ** Created: Wed Sep 4 12:32:24 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.
-
#dateEdit ⇒ Object
readonly
Returns the value of attribute dateEdit.
-
#gridLayout ⇒ Object
readonly
Returns the value of attribute gridLayout.
-
#gridLayout_2 ⇒ Object
readonly
Returns the value of attribute gridLayout_2.
-
#gridLayout_3 ⇒ Object
readonly
Returns the value of attribute gridLayout_3.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#label_2 ⇒ Object
readonly
Returns the value of attribute label_2.
-
#label_6 ⇒ Object
readonly
Returns the value of attribute label_6.
-
#label_8 ⇒ Object
readonly
Returns the value of attribute label_8.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#line_2 ⇒ Object
readonly
Returns the value of attribute line_2.
-
#sheetNumberSpinBox ⇒ Object
readonly
Returns the value of attribute sheetNumberSpinBox.
-
#verticalLayout ⇒ Object
readonly
Returns the value of attribute verticalLayout.
-
#verticalSpacer ⇒ Object
readonly
Returns the value of attribute verticalSpacer.
Instance Method Summary collapse
-
#retranslate_ui(importDialog) ⇒ Object
retranslateUi.
- #retranslateUi(importDialog) ⇒ Object
-
#setup_ui(importDialog) ⇒ Object
setupUi.
- #setupUi(importDialog) ⇒ Object
Instance Attribute Details
#buttonBox ⇒ Object (readonly)
Returns the value of attribute buttonBox.
18 19 20 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 18 def @buttonBox end |
#dateEdit ⇒ Object (readonly)
Returns the value of attribute dateEdit.
17 18 19 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 17 def dateEdit @dateEdit end |
#gridLayout ⇒ Object (readonly)
Returns the value of attribute gridLayout.
12 13 14 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 12 def gridLayout @gridLayout end |
#gridLayout_2 ⇒ Object (readonly)
Returns the value of attribute gridLayout_2.
11 12 13 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 11 def gridLayout_2 @gridLayout_2 end |
#gridLayout_3 ⇒ Object (readonly)
Returns the value of attribute gridLayout_3.
13 14 15 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 13 def gridLayout_3 @gridLayout_3 end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
21 22 23 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 21 def label @label end |
#label_2 ⇒ Object (readonly)
Returns the value of attribute label_2.
22 23 24 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 22 def label_2 @label_2 end |
#label_6 ⇒ Object (readonly)
Returns the value of attribute label_6.
15 16 17 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 15 def label_6 @label_6 end |
#label_8 ⇒ Object (readonly)
Returns the value of attribute label_8.
16 17 18 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 16 def label_8 @label_8 end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
23 24 25 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 23 def line @line end |
#line_2 ⇒ Object (readonly)
Returns the value of attribute line_2.
24 25 26 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 24 def line_2 @line_2 end |
#sheetNumberSpinBox ⇒ Object (readonly)
Returns the value of attribute sheetNumberSpinBox.
14 15 16 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 14 def sheetNumberSpinBox @sheetNumberSpinBox end |
#verticalLayout ⇒ Object (readonly)
Returns the value of attribute verticalLayout.
19 20 21 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 19 def verticalLayout @verticalLayout end |
#verticalSpacer ⇒ Object (readonly)
Returns the value of attribute verticalSpacer.
20 21 22 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 20 def verticalSpacer @verticalSpacer end |
Instance Method Details
#retranslate_ui(importDialog) ⇒ Object
retranslateUi
124 125 126 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 124 def retranslate_ui(importDialog) retranslateUi(importDialog) end |
#retranslateUi(importDialog) ⇒ Object
115 116 117 118 119 120 121 122 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 115 def retranslateUi(importDialog) importDialog.windowTitle = Qt::Application.translate("ImportDialog", "\320\230\320\274\320\277\320\276\321\200\321\202", nil, Qt::Application::UnicodeUTF8) @label_6.text = Qt::Application.translate("ImportDialog", "\320\235\320\276\320\274\320\265\321\200 \320\273\320\270\321\201\321\202\320\260 \320\262 \321\215\320\273\320\265\320\272\321\202\321\200\320\276\320\275\320\275\320\276\320\271 \321\202\320\260\320\261\320\273\320\270\321\206\320\265:", nil, Qt::Application::UnicodeUTF8) @label_8.text = Qt::Application.translate("ImportDialog", "\320\235\320\260 \320\275\320\265\320\264\320\265\320\273\321\216:", nil, Qt::Application::UnicodeUTF8) @dateEdit.displayFormat = Qt::Application.translate("ImportDialog", "dddd - d MMMM yy", nil, Qt::Application::UnicodeUTF8) @label.text = Qt::Application.translate("ImportDialog", "\320\237\320\276\320\266\320\260\320\273\321\203\320\271\321\201\321\202\320\260, \320\262\321\213\320\261\320\265\321\200\320\270\321\202\320\265 \320\275\320\265\320\276\320\261\321\205\320\276\320\264\320\270\320\274\321\213\320\265 \320\275\320\260\321\201\321\202\321\200\320\276\320\271\320\272\320\270.", nil, Qt::Application::UnicodeUTF8) @label_2.text = Qt::Application.translate("ImportDialog", "\320\224\320\273\321\217 \320\277\320\276\320\273\321\203\321\207\320\265\320\275\320\270\321\217 \320\264\320\276\320\277\320\276\320\273\320\275\320\270\321\202\320\265\320\273\321\214\320\275\320\276\320\271 \320\270\320\275\321\204\320\276\321\200\320\274\320\260\321\206\320\270\320\270 \320\276\320\261\321\200\320\260\321\202\320\270\321\202\320\265\321\201\321\214 \320\272 \321\201\320\277\321\200\320\260\320\262\320\272\320\265.", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(importDialog) ⇒ Object
setupUi
111 112 113 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 111 def setup_ui(importDialog) setupUi(importDialog) end |
#setupUi(importDialog) ⇒ Object
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 |
# File 'lib/tmis/interface/forms/ui_import.rb', line 26 def setupUi(importDialog) if importDialog.objectName.nil? importDialog.objectName = "importDialog" end importDialog.resize(500, 145) importDialog.locale = Qt::Locale.new(Qt::Locale::Russian, Qt::Locale::RussianFederation) @gridLayout_2 = Qt::GridLayout.new(importDialog) @gridLayout_2.objectName = "gridLayout_2" @gridLayout = Qt::GridLayout.new() @gridLayout.objectName = "gridLayout" @gridLayout_3 = Qt::GridLayout.new() @gridLayout_3.objectName = "gridLayout_3" @sheetNumberSpinBox = Qt::SpinBox.new(importDialog) @sheetNumberSpinBox.objectName = "sheetNumberSpinBox" @sheetNumberSpinBox.minimum = 1 @gridLayout_3.addWidget(@sheetNumberSpinBox, 1, 1, 1, 1) @label_6 = Qt::Label.new(importDialog) @label_6.objectName = "label_6" @gridLayout_3.addWidget(@label_6, 1, 0, 1, 1) @label_8 = Qt::Label.new(importDialog) @label_8.objectName = "label_8" @gridLayout_3.addWidget(@label_8, 2, 0, 1, 1) @dateEdit = Qt::DateEdit.new(importDialog) @dateEdit.objectName = "dateEdit" @dateEdit.calendarPopup = true @gridLayout_3.addWidget(@dateEdit, 2, 1, 1, 1) @gridLayout.addLayout(@gridLayout_3, 3, 0, 2, 1) @buttonBox = Qt::DialogButtonBox.new(importDialog) @buttonBox.objectName = "buttonBox" @buttonBox.standardButtons = Qt::DialogButtonBox::Cancel|Qt::DialogButtonBox::Ok @gridLayout.addWidget(@buttonBox, 6, 0, 1, 1) @verticalLayout = Qt::VBoxLayout.new() @verticalLayout.objectName = "verticalLayout" @verticalSpacer = Qt::SpacerItem.new(20, 40, Qt::SizePolicy::Minimum, Qt::SizePolicy::Expanding) @verticalLayout.addItem(@verticalSpacer) @label = Qt::Label.new(importDialog) @label.objectName = "label" @verticalLayout.addWidget(@label) @label_2 = Qt::Label.new(importDialog) @label_2.objectName = "label_2" @verticalLayout.addWidget(@label_2) @line = Qt::Frame.new(importDialog) @line.objectName = "line" @line.setFrameShape(Qt::Frame::HLine) @line.setFrameShadow(Qt::Frame::Sunken) @verticalLayout.addWidget(@line) @gridLayout.addLayout(@verticalLayout, 2, 0, 1, 1) @line_2 = Qt::Frame.new(importDialog) @line_2.objectName = "line_2" @line_2.setFrameShape(Qt::Frame::HLine) @line_2.setFrameShadow(Qt::Frame::Sunken) @gridLayout.addWidget(@line_2, 5, 0, 1, 1) @gridLayout_2.addLayout(@gridLayout, 0, 0, 1, 1) retranslateUi(importDialog) Qt::MetaObject.connectSlotsByName(importDialog) end |