@@ -52,19 +52,19 | |||
|
52 | 52 | |
|
53 | 53 | To use the QCharts classes add QtCommercialChart namespace macro in your header file. |
|
54 | 54 | \code |
|
55 |
|
|
|
56 |
|
|
|
55 | #include<QWidget> | |
|
56 | #include<QChartView> | |
|
57 | 57 | |
|
58 |
|
|
|
58 | QTCOMMERCIALCHART_USE_NAMESPACE | |
|
59 | 59 | |
|
60 |
|
|
|
60 | class ExampleWidget : public QWidget | |
|
61 | 61 | \endcode |
|
62 | 62 | |
|
63 | 63 | \bold {QML project} |
|
64 | 64 | |
|
65 | 65 | Add an import line to your *.qml file: |
|
66 | 66 | \code |
|
67 |
|
|
|
67 | import QtCommercial.Chart 1.0 | |
|
68 | 68 | \endcode |
|
69 | 69 | |
|
70 | 70 | \raw HTML |
General Comments 0
You need to be logged in to leave comments.
Login now