Class: Ui_LexerWidget
- Inherits:
-
Object
- Object
- Ui_LexerWidget
- Defined in:
- lib/ui/ui_lexer.rb
Overview
** Form generated from reading ui file ‘lexer.ui’ ** ** Created: 土 12 12 17:52:38 2015 ** by: Qt User Interface Compiler version 4.8.6 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#buttonNext ⇒ Object
readonly
Returns the value of attribute buttonNext.
-
#buttonPrev ⇒ Object
readonly
Returns the value of attribute buttonPrev.
-
#dockWidgetContents ⇒ Object
readonly
Returns the value of attribute dockWidgetContents.
-
#historyBox ⇒ Object
readonly
Returns the value of attribute historyBox.
-
#horizontalLayout ⇒ Object
readonly
Returns the value of attribute horizontalLayout.
-
#lexerTextBrowser ⇒ Object
readonly
Returns the value of attribute lexerTextBrowser.
-
#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(lexerWidget) ⇒ Object
retranslateUi.
- #retranslateUi(lexerWidget) ⇒ Object
-
#setup_ui(lexerWidget) ⇒ Object
setupUi.
- #setupUi(lexerWidget) ⇒ Object
Instance Attribute Details
#buttonNext ⇒ Object (readonly)
Returns the value of attribute buttonNext.
15 16 17 |
# File 'lib/ui/ui_lexer.rb', line 15 def end |
#buttonPrev ⇒ Object (readonly)
Returns the value of attribute buttonPrev.
14 15 16 |
# File 'lib/ui/ui_lexer.rb', line 14 def end |
#dockWidgetContents ⇒ Object (readonly)
Returns the value of attribute dockWidgetContents.
11 12 13 |
# File 'lib/ui/ui_lexer.rb', line 11 def dockWidgetContents @dockWidgetContents end |
#historyBox ⇒ Object (readonly)
Returns the value of attribute historyBox.
16 17 18 |
# File 'lib/ui/ui_lexer.rb', line 16 def historyBox @historyBox end |
#horizontalLayout ⇒ Object (readonly)
Returns the value of attribute horizontalLayout.
13 14 15 |
# File 'lib/ui/ui_lexer.rb', line 13 def horizontalLayout @horizontalLayout end |
#lexerTextBrowser ⇒ Object (readonly)
Returns the value of attribute lexerTextBrowser.
18 19 20 |
# File 'lib/ui/ui_lexer.rb', line 18 def lexerTextBrowser @lexerTextBrowser end |
#verticalLayout ⇒ Object (readonly)
Returns the value of attribute verticalLayout.
17 18 19 |
# File 'lib/ui/ui_lexer.rb', line 17 def verticalLayout @verticalLayout end |
#verticalLayout_2 ⇒ Object (readonly)
Returns the value of attribute verticalLayout_2.
12 13 14 |
# File 'lib/ui/ui_lexer.rb', line 12 def verticalLayout_2 @verticalLayout_2 end |
Instance Method Details
#retranslate_ui(lexerWidget) ⇒ Object
retranslateUi
89 90 91 |
# File 'lib/ui/ui_lexer.rb', line 89 def retranslate_ui(lexerWidget) retranslateUi(lexerWidget) end |
#retranslateUi(lexerWidget) ⇒ Object
82 83 84 85 86 87 |
# File 'lib/ui/ui_lexer.rb', line 82 def retranslateUi(lexerWidget) lexerWidget.windowTitle = Qt::Application.translate("LexerWidget", "Lexer", nil, Qt::Application::UnicodeUTF8) .accessibleName = '' .text = Qt::Application.translate("LexerWidget", "...", nil, Qt::Application::UnicodeUTF8) .text = Qt::Application.translate("LexerWidget", "...", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(lexerWidget) ⇒ Object
setupUi
78 79 80 |
# File 'lib/ui/ui_lexer.rb', line 78 def setup_ui(lexerWidget) setupUi(lexerWidget) end |
#setupUi(lexerWidget) ⇒ Object
20 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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/ui/ui_lexer.rb', line 20 def setupUi(lexerWidget) if lexerWidget.objectName.nil? lexerWidget.objectName = "lexerWidget" end lexerWidget.resize(400, 300) lexerWidget.minimumSize = Qt::Size.new(266, 200) lexerWidget.features = Qt::DockWidget::DockWidgetFloatable|Qt::DockWidget::DockWidgetMovable lexerWidget.allowedAreas = Qt::BottomDockWidgetArea|Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea @dockWidgetContents = Qt::Widget.new(lexerWidget) @dockWidgetContents.objectName = "dockWidgetContents" @verticalLayout_2 = Qt::VBoxLayout.new(@dockWidgetContents) @verticalLayout_2.objectName = "verticalLayout_2" @verticalLayout_2.setContentsMargins(0, 0, 0, 0) @horizontalLayout = Qt::HBoxLayout.new() @horizontalLayout.objectName = "horizontalLayout" = Qt::ToolButton.new(@dockWidgetContents) .objectName = "buttonPrev" @horizontalLayout.addWidget() = Qt::ToolButton.new(@dockWidgetContents) .objectName = "buttonNext" @horizontalLayout.addWidget() @historyBox = Qt::ComboBox.new(@dockWidgetContents) @historyBox.objectName = "historyBox" @font = Qt::Font.new @font.pointSize = 11 @historyBox.font = @font @horizontalLayout.addWidget(@historyBox) @verticalLayout_2.addLayout(@horizontalLayout) @verticalLayout = Qt::VBoxLayout.new() @verticalLayout.objectName = "verticalLayout" @lexerTextBrowser = Qt::TextBrowser.new(@dockWidgetContents) @lexerTextBrowser.objectName = "lexerTextBrowser" @lexerTextBrowser.minimumSize = Qt::Size.new(0, 0) @font1 = Qt::Font.new @font1.pointSize = 18 @lexerTextBrowser.font = @font1 @lexerTextBrowser.openLinks = false @verticalLayout.addWidget(@lexerTextBrowser) @verticalLayout_2.addLayout(@verticalLayout) lexerWidget.setWidget(@dockWidgetContents) retranslateUi(lexerWidget) Qt::MetaObject.connectSlotsByName(lexerWidget) end |