Class: Ui_MainWindowSettingsWidget
- Defined in:
- lib/ruber/main_window/ui/main_window_settings_widget.rb
Overview
** Form generated from reading ui file ‘main_window_settings_widget.ui’ ** ** Created: ven gen 28 14:09:05 2011 ** by: Qt User Interface Compiler version 4.7.1 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#_general__default_project_directory ⇒ Object
readonly
Returns the value of attribute _general__default_project_directory.
-
#_general__default_script_directory ⇒ Object
readonly
Returns the value of attribute _general__default_script_directory.
-
#_general__output_font ⇒ Object
readonly
Returns the value of attribute _general__output_font.
-
#_general__tool_open_files ⇒ Object
readonly
Returns the value of attribute _general__tool_open_files.
-
#_general__wrap_output ⇒ Object
readonly
Returns the value of attribute _general__wrap_output.
-
#gridLayout_2 ⇒ Object
readonly
Returns the value of attribute gridLayout_2.
-
#groupBox ⇒ Object
readonly
Returns the value of attribute groupBox.
-
#groupBox_2 ⇒ Object
readonly
Returns the value of attribute groupBox_2.
-
#horizontalLayout ⇒ Object
readonly
Returns the value of attribute horizontalLayout.
-
#horizontalLayout_2 ⇒ Object
readonly
Returns the value of attribute horizontalLayout_2.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#label_2 ⇒ Object
readonly
Returns the value of attribute label_2.
-
#label_3 ⇒ Object
readonly
Returns the value of attribute label_3.
-
#label_4 ⇒ Object
readonly
Returns the value of attribute label_4.
-
#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(mainWindowSettingsWidget) ⇒ Object
retranslateUi.
- #retranslateUi(mainWindowSettingsWidget) ⇒ Object
-
#setup_ui(mainWindowSettingsWidget) ⇒ Object
setupUi.
- #setupUi(mainWindowSettingsWidget) ⇒ Object
Instance Attribute Details
#_general__default_project_directory ⇒ Object (readonly)
Returns the value of attribute _general__default_project_directory.
17 18 19 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 17 def _general__default_project_directory @_general__default_project_directory end |
#_general__default_script_directory ⇒ Object (readonly)
Returns the value of attribute _general__default_script_directory.
15 16 17 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 15 def _general__default_script_directory @_general__default_script_directory end |
#_general__output_font ⇒ Object (readonly)
Returns the value of attribute _general__output_font.
22 23 24 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 22 def _general__output_font @_general__output_font end |
#_general__tool_open_files ⇒ Object (readonly)
Returns the value of attribute _general__tool_open_files.
26 27 28 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 26 def _general__tool_open_files @_general__tool_open_files end |
#_general__wrap_output ⇒ Object (readonly)
Returns the value of attribute _general__wrap_output.
23 24 25 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 23 def _general__wrap_output @_general__wrap_output end |
#gridLayout_2 ⇒ Object (readonly)
Returns the value of attribute gridLayout_2.
13 14 15 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 13 def gridLayout_2 @gridLayout_2 end |
#groupBox ⇒ Object (readonly)
Returns the value of attribute groupBox.
12 13 14 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 12 def groupBox @groupBox end |
#groupBox_2 ⇒ Object (readonly)
Returns the value of attribute groupBox_2.
18 19 20 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 18 def groupBox_2 @groupBox_2 end |
#horizontalLayout ⇒ Object (readonly)
Returns the value of attribute horizontalLayout.
20 21 22 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 20 def horizontalLayout @horizontalLayout end |
#horizontalLayout_2 ⇒ Object (readonly)
Returns the value of attribute horizontalLayout_2.
24 25 26 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 24 def horizontalLayout_2 @horizontalLayout_2 end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
21 22 23 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 21 def label @label end |
#label_2 ⇒ Object (readonly)
Returns the value of attribute label_2.
14 15 16 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 14 def label_2 @label_2 end |
#label_3 ⇒ Object (readonly)
Returns the value of attribute label_3.
16 17 18 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 16 def label_3 @label_3 end |
#label_4 ⇒ Object (readonly)
Returns the value of attribute label_4.
25 26 27 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 25 def label_4 @label_4 end |
#verticalLayout ⇒ Object (readonly)
Returns the value of attribute verticalLayout.
19 20 21 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 19 def verticalLayout @verticalLayout end |
#verticalLayout_2 ⇒ Object (readonly)
Returns the value of attribute verticalLayout_2.
11 12 13 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 11 def verticalLayout_2 @verticalLayout_2 end |
Instance Method Details
#retranslate_ui(mainWindowSettingsWidget) ⇒ Object
retranslateUi
131 132 133 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 131 def retranslate_ui(mainWindowSettingsWidget) retranslateUi(mainWindowSettingsWidget) end |
#retranslateUi(mainWindowSettingsWidget) ⇒ Object
116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 116 def retranslateUi(mainWindowSettingsWidget) mainWindowSettingsWidget.windowTitle = Qt::Application.translate("MainWindowSettingsWidget", "Form", nil, Qt::Application::UnicodeUTF8) @groupBox.title = Qt::Application.translate("MainWindowSettingsWidget", "Default paths", nil, Qt::Application::UnicodeUTF8) @label_2.text = Qt::Application.translate("MainWindowSettingsWidget", "&Default script directory", nil, Qt::Application::UnicodeUTF8) @label_3.text = Qt::Application.translate("MainWindowSettingsWidget", "&Default project directory", nil, Qt::Application::UnicodeUTF8) @groupBox_2.title = Qt::Application.translate("MainWindowSettingsWidget", "Output", nil, Qt::Application::UnicodeUTF8) @label.text = Qt::Application.translate("MainWindowSettingsWidget", "Output font", nil, Qt::Application::UnicodeUTF8) @_general__wrap_output.text = Qt::Application.translate("MainWindowSettingsWidget", "&Wrap lines in output widgets", nil, Qt::Application::UnicodeUTF8) @label_4.text = Qt::Application.translate("MainWindowSettingsWidget", "When opening files from tool widgets in a new editor", nil, Qt::Application::UnicodeUTF8) @_general__tool_open_files.insertItems(0, [Qt::Application.translate("MainWindowSettingsWidget", "Open editor in new tab", nil, Qt::Application::UnicodeUTF8), Qt::Application.translate("MainWindowSettingsWidget", "Split current editor horizontally", nil, Qt::Application::UnicodeUTF8), Qt::Application.translate("MainWindowSettingsWidget", "Split current editor vertically", nil, Qt::Application::UnicodeUTF8)]) @_general__tool_open_files.setProperty("access", Qt::Variant.new(Qt::Application.translate("MainWindowSettingsWidget", "$tool_open_files", nil, Qt::Application::UnicodeUTF8))) end |
#setup_ui(mainWindowSettingsWidget) ⇒ Object
setupUi
112 113 114 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 112 def setup_ui(mainWindowSettingsWidget) setupUi(mainWindowSettingsWidget) end |
#setupUi(mainWindowSettingsWidget) ⇒ Object
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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
# File 'lib/ruber/main_window/ui/main_window_settings_widget.rb', line 28 def setupUi(mainWindowSettingsWidget) if mainWindowSettingsWidget.objectName.nil? mainWindowSettingsWidget.objectName = "mainWindowSettingsWidget" end mainWindowSettingsWidget.resize(507, 235) @verticalLayout_2 = Qt::VBoxLayout.new(mainWindowSettingsWidget) @verticalLayout_2.objectName = "verticalLayout_2" @groupBox = Qt::GroupBox.new(mainWindowSettingsWidget) @groupBox.objectName = "groupBox" @gridLayout_2 = Qt::GridLayout.new(@groupBox) @gridLayout_2.objectName = "gridLayout_2" @label_2 = Qt::Label.new(@groupBox) @label_2.objectName = "label_2" @gridLayout_2.addWidget(@label_2, 0, 0, 1, 1) @_general__default_script_directory = KDE::UrlRequester.new(@groupBox) @_general__default_script_directory.objectName = "_general__default_script_directory" @gridLayout_2.addWidget(@_general__default_script_directory, 0, 1, 1, 1) @label_3 = Qt::Label.new(@groupBox) @label_3.objectName = "label_3" @gridLayout_2.addWidget(@label_3, 1, 0, 1, 1) @_general__default_project_directory = KDE::UrlRequester.new(@groupBox) @_general__default_project_directory.objectName = "_general__default_project_directory" @gridLayout_2.addWidget(@_general__default_project_directory, 1, 1, 1, 1) @verticalLayout_2.addWidget(@groupBox) @groupBox_2 = Qt::GroupBox.new(mainWindowSettingsWidget) @groupBox_2.objectName = "groupBox_2" @verticalLayout = Qt::VBoxLayout.new(@groupBox_2) @verticalLayout.objectName = "verticalLayout" @horizontalLayout = Qt::HBoxLayout.new() @horizontalLayout.objectName = "horizontalLayout" @label = Qt::Label.new(@groupBox_2) @label.objectName = "label" @horizontalLayout.addWidget(@label) @_general__output_font = KDE::FontRequester.new(@groupBox_2) @_general__output_font.objectName = "_general__output_font" @horizontalLayout.addWidget(@_general__output_font) @verticalLayout.addLayout(@horizontalLayout) @_general__wrap_output = Qt::CheckBox.new(@groupBox_2) @_general__wrap_output.objectName = "_general__wrap_output" @verticalLayout.addWidget(@_general__wrap_output) @horizontalLayout_2 = Qt::HBoxLayout.new() @horizontalLayout_2.objectName = "horizontalLayout_2" @label_4 = Qt::Label.new(@groupBox_2) @label_4.objectName = "label_4" @horizontalLayout_2.addWidget(@label_4) @_general__tool_open_files = KDE::ComboBox.new(@groupBox_2) @_general__tool_open_files.objectName = "_general__tool_open_files" @horizontalLayout_2.addWidget(@_general__tool_open_files) @verticalLayout.addLayout(@horizontalLayout_2) @verticalLayout_2.addWidget(@groupBox_2) @label_2.buddy = @_general__default_script_directory @label_3.buddy = @_general__default_project_directory retranslateUi(mainWindowSettingsWidget) Qt::MetaObject.connectSlotsByName(mainWindowSettingsWidget) end |