DoughnutChart3D Example
#include <QtitanChart.h>
#include "DemoChartWindow.h"
class QComboBox;
class QCheckBox;
class QSlider;
class QSpinBox;
class MainWindow : public DemoChartWindow
{
Q_OBJECT
protected:
enum SeriesType
{
Pie3DSeries,
Doughnu3DSeries,
};
public:
MainWindow();
protected:
void createSeriesParametrs();
void createDoughnutSeries();
void setValueHole(int val);
virtual void updateValueParameters();
protected slots:
void labelsPositionChanged(int);
void explodedSeriesChanged(int);
void rotateSeriesChanged(int);
void aspectAngleChanged(int);
void holeSeriesChanged(int);
protected:
QComboBox* m_posDataLabelsSwitcher;
QCheckBox* m_explodedCheckBox;
QSlider* m_rotateSlider;
QLabel* m_captionAspectAngle;
QSlider* m_aspectAngleSlider;
QLabel* m_captionEditorHole;
QSpinBox* m_editorHole;
private:
Q_DISABLE_COPY(MainWindow)
};