The implementation of an isotopic pattern simulator (graphics).
More...
#include <cCalibrationChartScene.h>
|
| void | updateXValueInterval (double minxvalue, double maxxvalue) |
| | The signal is emitted when the range of x value has been changed. More...
|
| |
|
| | cCalibrationChartScene (QWidget *parent=0) |
| | The constructor. More...
|
| |
|
| ~cCalibrationChartScene () |
| | The destructor.
|
| |
|
void | initialize () |
| | Initialize the widget.
|
| |
| void | exportToPDF (QString filename, bool postscript) |
| | Export spectrum scene into a PDF or a PS file. More...
|
| |
| void | exportToSVG (QString filename) |
| | Export spectrum scene into a SVG file. More...
|
| |
| void | exportToPNG (QString filename) |
| | Export spectrum scene into a PNG file. More...
|
| |
| void | hideLabels (bool state) |
| | Hide labels of calibration points. More...
|
| |
| void | setLineParameters (int equationtype, double a, double b, vector< double > xvalues, vector< double > yvalues, vector< double > sd) |
| | Set parameters of calibration curve. More...
|
| |
| void | setData (vector< double > datax, vector< double > datay, vector< double > datasd, vector< string > datagroups, vector< int > datatimevalues) |
| | Set parameters of calibration curve. More...
|
| |
| void | setGraphType (int type) |
| | Set graph type. More...
|
| |
| double | getMaximumConcentration () |
| | Get the maximum concentration. More...
|
| |
| int | getMaximumCollectionTime () |
| | Get the maximum collection time. More...
|
| |
The implementation of an isotopic pattern simulator (graphics).
◆ cCalibrationChartScene()
| cCalibrationChartScene::cCalibrationChartScene |
( |
QWidget * |
parent = 0 | ) |
|
The constructor.
- Parameters
-
| parent | pointer to a parent widget |
◆ exportToPDF()
| void cCalibrationChartScene::exportToPDF |
( |
QString |
filename, |
|
|
bool |
postscript |
|
) |
| |
Export spectrum scene into a PDF or a PS file.
- Parameters
-
| filename | filename |
| postscript | if true then PS file is generated instead of PDF |
◆ exportToPNG()
| void cCalibrationChartScene::exportToPNG |
( |
QString |
filename | ) |
|
Export spectrum scene into a PNG file.
- Parameters
-
◆ exportToSVG()
| void cCalibrationChartScene::exportToSVG |
( |
QString |
filename | ) |
|
Export spectrum scene into a SVG file.
- Parameters
-
◆ getMaximumCollectionTime()
| int cCalibrationChartScene::getMaximumCollectionTime |
( |
| ) |
|
Get the maximum collection time.
- Return values
-
| int | maximum value of collection time |
◆ getMaximumConcentration()
| double cCalibrationChartScene::getMaximumConcentration |
( |
| ) |
|
Get the maximum concentration.
- Return values
-
| double | maximum concentration |
◆ hideLabels()
| void cCalibrationChartScene::hideLabels |
( |
bool |
state | ) |
|
Hide labels of calibration points.
- Parameters
-
◆ mouseMoveEvent()
| void cCalibrationChartScene::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
Handle the mouse move event.
- Parameters
-
| event | pointer to QMouseEvent |
◆ mousePressEvent()
| void cCalibrationChartScene::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
Handle the mouse press event.
- Parameters
-
| event | pointer to QMouseEvent |
◆ mouseReleaseEvent()
| void cCalibrationChartScene::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
Handle the mouse release event.
- Parameters
-
| event | pointer to QMouseEvent |
◆ resizeEvent()
| void cCalibrationChartScene::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protected |
Handle the widget resize event.
- Parameters
-
| event | pointer to QResizeEvent |
◆ setData()
| void cCalibrationChartScene::setData |
( |
vector< double > |
datax, |
|
|
vector< double > |
datay, |
|
|
vector< double > |
datasd, |
|
|
vector< string > |
datagroups, |
|
|
vector< int > |
datatimevalues |
|
) |
| |
Set parameters of calibration curve.
- Parameters
-
| datax | x coordinates of data points |
| datay | y coordinates of data points |
| datasd | standard deviation of y values |
| datagroups | vector of group names |
| datatimevalues | data collection times corresponding the groups |
◆ setGraphType()
| void cCalibrationChartScene::setGraphType |
( |
int |
type | ) |
|
Set graph type.
- Parameters
-
◆ setLineParameters()
| void cCalibrationChartScene::setLineParameters |
( |
int |
equationtype, |
|
|
double |
a, |
|
|
double |
b, |
|
|
vector< double > |
xvalues, |
|
|
vector< double > |
yvalues, |
|
|
vector< double > |
sd |
|
) |
| |
Set parameters of calibration curve.
- Parameters
-
| equationtype | 0 (y = a*x), 1 (y = a*x + b), 2 (manual mode) |
| a | a |
| b | b |
| xvalues | x coordinates of points |
| yvalues | y coordinates of points |
| sd | standard deviation of y values |
◆ showEvent()
| void cCalibrationChartScene::showEvent |
( |
QShowEvent * |
event | ) |
|
|
protected |
Handle the widget show event.
- Parameters
-
| event | pointer to QShowEvent |
◆ updateXValueInterval
| void cCalibrationChartScene::updateXValueInterval |
( |
double |
minxvalue, |
|
|
double |
maxxvalue |
|
) |
| |
|
signal |
The signal is emitted when the range of x value has been changed.
- Parameters
-
| minxvalue | a minimum threshold of x value |
| maxxvalue | a maximum threshold of x value |
◆ wheelEvent()
| void cCalibrationChartScene::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
protected |
Handle the mouse wheel event.
- Parameters
-
| event | pointer to QWheelEvent |
The documentation for this class was generated from the following files: