Sha256: 524966f29aeab82a23ca54efa033904d75f988355b09a6dd72d6e351a30b57f6
Contents?: true
Size: 826 Bytes
Versions: 19
Compression:
Stored size: 826 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' require 'cosmos/gui/qt' require 'cosmos/gui/line_graph/line_graph' module Cosmos class LineGraphDialog < Qt::Dialog attr_accessor :line_graph def initialize(title) super(Qt::CoreApplication.instance.activeWindow) self.window_title = title @layout = Qt::VBoxLayout.new self.layout = @layout @line_graph = LineGraph.new(self) layout.addWidget(@line_graph) resize(400, 300) end end end # end module Cosmos
Version data entries
19 entries across 19 versions & 1 rubygems