Class: Ui_WorkspaceSettingsWidgetBase
- Defined in:
- lib/ruber/world/ui/workspace_settings_widget.rb,
lib/ruber/main_window/ui/workspace_settings_widget.rb
Overview
** Form generated from reading ui file ‘workspace_settings_widget.ui’ ** ** Created: lun apr 18 09:11:58 2011 ** by: Qt User Interface Compiler version 4.7.2 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#_workspace__close_buttons ⇒ Object
readonly
Returns the value of attribute _workspace__close_buttons.
-
#verticalLayout ⇒ Object
readonly
Returns the value of attribute verticalLayout.
Instance Method Summary collapse
-
#retranslate_ui(workspaceSettingsWidgetBase) ⇒ Object
retranslateUi.
- #retranslateUi(workspaceSettingsWidgetBase) ⇒ Object
-
#setup_ui(workspaceSettingsWidgetBase) ⇒ Object
setupUi.
- #setupUi(workspaceSettingsWidgetBase) ⇒ Object
Instance Attribute Details
#_workspace__close_buttons ⇒ Object (readonly)
Returns the value of attribute _workspace__close_buttons.
12 13 14 |
# File 'lib/ruber/world/ui/workspace_settings_widget.rb', line 12 def @_workspace__close_buttons end |
#verticalLayout ⇒ Object (readonly)
Returns the value of attribute verticalLayout.
11 12 13 |
# File 'lib/ruber/world/ui/workspace_settings_widget.rb', line 11 def verticalLayout @verticalLayout end |
Instance Method Details
#retranslate_ui(workspaceSettingsWidgetBase) ⇒ Object
retranslateUi
41 42 43 |
# File 'lib/ruber/world/ui/workspace_settings_widget.rb', line 41 def retranslate_ui(workspaceSettingsWidgetBase) retranslateUi(workspaceSettingsWidgetBase) end |
#retranslateUi(workspaceSettingsWidgetBase) ⇒ Object
36 37 38 39 |
# File 'lib/ruber/world/ui/workspace_settings_widget.rb', line 36 def retranslateUi(workspaceSettingsWidgetBase) workspaceSettingsWidgetBase.windowTitle = Qt::Application.translate("WorkspaceSettingsWidgetBase", "Form", nil, Qt::Application::UnicodeUTF8) @_workspace__close_buttons.text = Qt::Application.translate("WorkspaceSettingsWidgetBase", "&Display close buttons on tabs", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(workspaceSettingsWidgetBase) ⇒ Object
setupUi
32 33 34 |
# File 'lib/ruber/world/ui/workspace_settings_widget.rb', line 32 def setup_ui(workspaceSettingsWidgetBase) setupUi(workspaceSettingsWidgetBase) end |
#setupUi(workspaceSettingsWidgetBase) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/ruber/world/ui/workspace_settings_widget.rb', line 14 def setupUi(workspaceSettingsWidgetBase) if workspaceSettingsWidgetBase.objectName.nil? workspaceSettingsWidgetBase.objectName = "workspaceSettingsWidgetBase" end workspaceSettingsWidgetBase.resize(400, 35) @verticalLayout = Qt::VBoxLayout.new(workspaceSettingsWidgetBase) @verticalLayout.objectName = "verticalLayout" @_workspace__close_buttons = Qt::CheckBox.new(workspaceSettingsWidgetBase) @_workspace__close_buttons.objectName = "_workspace__close_buttons" @verticalLayout.addWidget(@_workspace__close_buttons) retranslateUi(workspaceSettingsWidgetBase) Qt::MetaObject.connectSlotsByName(workspaceSettingsWidgetBase) end |