Sha256: 0dec7dd641a46ab42413843714f9f87f5026fb3edfe84a3c34a02ae1602c5dac
Contents?: true
Size: 919 Bytes
Versions: 52
Compression:
Stored size: 919 Bytes
Contents
# encoding: ascii-8bit # Copyright 2014 Ball Aerospace & Technologies Corp. # All Rights Reserved. # # This program is free software; you can modify and/or redistribute it # under the terms of the GNU General Public License # as published by the Free Software Foundation; version 3 with # attribution addendums as found in the LICENSE.txt require 'cosmos/tools/tlm_viewer/widgets/widget' require 'cosmos/tools/tlm_viewer/widgets/layout_widget' module Cosmos class ScrollwindowWidget < Qt::VBoxLayout include Widget include LayoutWidget def initialize(parent_layout) super() @widget = Qt::Widget.new @widget.setLayout(self) parent_layout.addWidget(@widget) if parent_layout @parent_layout = parent_layout end def complete scroll = Qt::ScrollArea.new scroll.setWidget(@widget) @parent_layout.addWidget(scroll) end end end # module Cosmos
Version data entries
52 entries across 52 versions & 1 rubygems