@@ -21,7 +21,7 | |||
|
21 | 21 | #ifndef AXISANIMATIONITEM_H_ |
|
22 | 22 | #define AXISANIMATIONITEM_H_ |
|
23 | 23 | |
|
24 |
#include "axis |
|
|
24 | #include "axis_p.h" | |
|
25 | 25 | #include "chartanimation_p.h" |
|
26 | 26 | |
|
27 | 27 | |
@@ -33,8 +33,8 public: | |||
|
33 | 33 | AxisAnimation(Axis *axis); |
|
34 | 34 | ~AxisAnimation(); |
|
35 | 35 | protected: |
|
36 |
|
|
|
37 |
|
|
|
36 | QVariant interpolated(const QVariant &from, const QVariant &to, qreal progress ) const; | |
|
37 | void updateCurrentValue(const QVariant &value ); | |
|
38 | 38 | private: |
|
39 | 39 | Axis *m_axis; |
|
40 | 40 | }; |
@@ -18,12 +18,11 | |||
|
18 | 18 | ** |
|
19 | 19 | ****************************************************************************/ |
|
20 | 20 | |
|
21 |
#include "axis |
|
|
21 | #include "axis_p.h" | |
|
22 | 22 | #include "qchartaxis.h" |
|
23 | 23 | #include "chartpresenter_p.h" |
|
24 | 24 | #include "chartanimator_p.h" |
|
25 | 25 | #include <QPainter> |
|
26 | #include <QDebug> | |
|
27 | 26 | #include <cmath> |
|
28 | 27 | |
|
29 | 28 | static int label_padding = 5; |
@@ -460,6 +459,6 void Axis::axisSelected() | |||
|
460 | 459 | } |
|
461 | 460 | |
|
462 | 461 | //TODO "nice numbers algorithm" |
|
463 |
#include "moc_axis |
|
|
462 | #include "moc_axis_p.cpp" | |
|
464 | 463 | |
|
465 | 464 | QTCOMMERCIALCHART_END_NAMESPACE |
@@ -2,12 +2,12 INCLUDEPATH += $$PWD | |||
|
2 | 2 | DEPENDPATH += $$PWD |
|
3 | 3 | |
|
4 | 4 | SOURCES += \ |
|
5 |
$$PWD/axis |
|
|
5 | $$PWD/axis.cpp \ | |
|
6 | 6 | $$PWD/qchartaxis.cpp \ |
|
7 | 7 | $$PWD/qchartaxiscategories.cpp |
|
8 | 8 | |
|
9 | 9 | PRIVATE_HEADERS += \ |
|
10 |
$$PWD/axis |
|
|
10 | $$PWD/axis_p.h | |
|
11 | 11 | |
|
12 | 12 | PUBLIC_HEADERS += \ |
|
13 | 13 | $$PWD/qchartaxis.h \ |
|
1 | NO CONTENT: file renamed from src/axis/axisitem_p.h to src/axis/axis_p.h |
General Comments 0
You need to be logged in to leave comments.
Login now