Class: Ui_MainWindow
- Inherits:
-
Object
- Object
- Ui_MainWindow
- Defined in:
- lib/ui/ui_main_window.rb
Overview
** Form generated from reading ui file ‘main_window.ui’ ** ** Created: 土 12月 12 17:06:01 2015 ** by: Qt User Interface Compiler version 4.8.7 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#actionAnalyse_Text ⇒ Object
readonly
Returns the value of attribute actionAnalyse_Text.
-
#actionCapture_Clipbord ⇒ Object
readonly
Returns the value of attribute actionCapture_Clipbord.
-
#actionSettings ⇒ Object
readonly
Returns the value of attribute actionSettings.
-
#bigEditor ⇒ Object
readonly
Returns the value of attribute bigEditor.
-
#centralwidget ⇒ Object
readonly
Returns the value of attribute centralwidget.
-
#menubar ⇒ Object
readonly
Returns the value of attribute menubar.
-
#statusbar ⇒ Object
readonly
Returns the value of attribute statusbar.
-
#verticalLayout ⇒ Object
readonly
Returns the value of attribute verticalLayout.
-
#verticalLayout_2 ⇒ Object
readonly
Returns the value of attribute verticalLayout_2.
Instance Method Summary collapse
-
#retranslate_ui(mainWindow) ⇒ Object
retranslateUi.
- #retranslateUi(mainWindow) ⇒ Object
-
#setup_ui(mainWindow) ⇒ Object
setupUi.
- #setupUi(mainWindow) ⇒ Object
Instance Attribute Details
#actionAnalyse_Text ⇒ Object (readonly)
Returns the value of attribute actionAnalyse_Text.
11 12 13 |
# File 'lib/ui/ui_main_window.rb', line 11 def actionAnalyse_Text @actionAnalyse_Text end |
#actionCapture_Clipbord ⇒ Object (readonly)
Returns the value of attribute actionCapture_Clipbord.
12 13 14 |
# File 'lib/ui/ui_main_window.rb', line 12 def actionCapture_Clipbord @actionCapture_Clipbord end |
#actionSettings ⇒ Object (readonly)
Returns the value of attribute actionSettings.
13 14 15 |
# File 'lib/ui/ui_main_window.rb', line 13 def actionSettings @actionSettings end |
#bigEditor ⇒ Object (readonly)
Returns the value of attribute bigEditor.
17 18 19 |
# File 'lib/ui/ui_main_window.rb', line 17 def bigEditor @bigEditor end |
#centralwidget ⇒ Object (readonly)
Returns the value of attribute centralwidget.
14 15 16 |
# File 'lib/ui/ui_main_window.rb', line 14 def end |
#menubar ⇒ Object (readonly)
Returns the value of attribute menubar.
18 19 20 |
# File 'lib/ui/ui_main_window.rb', line 18 def end |
#statusbar ⇒ Object (readonly)
Returns the value of attribute statusbar.
19 20 21 |
# File 'lib/ui/ui_main_window.rb', line 19 def end |
#verticalLayout ⇒ Object (readonly)
Returns the value of attribute verticalLayout.
16 17 18 |
# File 'lib/ui/ui_main_window.rb', line 16 def verticalLayout @verticalLayout end |
#verticalLayout_2 ⇒ Object (readonly)
Returns the value of attribute verticalLayout_2.
15 16 17 |
# File 'lib/ui/ui_main_window.rb', line 15 def verticalLayout_2 @verticalLayout_2 end |
Instance Method Details
#retranslate_ui(mainWindow) ⇒ Object
retranslateUi
75 76 77 |
# File 'lib/ui/ui_main_window.rb', line 75 def retranslate_ui(mainWindow) retranslateUi(mainWindow) end |
#retranslateUi(mainWindow) ⇒ Object
68 69 70 71 72 73 |
# File 'lib/ui/ui_main_window.rb', line 68 def retranslateUi(mainWindow) mainWindow.windowTitle = Qt::Application.translate("MainWindow", "Eiwaji", nil, Qt::Application::UnicodeUTF8) @actionAnalyse_Text.text = Qt::Application.translate("MainWindow", "Analyse Text", nil, Qt::Application::UnicodeUTF8) @actionCapture_Clipbord.text = Qt::Application.translate("MainWindow", "Capture Clipbord", nil, Qt::Application::UnicodeUTF8) @actionSettings.text = Qt::Application.translate("MainWindow", "Settings...", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(mainWindow) ⇒ Object
setupUi
64 65 66 |
# File 'lib/ui/ui_main_window.rb', line 64 def setup_ui(mainWindow) setupUi(mainWindow) end |
#setupUi(mainWindow) ⇒ Object
21 22 23 24 25 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 |
# File 'lib/ui/ui_main_window.rb', line 21 def setupUi(mainWindow) if mainWindow.objectName.nil? mainWindow.objectName = "mainWindow" end mainWindow.resize(800, 600) @actionAnalyse_Text = Qt::Action.new(mainWindow) @actionAnalyse_Text.objectName = "actionAnalyse_Text" @actionCapture_Clipbord = Qt::Action.new(mainWindow) @actionCapture_Clipbord.objectName = "actionCapture_Clipbord" @actionSettings = Qt::Action.new(mainWindow) @actionSettings.objectName = "actionSettings" = Qt::Widget.new(mainWindow) .objectName = "centralwidget" @verticalLayout_2 = Qt::VBoxLayout.new() @verticalLayout_2.objectName = "verticalLayout_2" @verticalLayout = Qt::VBoxLayout.new() @verticalLayout.objectName = "verticalLayout" @bigEditor = Qt::TextBrowser.new() @bigEditor.objectName = "bigEditor" @font = Qt::Font.new @font.pointSize = 12 @bigEditor.font = @font @bigEditor.readOnly = false @verticalLayout.addWidget(@bigEditor) @verticalLayout_2.addLayout(@verticalLayout) mainWindow.centralWidget = = Qt::MenuBar.new(mainWindow) .objectName = "menubar" .geometry = Qt::Rect.new(0, 0, 800, 19) mainWindow.setMenuBar() = Qt::StatusBar.new(mainWindow) .objectName = "statusbar" mainWindow.statusBar = retranslateUi(mainWindow) Qt::MetaObject.connectSlotsByName(mainWindow) end |