class Ui_ExpandChangesDialog
** Form generated from reading ui file 'expand_changes.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!
Attributes
evennessComboBox[R]
fromDateDateEdit[R]
gridLayout[R]
horizontalLayout[R]
horizontalLayout_2[R]
horizontalLayout_3[R]
label[R]
label_2[R]
label_3[R]
toDateDateEdit[R]
verticalLayout[R]
verticalLayout_2[R]
Public Instance Methods
retranslateUi(expandChangesDialog)
click to toggle source
# File lib/tmis/interface/forms/ui_expand_changes.rb, line 112 def retranslateUi(expandChangesDialog) expandChangesDialog.windowTitle = Qt::Application.translate("ExpandChangesDialog", "\320\240\320\260\321\201\320\277\321\200\320\276\321\201\321\202\321\200\320\260\320\275\320\265\320\275\320\270\320\265 \320\270\320\267\320\274\320\265\320\275\320\265\320\275\320\270\320\271", nil, Qt::Application::UnicodeUTF8) @label.text = Qt::Application.translate("ExpandChangesDialog", "\320\247\321\221\321\202\320\275\320\276\321\201\321\202\321\214:", nil, Qt::Application::UnicodeUTF8) @evennessComboBox.insertItems(0, [Qt::Application.translate("ExpandChangesDialog", "\320\235\320\265 \320\262\320\260\320\266\320\275\320\276", nil, Qt::Application::UnicodeUTF8), Qt::Application.translate("ExpandChangesDialog", "\320\237\320\276 \321\207\321\221\321\202\320\275\321\213\320\274", nil, Qt::Application::UnicodeUTF8), Qt::Application.translate("ExpandChangesDialog", "\320\237\320\276 \320\275\320\265\321\207\321\221\321\202\320\275\321\213\320\274", nil, Qt::Application::UnicodeUTF8)]) @label_2.text = Qt::Application.translate("ExpandChangesDialog", "\320\224\320\276 \320\264\320\260\321\202\321\213:", nil, Qt::Application::UnicodeUTF8) @toDateDateEdit.displayFormat = Qt::Application.translate("ExpandChangesDialog", "d.M.yy (dddd - d MMMM yy)", nil, Qt::Application::UnicodeUTF8) @label_3.text = Qt::Application.translate("ExpandChangesDialog", "\320\241 \320\275\320\265\320\264\320\265\320\273\320\270:", nil, Qt::Application::UnicodeUTF8) @fromDateDateEdit.displayFormat = Qt::Application.translate("ExpandChangesDialog", "d.M.yy (dddd - d MMMM yy)", nil, Qt::Application::UnicodeUTF8) end
retranslate_ui(expandChangesDialog)
click to toggle source
# File lib/tmis/interface/forms/ui_expand_changes.rb, line 124 def retranslate_ui(expandChangesDialog) retranslateUi(expandChangesDialog) end
setupUi(expandChangesDialog)
click to toggle source
# File lib/tmis/interface/forms/ui_expand_changes.rb, line 25 def setupUi(expandChangesDialog) if expandChangesDialog.objectName.nil? expandChangesDialog.objectName = "expandChangesDialog" end expandChangesDialog.resize(404, 141) @verticalLayout_2 = Qt::VBoxLayout.new(expandChangesDialog) @verticalLayout_2.objectName = "verticalLayout_2" @verticalLayout = Qt::VBoxLayout.new() @verticalLayout.objectName = "verticalLayout" @gridLayout = Qt::GridLayout.new() @gridLayout.objectName = "gridLayout" @gridLayout.setContentsMargins(-1, 20, -1, -1) @horizontalLayout_2 = Qt::HBoxLayout.new() @horizontalLayout_2.objectName = "horizontalLayout_2" @label = Qt::Label.new(expandChangesDialog) @label.objectName = "label" @horizontalLayout_2.addWidget(@label) @evennessComboBox = Qt::ComboBox.new(expandChangesDialog) @evennessComboBox.objectName = "evennessComboBox" @evennessComboBox.minimumSize = Qt::Size.new(270, 0) @horizontalLayout_2.addWidget(@evennessComboBox) @gridLayout.addLayout(@horizontalLayout_2, 2, 0, 1, 1) @horizontalLayout = Qt::HBoxLayout.new() @horizontalLayout.objectName = "horizontalLayout" @label_2 = Qt::Label.new(expandChangesDialog) @label_2.objectName = "label_2" @horizontalLayout.addWidget(@label_2) @toDateDateEdit = Qt::DateEdit.new(expandChangesDialog) @toDateDateEdit.objectName = "toDateDateEdit" @toDateDateEdit.minimumSize = Qt::Size.new(0, 0) @toDateDateEdit.calendarPopup = true @horizontalLayout.addWidget(@toDateDateEdit) @gridLayout.addLayout(@horizontalLayout, 1, 0, 1, 1) @horizontalLayout_3 = Qt::HBoxLayout.new() @horizontalLayout_3.objectName = "horizontalLayout_3" @label_3 = Qt::Label.new(expandChangesDialog) @label_3.objectName = "label_3" @horizontalLayout_3.addWidget(@label_3) @fromDateDateEdit = Qt::DateEdit.new(expandChangesDialog) @fromDateDateEdit.objectName = "fromDateDateEdit" @fromDateDateEdit.minimumSize = Qt::Size.new(0, 0) @fromDateDateEdit.calendarPopup = true @horizontalLayout_3.addWidget(@fromDateDateEdit) @gridLayout.addLayout(@horizontalLayout_3, 0, 0, 1, 1) @verticalLayout.addLayout(@gridLayout) @buttonBox = Qt::DialogButtonBox.new(expandChangesDialog) @buttonBox.objectName = "buttonBox" @buttonBox.orientation = Qt::Horizontal @buttonBox.standardButtons = Qt::DialogButtonBox::Cancel|Qt::DialogButtonBox::Ok @verticalLayout.addWidget(@buttonBox) @verticalLayout_2.addLayout(@verticalLayout) retranslateUi(expandChangesDialog) Qt::Object.connect(@buttonBox, SIGNAL('accepted()'), expandChangesDialog, SLOT('accept()')) Qt::Object.connect(@buttonBox, SIGNAL('rejected()'), expandChangesDialog, SLOT('reject()')) Qt::MetaObject.connectSlotsByName(expandChangesDialog) end
setup_ui(expandChangesDialog)
click to toggle source
# File lib/tmis/interface/forms/ui_expand_changes.rb, line 108 def setup_ui(expandChangesDialog) setupUi(expandChangesDialog) end