Class: Cosmos::ScrollwindowWidget
- Inherits:
-
Qt::VBoxLayout
- Object
- Qt::VBoxLayout
- Cosmos::ScrollwindowWidget
- Includes:
- LayoutWidget, Widget
- Defined in:
- lib/cosmos/tools/tlm_viewer/widgets/scrollwindow_widget.rb
Instance Attribute Summary
Attributes included from Widget
#item, #item_name, #limits_set, #limits_state, #packet, #packet_name, #polling_period, #screen, #settings, #target_name, #value, #value_type
Instance Method Summary collapse
- #complete ⇒ Object
-
#initialize(parent_layout) ⇒ ScrollwindowWidget
constructor
A new instance of ScrollwindowWidget.
Methods included from LayoutWidget
Methods included from Widget
#context_menu, #get_tooltip_text, included, #process_settings, #set_setting, #set_subsetting, #shutdown, #update_widget
Constructor Details
#initialize(parent_layout) ⇒ ScrollwindowWidget
Returns a new instance of ScrollwindowWidget.
20 21 22 23 24 25 26 |
# File 'lib/cosmos/tools/tlm_viewer/widgets/scrollwindow_widget.rb', line 20 def initialize(parent_layout) super() @widget = Qt::Widget.new @widget.setLayout(self) parent_layout.addWidget(@widget) if parent_layout @parent_layout = parent_layout end |