Class: Ui_NodeinfoWidget
- Inherits:
-
Object
- Object
- Ui_NodeinfoWidget
- Defined in:
- lib/nodeinfo-widget.rb
Overview
** Form generated from reading ui file ‘nodeinfo-widget.ui’ ** ** Created: Mo. Jun 14 18:03:14 2010 ** by: Qt User Interface Compiler version 4.6.2 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#frame ⇒ Object
readonly
Returns the value of attribute frame.
-
#gridLayout ⇒ Object
readonly
Returns the value of attribute gridLayout.
-
#gridLayout_2 ⇒ Object
readonly
Returns the value of attribute gridLayout_2.
-
#label_3 ⇒ Object
readonly
Returns the value of attribute label_3.
-
#label_4 ⇒ Object
readonly
Returns the value of attribute label_4.
-
#label_5 ⇒ Object
readonly
Returns the value of attribute label_5.
-
#label_6 ⇒ Object
readonly
Returns the value of attribute label_6.
-
#label_7 ⇒ Object
readonly
Returns the value of attribute label_7.
-
#label_8 ⇒ Object
readonly
Returns the value of attribute label_8.
-
#lBalt ⇒ Object
readonly
Returns the value of attribute lBalt.
-
#lBdist ⇒ Object
readonly
Returns the value of attribute lBdist.
-
#lBlat ⇒ Object
readonly
Returns the value of attribute lBlat.
-
#lBlon ⇒ Object
readonly
Returns the value of attribute lBlon.
-
#lBspeed ⇒ Object
readonly
Returns the value of attribute lBspeed.
-
#lBtime ⇒ Object
readonly
Returns the value of attribute lBtime.
Instance Method Summary collapse
-
#retranslate_ui(nodeinfoWidget) ⇒ Object
retranslateUi.
- #retranslateUi(nodeinfoWidget) ⇒ Object
-
#setup_ui(nodeinfoWidget) ⇒ Object
setupUi.
- #setupUi(nodeinfoWidget) ⇒ Object
Instance Attribute Details
#frame ⇒ Object (readonly)
Returns the value of attribute frame.
12 13 14 |
# File 'lib/nodeinfo-widget.rb', line 12 def frame @frame end |
#gridLayout ⇒ Object (readonly)
Returns the value of attribute gridLayout.
13 14 15 |
# File 'lib/nodeinfo-widget.rb', line 13 def gridLayout @gridLayout end |
#gridLayout_2 ⇒ Object (readonly)
Returns the value of attribute gridLayout_2.
11 12 13 |
# File 'lib/nodeinfo-widget.rb', line 11 def gridLayout_2 @gridLayout_2 end |
#label_3 ⇒ Object (readonly)
Returns the value of attribute label_3.
20 21 22 |
# File 'lib/nodeinfo-widget.rb', line 20 def label_3 @label_3 end |
#label_4 ⇒ Object (readonly)
Returns the value of attribute label_4.
18 19 20 |
# File 'lib/nodeinfo-widget.rb', line 18 def label_4 @label_4 end |
#label_5 ⇒ Object (readonly)
Returns the value of attribute label_5.
24 25 26 |
# File 'lib/nodeinfo-widget.rb', line 24 def label_5 @label_5 end |
#label_6 ⇒ Object (readonly)
Returns the value of attribute label_6.
22 23 24 |
# File 'lib/nodeinfo-widget.rb', line 22 def label_6 @label_6 end |
#label_7 ⇒ Object (readonly)
Returns the value of attribute label_7.
14 15 16 |
# File 'lib/nodeinfo-widget.rb', line 14 def label_7 @label_7 end |
#label_8 ⇒ Object (readonly)
Returns the value of attribute label_8.
16 17 18 |
# File 'lib/nodeinfo-widget.rb', line 16 def label_8 @label_8 end |
#lBalt ⇒ Object (readonly)
Returns the value of attribute lBalt.
19 20 21 |
# File 'lib/nodeinfo-widget.rb', line 19 def lBalt @lBalt end |
#lBdist ⇒ Object (readonly)
Returns the value of attribute lBdist.
15 16 17 |
# File 'lib/nodeinfo-widget.rb', line 15 def lBdist @lBdist end |
#lBlat ⇒ Object (readonly)
Returns the value of attribute lBlat.
23 24 25 |
# File 'lib/nodeinfo-widget.rb', line 23 def lBlat @lBlat end |
#lBlon ⇒ Object (readonly)
Returns the value of attribute lBlon.
25 26 27 |
# File 'lib/nodeinfo-widget.rb', line 25 def lBlon @lBlon end |
#lBspeed ⇒ Object (readonly)
Returns the value of attribute lBspeed.
21 22 23 |
# File 'lib/nodeinfo-widget.rb', line 21 def lBspeed @lBspeed end |
#lBtime ⇒ Object (readonly)
Returns the value of attribute lBtime.
17 18 19 |
# File 'lib/nodeinfo-widget.rb', line 17 def lBtime @lBtime end |
Instance Method Details
#retranslate_ui(nodeinfoWidget) ⇒ Object
retranslateUi
173 174 175 |
# File 'lib/nodeinfo-widget.rb', line 173 def retranslate_ui(nodeinfoWidget) retranslateUi(nodeinfoWidget) end |
#retranslateUi(nodeinfoWidget) ⇒ Object
163 164 165 166 167 168 169 170 171 |
# File 'lib/nodeinfo-widget.rb', line 163 def retranslateUi(nodeinfoWidget) nodeinfoWidget.windowTitle = Qt::Application.translate("NodeinfoWidget", "Form", nil, Qt::Application::UnicodeUTF8) @label_7.text = Qt::Application.translate("NodeinfoWidget", "Dist:", nil, Qt::Application::UnicodeUTF8) @label_8.text = Qt::Application.translate("NodeinfoWidget", "Time:", nil, Qt::Application::UnicodeUTF8) @label_4.text = Qt::Application.translate("NodeinfoWidget", "Alt:", nil, Qt::Application::UnicodeUTF8) @label_3.text = Qt::Application.translate("NodeinfoWidget", "Speed", nil, Qt::Application::UnicodeUTF8) @label_6.text = Qt::Application.translate("NodeinfoWidget", "Lat:", nil, Qt::Application::UnicodeUTF8) @label_5.text = Qt::Application.translate("NodeinfoWidget", "Lon:", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(nodeinfoWidget) ⇒ Object
setupUi
159 160 161 |
# File 'lib/nodeinfo-widget.rb', line 159 def setup_ui(nodeinfoWidget) setupUi(nodeinfoWidget) end |
#setupUi(nodeinfoWidget) ⇒ Object
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 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'lib/nodeinfo-widget.rb', line 27 def setupUi(nodeinfoWidget) if nodeinfoWidget.objectName.nil? nodeinfoWidget.objectName = "nodeinfoWidget" end nodeinfoWidget.resize(186, 78) @sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::MinimumExpanding, Qt::SizePolicy::MinimumExpanding) @sizePolicy.setHorizontalStretch(0) @sizePolicy.setVerticalStretch(0) @sizePolicy.heightForWidth = nodeinfoWidget.sizePolicy.hasHeightForWidth nodeinfoWidget.sizePolicy = @sizePolicy @palette = Qt::Palette.new brush = Qt::Brush.new(Qt::Color.new(255, 255, 255, 0)) brush.style = Qt::SolidPattern @palette.setBrush(Qt::Palette::Active, Qt::Palette::Base, brush) brush1 = Qt::Brush.new(Qt::Color.new(224, 223, 222, 100)) brush1.style = Qt::SolidPattern @palette.setBrush(Qt::Palette::Active, Qt::Palette::Window, brush1) @palette.setBrush(Qt::Palette::Inactive, Qt::Palette::Base, brush) @palette.setBrush(Qt::Palette::Inactive, Qt::Palette::Window, brush1) @palette.setBrush(Qt::Palette::Disabled, Qt::Palette::Base, brush1) @palette.setBrush(Qt::Palette::Disabled, Qt::Palette::Window, brush1) nodeinfoWidget.palette = @palette @gridLayout_2 = Qt::GridLayout.new(nodeinfoWidget) @gridLayout_2.objectName = "gridLayout_2" @frame = Qt::Frame.new(nodeinfoWidget) @frame.objectName = "frame" @frame.frameShape = Qt::Frame::StyledPanel @frame.frameShadow = Qt::Frame::Raised @gridLayout = Qt::GridLayout.new(@frame) @gridLayout.objectName = "gridLayout" @label_7 = Qt::Label.new(@frame) @label_7.objectName = "label_7" @font = Qt::Font.new @font.pointSize = 7 @label_7.font = @font @gridLayout.addWidget(@label_7, 0, 0, 1, 1) @lBdist = Qt::Label.new(@frame) @lBdist.objectName = "lBdist" @sizePolicy1 = Qt::SizePolicy.new(Qt::SizePolicy::Preferred, Qt::SizePolicy::Preferred) @sizePolicy1.setHorizontalStretch(1) @sizePolicy1.setVerticalStretch(0) @sizePolicy1.heightForWidth = @lBdist.sizePolicy.hasHeightForWidth @lBdist.sizePolicy = @sizePolicy1 @lBdist.font = @font @lBdist.frameShape = Qt::Frame::Panel @lBdist.frameShadow = Qt::Frame::Sunken @gridLayout.addWidget(@lBdist, 0, 1, 1, 1) @label_8 = Qt::Label.new(@frame) @label_8.objectName = "label_8" @label_8.font = @font @gridLayout.addWidget(@label_8, 0, 2, 1, 1) @lBtime = Qt::Label.new(@frame) @lBtime.objectName = "lBtime" @sizePolicy1.heightForWidth = @lBtime.sizePolicy.hasHeightForWidth @lBtime.sizePolicy = @sizePolicy1 @lBtime.font = @font @lBtime.frameShape = Qt::Frame::Panel @lBtime.frameShadow = Qt::Frame::Sunken @gridLayout.addWidget(@lBtime, 0, 3, 1, 1) @label_4 = Qt::Label.new(@frame) @label_4.objectName = "label_4" @label_4.font = @font @gridLayout.addWidget(@label_4, 1, 0, 1, 1) @lBalt = Qt::Label.new(@frame) @lBalt.objectName = "lBalt" @lBalt.font = @font @lBalt.frameShape = Qt::Frame::Panel @lBalt.frameShadow = Qt::Frame::Sunken @gridLayout.addWidget(@lBalt, 1, 1, 1, 1) @label_3 = Qt::Label.new(@frame) @label_3.objectName = "label_3" @label_3.font = @font @gridLayout.addWidget(@label_3, 1, 2, 1, 1) @lBspeed = Qt::Label.new(@frame) @lBspeed.objectName = "lBspeed" @lBspeed.font = @font @lBspeed.frameShape = Qt::Frame::Panel @lBspeed.frameShadow = Qt::Frame::Sunken @gridLayout.addWidget(@lBspeed, 1, 3, 1, 1) @label_6 = Qt::Label.new(@frame) @label_6.objectName = "label_6" @label_6.font = @font @gridLayout.addWidget(@label_6, 2, 0, 1, 1) @lBlat = Qt::Label.new(@frame) @lBlat.objectName = "lBlat" @lBlat.font = @font @lBlat.frameShape = Qt::Frame::Panel @lBlat.frameShadow = Qt::Frame::Sunken @gridLayout.addWidget(@lBlat, 2, 1, 1, 1) @label_5 = Qt::Label.new(@frame) @label_5.objectName = "label_5" @label_5.font = @font @gridLayout.addWidget(@label_5, 2, 2, 1, 1) @lBlon = Qt::Label.new(@frame) @lBlon.objectName = "lBlon" @lBlon.font = @font @lBlon.frameShape = Qt::Frame::Panel @lBlon.frameShadow = Qt::Frame::Sunken @gridLayout.addWidget(@lBlon, 2, 3, 1, 1) @gridLayout_2.addWidget(@frame, 0, 0, 1, 1) retranslateUi(nodeinfoWidget) Qt::MetaObject.connectSlotsByName(nodeinfoWidget) end |