Class: Cosmos::PlotEditor

Inherits:
Qt::Widget show all
Defined in:
lib/cosmos/tools/tlm_grapher/plot_editors/plot_editor.rb

Overview

Widget which contains the plot for editing

Direct Known Subclasses

LinegraphPlotEditor

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parent, plot) ⇒ PlotEditor

Returns a new instance of PlotEditor.



22
23
24
25
# File 'lib/cosmos/tools/tlm_grapher/plot_editors/plot_editor.rb', line 22

def initialize(parent, plot)
  super(parent)
  @plot = plot
end

Instance Attribute Details

#plotObject

Overall frame for this plot type



20
21
22
# File 'lib/cosmos/tools/tlm_grapher/plot_editors/plot_editor.rb', line 20

def plot
  @plot
end