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