Sha256: c03522ed91f84d89f04c9af38ecdf73b47bee2c1847892c723ac2047a8b66111
Contents?: true
Size: 846 Bytes
Versions: 52
Compression:
Stored size: 846 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 # HorizontalboxWidget class # class HorizontalboxWidget < Qt::HBoxLayout include Widget include LayoutWidget def initialize(parent_layout, title = "", hSpacing = 0) super() box = Qt::GroupBox.new(title.to_s) setSpacing(hSpacing.to_i) box.setLayout(self) parent_layout.addWidget(box) if parent_layout end end end # module Cosmos
Version data entries
52 entries across 52 versions & 1 rubygems