@@ -0,0 +1,40 | |||||
|
1 | #ifndef QCHART_P_H | |||
|
2 | #define QCHART_P_H | |||
|
3 | ||||
|
4 | #include "private/qgraphicswidget_p.h" | |||
|
5 | #include "qchartaxis.h" | |||
|
6 | #include "qlegend.h" | |||
|
7 | #include "chartpresenter_p.h" | |||
|
8 | #include "chartdataset_p.h" | |||
|
9 | #include "chartbackground_p.h" | |||
|
10 | ||||
|
11 | QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||
|
12 | ||||
|
13 | class QChart; | |||
|
14 | ||||
|
15 | class QChartPrivate | |||
|
16 | { | |||
|
17 | public: | |||
|
18 | QChartPrivate(QChart *parent); | |||
|
19 | ~QChartPrivate(); | |||
|
20 | ||||
|
21 | void createChartBackgroundItem(); | |||
|
22 | void createChartTitleItem(); | |||
|
23 | void updateLayout(); | |||
|
24 | void updateLegendLayout(); | |||
|
25 | ||||
|
26 | QChart *q_ptr; | |||
|
27 | ChartBackground* m_backgroundItem; | |||
|
28 | QGraphicsSimpleTextItem* m_titleItem; | |||
|
29 | QRectF m_rect; | |||
|
30 | QLegend* m_legend; | |||
|
31 | ChartDataSet *m_dataset; | |||
|
32 | ChartPresenter *m_presenter; | |||
|
33 | int m_padding; | |||
|
34 | int m_backgroundPadding; | |||
|
35 | ||||
|
36 | Q_DECLARE_PUBLIC(QChart); | |||
|
37 | }; | |||
|
38 | ||||
|
39 | QTCOMMERCIALCHART_END_NAMESPACE | |||
|
40 | #endif |
General Comments 0
You need to be logged in to leave comments.
Login now