Class: Ui_ConsoleDialog
- Defined in:
- lib/tmis/interface/forms/ui_console.rb
Overview
** Form generated from reading ui file ‘console.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
-
#gridLayout ⇒ Object
readonly
Returns the value of attribute gridLayout.
-
#gridLayout_2 ⇒ Object
readonly
Returns the value of attribute gridLayout_2.
-
#textBrowser ⇒ Object
readonly
Returns the value of attribute textBrowser.
-
#verticalLayout ⇒ Object
readonly
Returns the value of attribute verticalLayout.
Instance Method Summary collapse
-
#retranslate_ui(consoleDialog) ⇒ Object
retranslateUi.
- #retranslateUi(consoleDialog) ⇒ Object
-
#setup_ui(consoleDialog) ⇒ Object
setupUi.
- #setupUi(consoleDialog) ⇒ Object
Instance Attribute Details
#gridLayout ⇒ Object (readonly)
Returns the value of attribute gridLayout.
12 13 14 |
# File 'lib/tmis/interface/forms/ui_console.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_console.rb', line 11 def gridLayout_2 @gridLayout_2 end |
#textBrowser ⇒ Object (readonly)
Returns the value of attribute textBrowser.
14 15 16 |
# File 'lib/tmis/interface/forms/ui_console.rb', line 14 def textBrowser @textBrowser end |
#verticalLayout ⇒ Object (readonly)
Returns the value of attribute verticalLayout.
13 14 15 |
# File 'lib/tmis/interface/forms/ui_console.rb', line 13 def verticalLayout @verticalLayout end |
Instance Method Details
#retranslate_ui(consoleDialog) ⇒ Object
retranslateUi
58 59 60 |
# File 'lib/tmis/interface/forms/ui_console.rb', line 58 def retranslate_ui(consoleDialog) retranslateUi(consoleDialog) end |
#retranslateUi(consoleDialog) ⇒ Object
49 50 51 52 53 54 55 56 |
# File 'lib/tmis/interface/forms/ui_console.rb', line 49 def retranslateUi(consoleDialog) consoleDialog.windowTitle = Qt::Application.translate("ConsoleDialog", "Dialog", nil, Qt::Application::UnicodeUTF8) @textBrowser.html = Qt::Application.translate("ConsoleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" \ "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" \ "p, li { white-space: pre-wrap; }\n" \ "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;\">\n" \ "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(consoleDialog) ⇒ Object
setupUi
45 46 47 |
# File 'lib/tmis/interface/forms/ui_console.rb', line 45 def setup_ui(consoleDialog) setupUi(consoleDialog) end |
#setupUi(consoleDialog) ⇒ Object
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 |
# File 'lib/tmis/interface/forms/ui_console.rb', line 16 def setupUi(consoleDialog) if consoleDialog.objectName.nil? consoleDialog.objectName = "consoleDialog" end consoleDialog.resize(804, 218) consoleDialog.locale = Qt::Locale.new(Qt::Locale::Russian, Qt::Locale::RussianFederation) @gridLayout_2 = Qt::GridLayout.new(consoleDialog) @gridLayout_2.objectName = "gridLayout_2" @gridLayout = Qt::GridLayout.new() @gridLayout.objectName = "gridLayout" @verticalLayout = Qt::VBoxLayout.new() @verticalLayout.objectName = "verticalLayout" @textBrowser = Qt::TextBrowser.new(consoleDialog) @textBrowser.objectName = "textBrowser" @verticalLayout.addWidget(@textBrowser) @gridLayout.addLayout(@verticalLayout, 0, 0, 1, 1) @gridLayout_2.addLayout(@gridLayout, 0, 0, 1, 1) retranslateUi(consoleDialog) Qt::MetaObject.connectSlotsByName(consoleDialog) end |