##// END OF EJS Templates
Fix worng slot signature in axis initilization
Fix worng slot signature in axis initilization

File last commit:

r675:4c3dbc730cf9
r688:4ee85b7c4526
Show More
pieslicedata_p.h
48 lines | 882 B | text/x-c | CLexer
#ifndef PIESLICEDATA_P_H
#define PIESLICEDATA_P_H
#include <qchartglobal.h>
#include <QPen>
#include <QBrush>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class PieSliceData
{
public:
PieSliceData()
{
m_value = 0;
m_percentage = 0;
m_startAngle = 0;
m_angleSpan = 0;
m_isExploded = false;
m_explodeDistanceFactor = 0.15;
m_labelVisible = false;
m_labelArmLengthFactor = 0.15;
}
qreal m_value;
QPen m_slicePen;
QBrush m_sliceBrush;
bool m_isExploded;
qreal m_explodeDistanceFactor;
bool m_labelVisible;
QString m_labelText;
QFont m_labelFont;
qreal m_labelArmLengthFactor;
QPen m_labelArmPen;
qreal m_percentage;
QPointF m_center;
qreal m_radius;
qreal m_startAngle;
qreal m_angleSpan;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // PIESLICEDATA_P_H