##// 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:

r690:847ff650439d
r699:367aeb7897cf
Show More
chartitem_p.h
19 lines | 454 B | text/x-c | CLexer
Tero Ahola
Refactoring continued: restored ChartItem class
r104 #ifndef CHARTITEM_H_
#define CHARTITEM_H_
Michal Klocek
Refactors chartitem...
r677 #include "chart_p.h"
#include "chartpresenter_p.h"
Tero Ahola
Refactoring continued: restored ChartItem class
r104 #include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Tero Ahola
One more alternative for changing themes
r108
Michal Klocek
Refactors chartitem...
r677 class ChartItem : public QGraphicsItem, public Chart
Tero Ahola
Refactoring continued: restored ChartItem class
r104 {
enum ChartItemTypes{ AXIS_ITEM = UserType+1, XYLINE_ITEM};
public:
Michal Klocek
Bugfix : black line drawn during areachart paint
r690 ChartItem(ChartPresenter *presenter):QGraphicsItem(presenter?presenter->rootItem():0),Chart(presenter){};
Tero Ahola
Refactoring continued: restored ChartItem class
r104 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* CHARTITEM_H_ */