PieChart2D Example

#include <QtitanChart.h>
#include "DemoChartWindow.h"

class QComboBox;
class QCheckBox;
class QSlider;
class QSpinBox;

/* MainWindow */
class MainWindow : public DemoChartWindow
{
    Q_OBJECT
public:
    MainWindow();

protected:
    void createSeriesParametrs();
    void createPieSeries();
    virtual void updateValueParameters();

protected slots:
    void labelsPositionChanged(int);
    void explodedSeriesChanged(int);
    void rotateSeriesChanged(int);

protected:
    QComboBox* m_posDataLabelsSwitcher;
    QCheckBox* m_explodedCheckBox;
    QSlider* m_rotateSlider;

private:
    Q_DISABLE_COPY(MainWindow)
};