##// END OF EJS Templates
Adds loosenumber algorithm...
Adds loosenumber algorithm * adds loose numbers , natvie numbers * rewrites zoom handling * remove zoom stack since loose numbers takes control * adds number of fractional digits to show

File last commit:

r675:4c3dbc730cf9
r678:e39e59ad9161
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