Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
#include <QmitkChartxyData.h>
Signals | |
void | SignalDataChanged (const QList< QVariant > data) |
void | SignalErrorDataChanged (const QList< QVariant > errorData) |
void | SignalDiagramTypeChanged (const QVariant diagramType) |
void | SignalColorChanged (const QVariant color) |
void | SignalLabelChanged (const QVariant label) |
void | SignalPieLabelsChanged (const QList< QVariant > pieLabels) |
void | SignalLineStyleChanged (const QVariant lineStyle) |
void | SignalMarkerSymbolChanged (const QVariant lineStyle) |
Public Member Functions | |
QmitkChartxyData (const std::vector< std::pair< double, double > > &data, const QVariant &label, const QVariant &diagramType, const QVariant &position) | |
void | SetData (const std::vector< std::pair< double, double > > &data) |
Q_INVOKABLE QVariant | GetLabelCount () const |
Q_INVOKABLE QList< QVariant > | GetYData () const |
Q_INVOKABLE void | SetYData (const QList< QVariant > &yData) |
Q_INVOKABLE QList< QVariant > | GetXData () const |
Q_INVOKABLE void | SetXData (const QList< QVariant > &xData) |
Q_INVOKABLE QList< QVariant > | GetXErrorDataPlus () const |
Q_INVOKABLE void | SetXErrorDataPlus (const QList< QVariant > &errorData) |
Q_INVOKABLE QList< QVariant > | GetXErrorDataMinus () const |
Q_INVOKABLE void | SetXErrorDataMinus (const QList< QVariant > &errorData) |
Q_INVOKABLE QList< QVariant > | GetYErrorDataPlus () const |
Q_INVOKABLE void | SetYErrorDataPlus (const QList< QVariant > &errorData) |
Q_INVOKABLE QList< QVariant > | GetYErrorDataMinus () const |
Q_INVOKABLE void | SetYErrorDataMinus (const QList< QVariant > &errorData) |
Q_INVOKABLE QVariant | GetChartType () const |
Q_INVOKABLE void | SetChartType (const QVariant &chartType) |
Q_INVOKABLE QVariant | GetLabel () const |
Q_INVOKABLE void | SetLabel (const QVariant &label) |
Q_INVOKABLE QList< QVariant > | GetPieLabels () const |
Q_INVOKABLE void | SetPieLabels (const QList< QVariant > &pieLabels) |
Q_INVOKABLE QVariant | GetColor () const |
Q_INVOKABLE void | SetColor (const QVariant &color) |
Q_INVOKABLE QVariant | GetMarkerSymbol () const |
Q_INVOKABLE void | SetMarkerSymbol (const QVariant &markerSymbol) |
Q_INVOKABLE QVariant | GetLineStyle () const |
Q_INVOKABLE void | SetLineStyle (const QVariant &lineStyle) |
void | ClearData () |
Clears the Data. More... | |
QmitkChartxyData () | |
Properties | |
QVariant | m_LabelCount |
QList< QVariant > | m_YData |
QList< QVariant > | m_XData |
QList< QVariant > | m_XErrorDataPlus |
QList< QVariant > | m_XErrorDataMinus |
QList< QVariant > | m_YErrorDataPlus |
QList< QVariant > | m_YErrorDataMinus |
QList< QVariant > | m_PieLabels |
QVariant | m_ChartType |
QVariant | m_Color |
QVariant | m_Label |
QVariant | m_LineStyleName |
QVariant | m_MarkerSymbolName |
/brief This class holds the actual data for the chart generation with C3. data can be loaded in constructor directly or with SetData It is derived from QObject, because we need Q_PROPERTIES to send Data via QWebChannel to JavaScript.
Definition at line 22 of file QmitkChartxyData.h.
|
explicit |
|
inline |
Definition at line 142 of file QmitkChartxyData.h.
void QmitkChartxyData::ClearData | ( | ) |
Clears the Data.
This function clears the data (including error data).
|
inline |
Definition at line 97 of file QmitkChartxyData.h.
References m_ChartType.
|
inline |
Definition at line 114 of file QmitkChartxyData.h.
References m_Color.
|
inline |
Definition at line 104 of file QmitkChartxyData.h.
References m_Label.
|
inline |
Definition at line 53 of file QmitkChartxyData.h.
References m_LabelCount.
|
inline |
Definition at line 128 of file QmitkChartxyData.h.
References m_LineStyleName.
|
inline |
Definition at line 121 of file QmitkChartxyData.h.
References m_MarkerSymbolName.
|
inline |
Definition at line 111 of file QmitkChartxyData.h.
References m_PieLabels.
|
inline |
Definition at line 62 of file QmitkChartxyData.h.
References m_XData.
|
inline |
Definition at line 76 of file QmitkChartxyData.h.
References m_XErrorDataMinus.
|
inline |
Definition at line 69 of file QmitkChartxyData.h.
References m_XErrorDataPlus.
|
inline |
Definition at line 55 of file QmitkChartxyData.h.
References m_YData.
|
inline |
Definition at line 90 of file QmitkChartxyData.h.
References m_YErrorDataMinus.
|
inline |
Definition at line 83 of file QmitkChartxyData.h.
References m_YErrorDataPlus.
|
inline |
Definition at line 98 of file QmitkChartxyData.h.
References m_ChartType, and SignalDiagramTypeChanged().
|
inline |
Definition at line 115 of file QmitkChartxyData.h.
References m_Color, and SignalColorChanged().
void QmitkChartxyData::SetData | ( | const std::vector< std::pair< double, double > > & | data | ) |
|
inline |
Definition at line 105 of file QmitkChartxyData.h.
References m_Label, and SignalLabelChanged().
|
inline |
Definition at line 129 of file QmitkChartxyData.h.
References m_LineStyleName, and SignalLineStyleChanged().
|
inline |
Definition at line 122 of file QmitkChartxyData.h.
References m_MarkerSymbolName, and SignalMarkerSymbolChanged().
|
inline |
Definition at line 112 of file QmitkChartxyData.h.
References m_PieLabels.
|
inline |
Definition at line 63 of file QmitkChartxyData.h.
References m_XData, and SignalDataChanged().
|
inline |
Definition at line 77 of file QmitkChartxyData.h.
References m_XErrorDataMinus, and SignalErrorDataChanged().
|
inline |
Definition at line 70 of file QmitkChartxyData.h.
References m_XErrorDataPlus, and SignalErrorDataChanged().
|
inline |
Definition at line 56 of file QmitkChartxyData.h.
References m_YData, and SignalDataChanged().
|
inline |
Definition at line 91 of file QmitkChartxyData.h.
References m_YErrorDataMinus, and SignalErrorDataChanged().
|
inline |
Definition at line 84 of file QmitkChartxyData.h.
References m_YErrorDataPlus, and SignalErrorDataChanged().
|
signal |
Referenced by SetColor().
|
signal |
Referenced by SetXData(), and SetYData().
|
signal |
Referenced by SetChartType().
|
signal |
Referenced by SetXErrorDataMinus(), SetXErrorDataPlus(), SetYErrorDataMinus(), and SetYErrorDataPlus().
|
signal |
Referenced by SetLabel().
|
signal |
Referenced by SetLineStyle().
|
signal |
Referenced by SetMarkerSymbol().
|
signal |
|
readwrite |
Definition at line 38 of file QmitkChartxyData.h.
Referenced by GetChartType(), and SetChartType().
|
readwrite |
Definition at line 39 of file QmitkChartxyData.h.
Referenced by GetColor(), and SetColor().
|
readwrite |
Definition at line 40 of file QmitkChartxyData.h.
Referenced by GetLabel(), and SetLabel().
|
read |
Definition at line 26 of file QmitkChartxyData.h.
Referenced by GetLabelCount().
|
readwrite |
Definition at line 41 of file QmitkChartxyData.h.
Referenced by GetLineStyle(), and SetLineStyle().
|
readwrite |
Definition at line 42 of file QmitkChartxyData.h.
Referenced by GetMarkerSymbol(), and SetMarkerSymbol().
|
readwrite |
Definition at line 36 of file QmitkChartxyData.h.
Referenced by GetPieLabels(), and SetPieLabels().
|
readwrite |
Definition at line 27 of file QmitkChartxyData.h.
Referenced by GetXData(), and SetXData().
|
readwrite |
Definition at line 30 of file QmitkChartxyData.h.
Referenced by GetXErrorDataMinus(), and SetXErrorDataMinus().
|
readwrite |
Definition at line 28 of file QmitkChartxyData.h.
Referenced by GetXErrorDataPlus(), and SetXErrorDataPlus().
|
readwrite |
Definition at line 26 of file QmitkChartxyData.h.
Referenced by GetYData(), and SetYData().
|
readwrite |
Definition at line 34 of file QmitkChartxyData.h.
Referenced by GetYErrorDataMinus(), and SetYErrorDataMinus().
|
readwrite |
Definition at line 32 of file QmitkChartxyData.h.
Referenced by GetYErrorDataPlus(), and SetYErrorDataPlus().