#include <PlotSubwidget.h>
List of all members.
Constructor & Destructor Documentation
PlotSubwidget::PlotSubwidget |
( |
QWidget * |
parent = 0 , |
|
|
const char * |
name = 0 , |
|
|
Qt::WFlags |
fl = 0 |
|
) |
| |
PlotSubwidget::~PlotSubwidget |
( |
| ) |
|
Member Function Documentation
void PlotSubwidget::addCurve2D |
( |
| ) |
[protected] |
this specifically handles the creation of a 2d curve. It is called when the corresponding button is pressed and the plot is actually 2D. The dialogs for choosing objects for the axes is called from here and one or several curve descriptions are generated.
void PlotSubwidget::addCurveSlot |
( |
| ) |
[protected, slot] |
slots that are connected to the buttons for adding curves/histograms
creates curve widget and adds it to the tab bar
void PlotSubwidget::addHisto1D |
( |
| ) |
[protected] |
this specifically handles the creation of a histogram. It is called when the corresponding button is pressed and the plot is actually 2D. An empty histogram description is generated.
void PlotSubwidget::addHisto1DTab |
( |
const std::string & |
title, |
|
|
const CPlotDataChannelSpec & |
x, |
|
|
const C_FLOAT64 & |
incr |
|
) |
| [protected] |
creates histogram widget and adds it to the tab bar
void PlotSubwidget::addHistoSlot |
( |
| ) |
[protected, slot] |
void PlotSubwidget::addPlot |
( |
| ) |
[protected, slot] |
create a new plot definition
void PlotSubwidget::commitPlot |
( |
| ) |
[protected, slot] |
void PlotSubwidget::createHistograms |
( |
std::vector< const CCopasiObject * > |
objects, |
|
|
const C_FLOAT64 & |
incr |
|
) |
| |
creates tabs for histograms from a list of objects. objects[0] is skipped, so objects.size()-1 histogram descriptions are generated. incr is used for all of them. This method is called from HistoWidget, so that when the user chooses several objects from the object selection widget several histograms can be generated accordingly.
void PlotSubwidget::deletePlot |
( |
| ) |
[protected, slot] |
deletes the current plot spec.
bool PlotSubwidget::enterProtected |
( |
| ) |
[protected, virtual] |
bool PlotSubwidget::leave |
( |
| ) |
[virtual] |
void PlotSubwidget::removeCurve |
( |
| ) |
[protected, slot] |
void PlotSubwidget::resetPlot |
( |
| ) |
[protected, slot] |
cancels changes to the plot definition
bool PlotSubwidget::saveToPlotSpec |
( |
| ) |
[protected] |
Member Data Documentation
The documentation for this class was generated from the following files: