Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
This class holds the relevant properties for the chart generation with C3 such as labels and diagram type. It is derived from QObject, because we need Q_PROPERTIES to send Data via QWebChannel to JavaScript. More...
#include <QmitkChartData.h>
Public Slots | |
void | slotImageUrl (const QString &datafromjs) |
Signals | |
void | SignalYAxisLabelChanged (const QVariant label) |
void | SignalXAxisLabelChanged (const QVariant label) |
void | SignalLegendPositionChanged (const QVariant legendPosition) |
void | SignalShowLegendChanged (const QVariant show) |
void | SignalShowErrorBarsChanged (const QVariant show) |
void | SignalYAxisScaleChanged (const QVariant YAxisScale) |
void | SignalTitleChanged (const QVariant title) |
void | SignalThemeNameChanged (const QVariant themeName) |
void | SignalShowSubchartChanged (const QVariant showSubchart) |
void | SignalUsePercentageInPieChartChanged (const QVariant usePercentageInPieChart) |
void | SignalDataPointSizeChanged (const QVariant showDataPoints) |
void | SignalStackedDataChanged (const QVariant stackedData) |
void | SignalMinValueXViewChanged (const QVariant minValueXView) |
void | SignalMaxValueXViewChanged (const QVariant maxValueXView) |
void | SignalMinValueYViewChanged (const QVariant minValueYView) |
void | SignalMaxValueYViewChanged (const QVariant maxValueYView) |
void | SignalImageUrl () |
Public Member Functions | |
QmitkChartData () | |
void | SetAppearance (bool showSubChart=true, bool usePercentageInPieChart=false) |
Q_INVOKABLE QVariant | GetXAxisLabel () const |
Q_INVOKABLE void | SetXAxisLabel (const QVariant &label) |
Q_INVOKABLE QVariant | GetYAxisLabel () const |
Q_INVOKABLE void | SetYAxisLabel (const QVariant &label) |
Q_INVOKABLE QVariant | GetTitle () const |
Q_INVOKABLE void | SetTitle (const QVariant &title) |
Q_INVOKABLE QVariant | GetThemeName () const |
Q_INVOKABLE void | SetThemeName (const QVariant &themeName) |
Q_INVOKABLE QVariant | GetLegendPosition () const |
Q_INVOKABLE void | SetLegendPosition (const QVariant &legendPosition) |
Q_INVOKABLE QVariant | GetShowLegend () const |
Q_INVOKABLE void | SetShowLegend (const QVariant &show) |
Q_INVOKABLE QVariant | GetShowErrorBars () const |
Q_INVOKABLE void | SetShowErrorBars (const QVariant &show) |
Q_INVOKABLE QVariant | GetYAxisScale () const |
Q_INVOKABLE void | SetYAxisScale (const QVariant &YAxisScale) |
Q_INVOKABLE QVariant | GetShowSubchart () const |
Q_INVOKABLE void | SetShowSubchart (const QVariant &showSubchart) |
Q_INVOKABLE QVariant | GetUsePercentageInPieChart () const |
Q_INVOKABLE void | SetUsePercentageInPieChart (const QVariant &usePercentageInPieChart) |
Q_INVOKABLE QVariant | GetDataPointSize () const |
Q_INVOKABLE void | SetDataPointSize (const QVariant &showDataPoints) |
Q_INVOKABLE QVariant | GetStackedData () const |
Q_INVOKABLE void | SetStackedData (const QVariant &stackedData) |
Q_INVOKABLE QVariant | GetMinValueXView () const |
Q_INVOKABLE void | SetMinValueXView (const QVariant &minValueXView) |
Q_INVOKABLE QVariant | GetMaxValueXView () const |
Q_INVOKABLE void | SetMaxValueXView (const QVariant &maxValueXView) |
Q_INVOKABLE QVariant | GetMinValueYView () const |
Q_INVOKABLE void | SetMinValueYView (const QVariant &minValueYView) |
Q_INVOKABLE QVariant | GetMaxValueYView () const |
Q_INVOKABLE void | SetMaxValueYView (const QVariant &maxValueYView) |
void | EmitSignalImageUrl () |
Properties | |
QVariant | m_xAxisLabel |
QVariant | m_yAxisLabel |
QVariant | m_chartTitle |
QVariant | m_themeName |
QVariant | m_LegendPosition |
QVariant | m_ShowLegend |
QVariant | m_ShowErrorBars |
QVariant | m_YAxisScale |
QVariant | m_ShowSubchart |
QVariant | m_UsePercentageInPieChart |
QVariant | m_DataPointSize |
QVariant | m_StackedData |
QVariant | m_MinValueXView |
QVariant | m_MaxValueXView |
QVariant | m_MinValueYView |
QVariant | m_MaxValueYView |
This class holds the relevant properties for the chart generation with C3 such as labels and diagram type. It is derived from QObject, because we need Q_PROPERTIES to send Data via QWebChannel to JavaScript.
Definition at line 29 of file QmitkChartData.h.
QmitkChartData::QmitkChartData | ( | ) |
|
inline |
Definition at line 127 of file QmitkChartData.h.
References SignalImageUrl().
|
inline |
Definition at line 93 of file QmitkChartData.h.
References m_DataPointSize.
|
inline |
Definition at line 71 of file QmitkChartData.h.
References m_LegendPosition.
|
inline |
Definition at line 106 of file QmitkChartData.h.
References m_MaxValueXView.
|
inline |
Definition at line 120 of file QmitkChartData.h.
References m_MaxValueYView.
|
inline |
Definition at line 99 of file QmitkChartData.h.
References m_MinValueXView.
|
inline |
Definition at line 113 of file QmitkChartData.h.
References m_MinValueYView.
|
inline |
Definition at line 77 of file QmitkChartData.h.
References m_ShowErrorBars.
|
inline |
Definition at line 74 of file QmitkChartData.h.
References m_ShowLegend.
|
inline |
Definition at line 87 of file QmitkChartData.h.
References m_ShowSubchart.
|
inline |
Definition at line 96 of file QmitkChartData.h.
References m_StackedData.
|
inline |
Definition at line 64 of file QmitkChartData.h.
References m_themeName.
|
inline |
Definition at line 61 of file QmitkChartData.h.
References m_chartTitle.
|
inline |
Definition at line 90 of file QmitkChartData.h.
References m_UsePercentageInPieChart.
|
inline |
Definition at line 55 of file QmitkChartData.h.
References m_xAxisLabel.
|
inline |
Definition at line 58 of file QmitkChartData.h.
References m_yAxisLabel.
|
inline |
Definition at line 84 of file QmitkChartData.h.
References m_YAxisScale.
void QmitkChartData::SetAppearance | ( | bool | showSubChart = true , |
bool | usePercentageInPieChart = false |
||
) |
|
inline |
Definition at line 94 of file QmitkChartData.h.
References m_DataPointSize, and SignalDataPointSizeChanged().
|
inline |
Definition at line 72 of file QmitkChartData.h.
References m_LegendPosition, and SignalLegendPositionChanged().
|
inline |
Definition at line 107 of file QmitkChartData.h.
References m_MaxValueXView, and SignalMaxValueXViewChanged().
|
inline |
Definition at line 121 of file QmitkChartData.h.
References m_MaxValueYView, and SignalMaxValueYViewChanged().
|
inline |
Definition at line 100 of file QmitkChartData.h.
References m_MinValueXView, and SignalMinValueXViewChanged().
|
inline |
Definition at line 114 of file QmitkChartData.h.
References m_MinValueYView, and SignalMinValueYViewChanged().
|
inline |
Definition at line 78 of file QmitkChartData.h.
References m_ShowErrorBars, and SignalShowErrorBarsChanged().
|
inline |
Definition at line 75 of file QmitkChartData.h.
References m_ShowLegend, and SignalShowLegendChanged().
|
inline |
Definition at line 88 of file QmitkChartData.h.
References m_ShowSubchart, and SignalShowSubchartChanged().
|
inline |
Definition at line 97 of file QmitkChartData.h.
References m_StackedData, and SignalStackedDataChanged().
|
inline |
Definition at line 65 of file QmitkChartData.h.
References m_themeName, and SignalThemeNameChanged().
|
inline |
Definition at line 62 of file QmitkChartData.h.
References m_chartTitle, and SignalTitleChanged().
|
inline |
Definition at line 91 of file QmitkChartData.h.
References m_UsePercentageInPieChart, and SignalUsePercentageInPieChartChanged().
|
inline |
Definition at line 56 of file QmitkChartData.h.
References m_xAxisLabel, and SignalXAxisLabelChanged().
|
inline |
Definition at line 59 of file QmitkChartData.h.
References m_yAxisLabel, and SignalYAxisLabelChanged().
|
inline |
Definition at line 85 of file QmitkChartData.h.
References m_YAxisScale, and SignalYAxisScaleChanged().
|
signal |
Referenced by SetDataPointSize().
|
signal |
Referenced by EmitSignalImageUrl().
|
signal |
Referenced by SetLegendPosition().
|
signal |
Referenced by SetMaxValueXView().
|
signal |
Referenced by SetMaxValueYView().
|
signal |
Referenced by SetMinValueXView().
|
signal |
Referenced by SetMinValueYView().
|
signal |
Referenced by SetShowErrorBars().
|
signal |
Referenced by SetShowLegend().
|
signal |
Referenced by SetShowSubchart().
|
signal |
Referenced by SetStackedData().
|
signal |
Referenced by SetThemeName().
|
signal |
Referenced by SetTitle().
|
signal |
Referenced by SetUsePercentageInPieChart().
|
signal |
Referenced by SetXAxisLabel().
|
signal |
Referenced by SetYAxisLabel().
|
signal |
Referenced by SetYAxisScale().
|
inlineslot |
Definition at line 152 of file QmitkChartData.h.
|
readwrite |
Definition at line 34 of file QmitkChartData.h.
Referenced by GetTitle(), and SetTitle().
|
readwrite |
Definition at line 42 of file QmitkChartData.h.
Referenced by GetDataPointSize(), and SetDataPointSize().
|
readwrite |
Definition at line 36 of file QmitkChartData.h.
Referenced by GetLegendPosition(), and SetLegendPosition().
|
readwrite |
Definition at line 45 of file QmitkChartData.h.
Referenced by GetMaxValueXView(), and SetMaxValueXView().
|
readwrite |
Definition at line 47 of file QmitkChartData.h.
Referenced by GetMaxValueYView(), and SetMaxValueYView().
|
readwrite |
Definition at line 44 of file QmitkChartData.h.
Referenced by GetMinValueXView(), and SetMinValueXView().
|
readwrite |
Definition at line 46 of file QmitkChartData.h.
Referenced by GetMinValueYView(), and SetMinValueYView().
|
readwrite |
Definition at line 38 of file QmitkChartData.h.
Referenced by GetShowErrorBars(), and SetShowErrorBars().
|
readwrite |
Definition at line 37 of file QmitkChartData.h.
Referenced by GetShowLegend(), and SetShowLegend().
|
readwrite |
Definition at line 40 of file QmitkChartData.h.
Referenced by GetShowSubchart(), and SetShowSubchart().
|
readwrite |
Definition at line 43 of file QmitkChartData.h.
Referenced by GetStackedData(), and SetStackedData().
|
readwrite |
Definition at line 35 of file QmitkChartData.h.
Referenced by GetThemeName(), and SetThemeName().
|
readwrite |
Definition at line 41 of file QmitkChartData.h.
Referenced by GetUsePercentageInPieChart(), and SetUsePercentageInPieChart().
|
readwrite |
Definition at line 33 of file QmitkChartData.h.
Referenced by GetXAxisLabel(), and SetXAxisLabel().
|
readwrite |
Definition at line 33 of file QmitkChartData.h.
Referenced by GetYAxisLabel(), and SetYAxisLabel().
|
readwrite |
Definition at line 39 of file QmitkChartData.h.
Referenced by GetYAxisScale(), and SetYAxisScale().