##// END OF EJS Templates
Tuning QML donut
Tuning QML donut

File last commit:

r1697:b1c06caff815
r1852:13af3669dfff
Show More
widget.h
28 lines | 403 B | text/x-c | CLexer
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QPieSeries>
class QTimer;
QTCOMMERCIALCHART_USE_NAMESPACE
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = 0);
~Widget();
public slots:
void updateRotation();
void explodeSlice(bool exploded);
private:
QList<QPieSeries *> m_donuts;
QTimer *updateTimer;
};
#endif // WIDGET_H