Class: Ui_RelationsConfig
Overview
** Form generated from reading ui file ‘relations.ui’ ** ** Created: Sat Jun 14 16:46:54 2008 ** by: Qt User Interface Compiler version 4.4.0 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#close ⇒ Object
readonly
Returns the value of attribute close.
-
#gridLayout ⇒ Object
readonly
Returns the value of attribute gridLayout.
-
#hboxLayout ⇒ Object
readonly
Returns the value of attribute hboxLayout.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#label_2 ⇒ Object
readonly
Returns the value of attribute label_2.
-
#layout_method ⇒ Object
readonly
Returns the value of attribute layout_method.
-
#relations ⇒ Object
readonly
Returns the value of attribute relations.
-
#spacerItem ⇒ Object
readonly
Returns the value of attribute spacerItem.
-
#stream ⇒ Object
readonly
Returns the value of attribute stream.
-
#vboxLayout ⇒ Object
readonly
Returns the value of attribute vboxLayout.
Instance Method Summary collapse
-
#retranslate_ui(relationsConfig) ⇒ Object
retranslateUi.
- #retranslateUi(relationsConfig) ⇒ Object
-
#setup_ui(relationsConfig) ⇒ Object
setupUi.
- #setupUi(relationsConfig) ⇒ Object
Instance Attribute Details
#close ⇒ Object (readonly)
Returns the value of attribute close.
14 15 16 |
# File 'lib/roby/log/gui/relations_ui.rb', line 14 def close @close end |
#gridLayout ⇒ Object (readonly)
Returns the value of attribute gridLayout.
15 16 17 |
# File 'lib/roby/log/gui/relations_ui.rb', line 15 def gridLayout @gridLayout end |
#hboxLayout ⇒ Object (readonly)
Returns the value of attribute hboxLayout.
12 13 14 |
# File 'lib/roby/log/gui/relations_ui.rb', line 12 def hboxLayout @hboxLayout end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
17 18 19 |
# File 'lib/roby/log/gui/relations_ui.rb', line 17 def label @label end |
#label_2 ⇒ Object (readonly)
Returns the value of attribute label_2.
19 20 21 |
# File 'lib/roby/log/gui/relations_ui.rb', line 19 def label_2 @label_2 end |
#layout_method ⇒ Object (readonly)
Returns the value of attribute layout_method.
16 17 18 |
# File 'lib/roby/log/gui/relations_ui.rb', line 16 def layout_method @layout_method end |
#relations ⇒ Object (readonly)
Returns the value of attribute relations.
20 21 22 |
# File 'lib/roby/log/gui/relations_ui.rb', line 20 def relations @relations end |
#spacerItem ⇒ Object (readonly)
Returns the value of attribute spacerItem.
13 14 15 |
# File 'lib/roby/log/gui/relations_ui.rb', line 13 def spacerItem @spacerItem end |
#stream ⇒ Object (readonly)
Returns the value of attribute stream.
18 19 20 |
# File 'lib/roby/log/gui/relations_ui.rb', line 18 def stream @stream end |
#vboxLayout ⇒ Object (readonly)
Returns the value of attribute vboxLayout.
11 12 13 |
# File 'lib/roby/log/gui/relations_ui.rb', line 11 def vboxLayout @vboxLayout end |
Instance Method Details
#retranslate_ui(relationsConfig) ⇒ Object
retranslateUi
110 111 112 |
# File 'lib/roby/log/gui/relations_ui.rb', line 110 def retranslate_ui(relationsConfig) retranslateUi(relationsConfig) end |
#retranslateUi(relationsConfig) ⇒ Object
103 104 105 106 107 108 |
# File 'lib/roby/log/gui/relations_ui.rb', line 103 def retranslateUi(relationsConfig) relationsConfig.windowTitle = Qt::Application.translate("RelationsConfig", "RelationsConfig", nil, Qt::Application::UnicodeUTF8) @close.text = Qt::Application.translate("RelationsConfig", "Close", nil, Qt::Application::UnicodeUTF8) @label.text = Qt::Application.translate("RelationsConfig", "Data stream", nil, Qt::Application::UnicodeUTF8) @label_2.text = Qt::Application.translate("RelationsConfig", "Layout method", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(relationsConfig) ⇒ Object
setupUi
99 100 101 |
# File 'lib/roby/log/gui/relations_ui.rb', line 99 def setup_ui(relationsConfig) setupUi(relationsConfig) end |
#setupUi(relationsConfig) ⇒ Object
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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/roby/log/gui/relations_ui.rb', line 22 def setupUi(relationsConfig) if relationsConfig.objectName.nil? relationsConfig.objectName = "relationsConfig" end relationsConfig.resize(696, 668) @vboxLayout = Qt::VBoxLayout.new(relationsConfig) @vboxLayout.spacing = 6 @vboxLayout.margin = 9 @vboxLayout.objectName = "vboxLayout" @hboxLayout = Qt::HBoxLayout.new() @hboxLayout.spacing = 6 @hboxLayout.margin = 0 @hboxLayout.objectName = "hboxLayout" @spacerItem = Qt::SpacerItem.new(40, 20, Qt::SizePolicy::Expanding, Qt::SizePolicy::Minimum) @hboxLayout.addItem(@spacerItem) @close = Qt::PushButton.new(relationsConfig) @close.objectName = "close" @hboxLayout.addWidget(@close) @vboxLayout.addLayout(@hboxLayout) @gridLayout = Qt::GridLayout.new() @gridLayout.spacing = 6 @gridLayout.margin = 0 @gridLayout.objectName = "gridLayout" @layout_method = Qt::ComboBox.new(relationsConfig) @layout_method.objectName = "layout_method" @sizePolicy = Qt::SizePolicy.new(3, 0) @sizePolicy.setHorizontalStretch(0) @sizePolicy.setVerticalStretch(0) @sizePolicy.heightForWidth = @layout_method.sizePolicy.hasHeightForWidth @layout_method.sizePolicy = @sizePolicy @gridLayout.addWidget(@layout_method, 1, 2, 1, 1) @label = Qt::Label.new(relationsConfig) @label.objectName = "label" @sizePolicy1 = Qt::SizePolicy.new(1, 5) @sizePolicy1.setHorizontalStretch(0) @sizePolicy1.setVerticalStretch(0) @sizePolicy1.heightForWidth = @label.sizePolicy.hasHeightForWidth @label.sizePolicy = @sizePolicy1 @gridLayout.addWidget(@label, 0, 0, 1, 1) @stream = Qt::ComboBox.new(relationsConfig) @stream.objectName = "stream" @sizePolicy.heightForWidth = @stream.sizePolicy.hasHeightForWidth @stream.sizePolicy = @sizePolicy @gridLayout.addWidget(@stream, 0, 1, 1, 2) @label_2 = Qt::Label.new(relationsConfig) @label_2.objectName = "label_2" @sizePolicy1.heightForWidth = @label_2.sizePolicy.hasHeightForWidth @label_2.sizePolicy = @sizePolicy1 @gridLayout.addWidget(@label_2, 1, 0, 1, 2) @vboxLayout.addLayout(@gridLayout) @relations = Qt::TreeView.new(relationsConfig) @relations.objectName = "relations" @vboxLayout.addWidget(@relations) retranslateUi(relationsConfig) Qt::MetaObject.connectSlotsByName(relationsConfig) end |