@@ -18,6 +18,15 | |||||
18 | ** |
|
18 | ** | |
19 | ****************************************************************************/ |
|
19 | ****************************************************************************/ | |
20 |
|
20 | |||
|
21 | // W A R N I N G | |||
|
22 | // ------------- | |||
|
23 | // | |||
|
24 | // This file is not part of the QtCommercial Chart API. It exists purely as an | |||
|
25 | // implementation detail. This header file may change from version to | |||
|
26 | // version without notice, or even be removed. | |||
|
27 | // | |||
|
28 | // We mean it. | |||
|
29 | ||||
21 | #ifndef BAR_H |
|
30 | #ifndef BAR_H | |
22 | #define BAR_H |
|
31 | #define BAR_H | |
23 |
|
32 |
@@ -18,6 +18,16 | |||||
18 | ** |
|
18 | ** | |
19 | ****************************************************************************/ |
|
19 | ****************************************************************************/ | |
20 |
|
20 | |||
|
21 | // W A R N I N G | |||
|
22 | // ------------- | |||
|
23 | // | |||
|
24 | // This file is not part of the QtCommercial Chart API. It exists purely as an | |||
|
25 | // implementation detail. This header file may change from version to | |||
|
26 | // version without notice, or even be removed. | |||
|
27 | // | |||
|
28 | // We mean it. | |||
|
29 | ||||
|
30 | ||||
21 | #ifndef BARCHARTITEM_H |
|
31 | #ifndef BARCHARTITEM_H | |
22 | #define BARCHARTITEM_H |
|
32 | #define BARCHARTITEM_H | |
23 |
|
33 | |||
@@ -32,8 +42,6 class Bar; | |||||
32 | class QAxisCategories; |
|
42 | class QAxisCategories; | |
33 | class QChart; |
|
43 | class QChart; | |
34 |
|
44 | |||
35 | //typedef QVector<QRectF> BarLayout; |
|
|||
36 |
|
||||
37 | class BarChartItem : public ChartItem |
|
45 | class BarChartItem : public ChartItem | |
38 | { |
|
46 | { | |
39 | Q_OBJECT |
|
47 | Q_OBJECT | |
@@ -42,7 +50,6 public: | |||||
42 | virtual ~BarChartItem(); |
|
50 | virtual ~BarChartItem(); | |
43 |
|
51 | |||
44 | public: |
|
52 | public: | |
45 | // From QGraphicsItem |
|
|||
46 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); |
|
53 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); | |
47 | QRectF boundingRect() const; |
|
54 | QRectF boundingRect() const; | |
48 |
|
55 |
@@ -18,6 +18,16 | |||||
18 | ** |
|
18 | ** | |
19 | ****************************************************************************/ |
|
19 | ****************************************************************************/ | |
20 |
|
20 | |||
|
21 | // W A R N I N G | |||
|
22 | // ------------- | |||
|
23 | // | |||
|
24 | // This file is not part of the QtCommercial Chart API. It exists purely as an | |||
|
25 | // implementation detail. This header file may change from version to | |||
|
26 | // version without notice, or even be removed. | |||
|
27 | // | |||
|
28 | // We mean it. | |||
|
29 | ||||
|
30 | ||||
21 | #ifndef GROUPEDBARCHARTITEM_H |
|
31 | #ifndef GROUPEDBARCHARTITEM_H | |
22 | #define GROUPEDBARCHARTITEM_H |
|
32 | #define GROUPEDBARCHARTITEM_H | |
23 |
|
33 | |||
@@ -34,12 +44,7 public: | |||||
34 | GroupedBarChartItem(QBarSeries *series, ChartPresenter *presenter); |
|
44 | GroupedBarChartItem(QBarSeries *series, ChartPresenter *presenter); | |
35 |
|
45 | |||
36 | private: |
|
46 | private: | |
37 | // From BarChartItem |
|
|||
38 | virtual QVector<QRectF> calculateLayout(); |
|
47 | virtual QVector<QRectF> calculateLayout(); | |
39 |
|
||||
40 | private: |
|
|||
41 |
|
||||
42 | // Data |
|
|||
43 | }; |
|
48 | }; | |
44 |
|
49 | |||
45 | QTCOMMERCIALCHART_END_NAMESPACE |
|
50 | QTCOMMERCIALCHART_END_NAMESPACE |
@@ -18,6 +18,16 | |||||
18 | ** |
|
18 | ** | |
19 | ****************************************************************************/ |
|
19 | ****************************************************************************/ | |
20 |
|
20 | |||
|
21 | // W A R N I N G | |||
|
22 | // ------------- | |||
|
23 | // | |||
|
24 | // This file is not part of the QtCommercial Chart API. It exists purely as an | |||
|
25 | // implementation detail. This header file may change from version to | |||
|
26 | // version without notice, or even be removed. | |||
|
27 | // | |||
|
28 | // We mean it. | |||
|
29 | ||||
|
30 | ||||
21 | #ifndef PERCENTBARCHARTITEM_H |
|
31 | #ifndef PERCENTBARCHARTITEM_H | |
22 | #define PERCENTBARCHARTITEM_H |
|
32 | #define PERCENTBARCHARTITEM_H | |
23 |
|
33 | |||
@@ -36,10 +46,6 public: | |||||
36 |
|
46 | |||
37 | private: |
|
47 | private: | |
38 | virtual QVector<QRectF> calculateLayout(); |
|
48 | virtual QVector<QRectF> calculateLayout(); | |
39 |
|
||||
40 | private: |
|
|||
41 |
|
||||
42 | // Data |
|
|||
43 | }; |
|
49 | }; | |
44 |
|
50 | |||
45 | QTCOMMERCIALCHART_END_NAMESPACE |
|
51 | QTCOMMERCIALCHART_END_NAMESPACE |
@@ -1,3 +1,32 | |||||
|
1 | /**************************************************************************** | |||
|
2 | ** | |||
|
3 | ** Copyright (C) 2012 Digia Plc | |||
|
4 | ** All rights reserved. | |||
|
5 | ** For any questions to Digia, please use contact form at http://qt.digia.com | |||
|
6 | ** | |||
|
7 | ** This file is part of the Qt Commercial Charts Add-on. | |||
|
8 | ** | |||
|
9 | ** $QT_BEGIN_LICENSE$ | |||
|
10 | ** Licensees holding valid Qt Commercial licenses may use this file in | |||
|
11 | ** accordance with the Qt Commercial License Agreement provided with the | |||
|
12 | ** Software or, alternatively, in accordance with the terms contained in | |||
|
13 | ** a written agreement between you and Digia. | |||
|
14 | ** | |||
|
15 | ** If you have questions regarding the use of this file, please use | |||
|
16 | ** contact form at http://qt.digia.com | |||
|
17 | ** $QT_END_LICENSE$ | |||
|
18 | ** | |||
|
19 | ****************************************************************************/ | |||
|
20 | ||||
|
21 | // W A R N I N G | |||
|
22 | // ------------- | |||
|
23 | // | |||
|
24 | // This file is not part of the QtCommercial Chart API. It exists purely as an | |||
|
25 | // implementation detail. This header file may change from version to | |||
|
26 | // version without notice, or even be removed. | |||
|
27 | // | |||
|
28 | // We mean it. | |||
|
29 | ||||
1 | #ifndef QBARSERIES_P_H |
|
30 | #ifndef QBARSERIES_P_H | |
2 | #define QBARSERIES_P_H |
|
31 | #define QBARSERIES_P_H | |
3 |
|
32 | |||
@@ -10,7 +39,6 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
10 |
|
39 | |||
11 | class QBarModelMapper; |
|
40 | class QBarModelMapper; | |
12 |
|
41 | |||
13 | // Container for series |
|
|||
14 | class QBarSeriesPrivate : public QAbstractSeriesPrivate |
|
42 | class QBarSeriesPrivate : public QAbstractSeriesPrivate | |
15 | { |
|
43 | { | |
16 | Q_OBJECT |
|
44 | Q_OBJECT |
@@ -1,3 +1,32 | |||||
|
1 | /**************************************************************************** | |||
|
2 | ** | |||
|
3 | ** Copyright (C) 2012 Digia Plc | |||
|
4 | ** All rights reserved. | |||
|
5 | ** For any questions to Digia, please use contact form at http://qt.digia.com | |||
|
6 | ** | |||
|
7 | ** This file is part of the Qt Commercial Charts Add-on. | |||
|
8 | ** | |||
|
9 | ** $QT_BEGIN_LICENSE$ | |||
|
10 | ** Licensees holding valid Qt Commercial licenses may use this file in | |||
|
11 | ** accordance with the Qt Commercial License Agreement provided with the | |||
|
12 | ** Software or, alternatively, in accordance with the terms contained in | |||
|
13 | ** a written agreement between you and Digia. | |||
|
14 | ** | |||
|
15 | ** If you have questions regarding the use of this file, please use | |||
|
16 | ** contact form at http://qt.digia.com | |||
|
17 | ** $QT_END_LICENSE$ | |||
|
18 | ** | |||
|
19 | ****************************************************************************/ | |||
|
20 | ||||
|
21 | // W A R N I N G | |||
|
22 | // ------------- | |||
|
23 | // | |||
|
24 | // This file is not part of the QtCommercial Chart API. It exists purely as an | |||
|
25 | // implementation detail. This header file may change from version to | |||
|
26 | // version without notice, or even be removed. | |||
|
27 | // | |||
|
28 | // We mean it. | |||
|
29 | ||||
1 | #ifndef QBARSET_P_H |
|
30 | #ifndef QBARSET_P_H | |
2 | #define QBARSET_P_H |
|
31 | #define QBARSET_P_H | |
3 |
|
32 |
@@ -18,6 +18,16 | |||||
18 | ** |
|
18 | ** | |
19 | ****************************************************************************/ |
|
19 | ****************************************************************************/ | |
20 |
|
20 | |||
|
21 | // W A R N I N G | |||
|
22 | // ------------- | |||
|
23 | // | |||
|
24 | // This file is not part of the QtCommercial Chart API. It exists purely as an | |||
|
25 | // implementation detail. This header file may change from version to | |||
|
26 | // version without notice, or even be removed. | |||
|
27 | // | |||
|
28 | // We mean it. | |||
|
29 | ||||
|
30 | ||||
21 | #ifndef STACKEDBARCHARTITEM_H |
|
31 | #ifndef STACKEDBARCHARTITEM_H | |
22 | #define STACKEDBARCHARTITEM_H |
|
32 | #define STACKEDBARCHARTITEM_H | |
23 |
|
33 | |||
@@ -34,12 +44,7 public: | |||||
34 | StackedBarChartItem(QBarSeries *series, ChartPresenter *presenter); |
|
44 | StackedBarChartItem(QBarSeries *series, ChartPresenter *presenter); | |
35 |
|
45 | |||
36 | private: |
|
46 | private: | |
37 | // From BarChartItem |
|
|||
38 | virtual QVector<QRectF> calculateLayout(); |
|
47 | virtual QVector<QRectF> calculateLayout(); | |
39 |
|
||||
40 | private: |
|
|||
41 |
|
||||
42 | // Data |
|
|||
43 | }; |
|
48 | }; | |
44 |
|
49 | |||
45 | QTCOMMERCIALCHART_END_NAMESPACE |
|
50 | QTCOMMERCIALCHART_END_NAMESPACE |
General Comments 0
You need to be logged in to leave comments.
Login now