Class: Ui_ProjectFilesRuleChooser
- Defined in:
- lib/ruber/world/ui/project_files_rule_chooser_widget.rb,
lib/ruber/projects/ui/project_files_rule_chooser_widget.rb
Overview
** Form generated from reading ui file ‘project_files_rule_chooser_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
-
#add_path_btn ⇒ Object
readonly
Returns the value of attribute add_path_btn.
-
#add_regexp_btn ⇒ Object
readonly
Returns the value of attribute add_regexp_btn.
-
#gridLayout ⇒ Object
readonly
Returns the value of attribute gridLayout.
-
#remove_rule_btn ⇒ Object
readonly
Returns the value of attribute remove_rule_btn.
-
#rules_widget ⇒ Object
readonly
Returns the value of attribute rules_widget.
Instance Method Summary collapse
-
#retranslate_ui(projectFilesRuleChooser) ⇒ Object
retranslateUi.
- #retranslateUi(projectFilesRuleChooser) ⇒ Object
-
#setup_ui(projectFilesRuleChooser) ⇒ Object
setupUi.
- #setupUi(projectFilesRuleChooser) ⇒ Object
Instance Attribute Details
#add_path_btn ⇒ Object (readonly)
Returns the value of attribute add_path_btn.
14 15 16 |
# File 'lib/ruber/world/ui/project_files_rule_chooser_widget.rb', line 14 def add_path_btn @add_path_btn end |
#add_regexp_btn ⇒ Object (readonly)
Returns the value of attribute add_regexp_btn.
13 14 15 |
# File 'lib/ruber/world/ui/project_files_rule_chooser_widget.rb', line 13 def add_regexp_btn @add_regexp_btn end |
#gridLayout ⇒ Object (readonly)
Returns the value of attribute gridLayout.
11 12 13 |
# File 'lib/ruber/world/ui/project_files_rule_chooser_widget.rb', line 11 def gridLayout @gridLayout end |
#remove_rule_btn ⇒ Object (readonly)
Returns the value of attribute remove_rule_btn.
12 13 14 |
# File 'lib/ruber/world/ui/project_files_rule_chooser_widget.rb', line 12 def remove_rule_btn @remove_rule_btn end |
#rules_widget ⇒ Object (readonly)
Returns the value of attribute rules_widget.
15 16 17 |
# File 'lib/ruber/world/ui/project_files_rule_chooser_widget.rb', line 15 def @rules_widget end |
Instance Method Details
#retranslate_ui(projectFilesRuleChooser) ⇒ Object
retranslateUi
64 65 66 |
# File 'lib/ruber/world/ui/project_files_rule_chooser_widget.rb', line 64 def retranslate_ui(projectFilesRuleChooser) retranslateUi(projectFilesRuleChooser) end |
#retranslateUi(projectFilesRuleChooser) ⇒ Object
57 58 59 60 61 62 |
# File 'lib/ruber/world/ui/project_files_rule_chooser_widget.rb', line 57 def retranslateUi(projectFilesRuleChooser) projectFilesRuleChooser.windowTitle = Qt::Application.translate("ProjectFilesRuleChooser", "Form", nil, Qt::Application::UnicodeUTF8) @remove_rule_btn.text = Qt::Application.translate("ProjectFilesRuleChooser", "&Remove rule", nil, Qt::Application::UnicodeUTF8) @add_regexp_btn.text = Qt::Application.translate("ProjectFilesRuleChooser", "Add ®exp rule", nil, Qt::Application::UnicodeUTF8) @add_path_btn.text = Qt::Application.translate("ProjectFilesRuleChooser", "Add &file rule", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(projectFilesRuleChooser) ⇒ Object
setupUi
53 54 55 |
# File 'lib/ruber/world/ui/project_files_rule_chooser_widget.rb', line 53 def setup_ui(projectFilesRuleChooser) setupUi(projectFilesRuleChooser) end |
#setupUi(projectFilesRuleChooser) ⇒ Object
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 44 45 46 47 48 49 50 51 |
# File 'lib/ruber/world/ui/project_files_rule_chooser_widget.rb', line 17 def setupUi(projectFilesRuleChooser) if projectFilesRuleChooser.objectName.nil? projectFilesRuleChooser.objectName = "projectFilesRuleChooser" end projectFilesRuleChooser.resize(505, 143) @gridLayout = Qt::GridLayout.new(projectFilesRuleChooser) @gridLayout.objectName = "gridLayout" @remove_rule_btn = KDE::PushButton.new(projectFilesRuleChooser) @remove_rule_btn.objectName = "remove_rule_btn" @gridLayout.addWidget(@remove_rule_btn, 3, 1, 1, 1) @add_regexp_btn = KDE::PushButton.new(projectFilesRuleChooser) @add_regexp_btn.objectName = "add_regexp_btn" @gridLayout.addWidget(@add_regexp_btn, 0, 1, 1, 1) @add_path_btn = KDE::PushButton.new(projectFilesRuleChooser) @add_path_btn.objectName = "add_path_btn" @gridLayout.addWidget(@add_path_btn, 1, 1, 1, 1) @rules_widget = Qt::TreeView.new(projectFilesRuleChooser) @rules_widget.objectName = "rules_widget" @rules_widget.rootIsDecorated = false @rules_widget.uniformRowHeights = true @rules_widget.allColumnsShowFocus = true @gridLayout.addWidget(@rules_widget, 0, 0, 5, 1) retranslateUi(projectFilesRuleChooser) Qt::MetaObject.connectSlotsByName(projectFilesRuleChooser) end |