##// END OF EJS Templates
Set the first pie slice exploded and label visible in chartthemes demo
Set the first pie slice exploded and label visible in chartthemes demo

File last commit:

r691:02b456949de5
r699:367aeb7897cf
Show More
qpiesliceprivate_p.h
36 lines | 666 B | text/x-c | CLexer
#ifndef QPIESLICEPRIVATE_P_H
#define QPIESLICEPRIVATE_P_H
#include "qpieslice.h"
#include "pieslicedata_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QPieSlicePrivate : public QObject
{
Q_OBJECT
Q_DECLARE_PUBLIC(QPieSlice)
public:
QPieSlicePrivate(QPieSlice *parent)
:QObject(parent),
q_ptr(parent)
{
connect(this, SIGNAL(changed()), q_ptr, SIGNAL(changed()));
}
~QPieSlicePrivate() {}
Q_SIGNALS:
void changed();
public:
friend class QPieSeriesPrivate;
friend class ChartTheme;
QPieSlice * const q_ptr;
PieSliceData m_data;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QPIESLICEPRIVATE_P_H