##// END OF EJS Templates
pieslice: fix slice labels turning the wrong way...
pieslice: fix slice labels turning the wrong way When pie was defined with for example wiht start angle -180 and end 180. The text portion of the label was pointing the wrong way.

File last commit:

r1252:4e92004ccd6b
r1327:39a357025ee6
Show More
qhxymodelmapper.h
27 lines | 535 B | text/x-c | CLexer
#ifndef QHXYMODELMAPPER_H
#define QHXYMODELMAPPER_H
#include <QXYModelMapper>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QHXYModelMapper : public QXYModelMapper
{
Q_OBJECT
Q_PROPERTY(int xRow READ xRow WRITE setXRow)
Q_PROPERTY(int yRow READ yRow WRITE setYRow)
public:
explicit QHXYModelMapper(QObject *parent = 0);
int xRow() const;
void setXRow(int xRow);
int yRow() const;
void setYRow(int yRow);
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QHXYMODELMAPPER_H