##// END OF EJS Templates
Fix multiline axis label positioning....
Fix multiline axis label positioning. Refactored axis label/title handling to not use QFontMetrics but a dummy graphics text item instead. Task-number: QTRD-2056 Change-Id: Ib24f26d214046f97f4fd2d3b2dd720e866561dbd Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>

File last commit:

r2442:7fe25bf61dfb
r2534:ec1756baf233
Show More
gettingstarted.qdoc
66 lines | 1.4 KiB | text/plain | TextLexer
/ doc / src / gettingstarted.qdoc
Marek Rosa
Added place holder for the Getting started docs page
r1438 /*!
Jani Honkonen
rename introduction.qdoc -> gettingstarted.qdoc
r1483 \page gettingstarted.html
\title QtCommercial Charts getting started
Marek Rosa
Added place holder for the Getting started docs page
r1438 \keyword Introduction
Marek Rosa
Started adding guidelines to getting started docs page
r1441 Compiling:
\code
qmake CONFIG+=release
make
make install
\endcode
Jani Honkonen
Update introduction doc
r1480 Depending on the OS and the compiler you are using "make" might need to be replaced with another command like: nmake, mingw32-make, etc.
Marek Rosa
Started adding guidelines to getting started docs page
r1441
Marek Rosa
Few docs changes based on the findings list
r1510 To uninstall the QtCommercialCharts run:
\code
make uninstall
\endcode
Jani Honkonen
Update introduction doc
r1480 Compiling as a static library (lib only):
\code
qmake CONFIG+=staticlib
make
make install
Marek Rosa
Added place holder for the Getting started docs page
r1438 \endcode
Jani Honkonen
Update gettingstarted doc about build_all
r1980 Building both debug and release at the same time:
\code
qmake CONFIG+="debug_and_release build_all"
make
make install
\endcode
Please take a note that the \i build_all option is necessary for the install to work correctly. Otherwise it will not install both versions.
Jani Honkonen
Update introduction doc
r1480 \bold {New project}
Create a new project in a usual way and then add to your project's *.pro file following line:
Marek Rosa
Started adding guidelines to getting started docs page
r1441
\code
Jani Honkonen
Update introduction doc
r1480 CONFIG += qtcommercialchart
Marek Rosa
Started adding guidelines to getting started docs page
r1441 \endcode
\bold {Widget project}
To use the QCharts classes add QtCommercialChart namespace macro in your header file.
\code
Jani Honkonen
gettingstarted.qdoc whitespace fix
r1484 #include<QWidget>
#include<QChartView>
Marek Rosa
Started adding guidelines to getting started docs page
r1441
Jani Honkonen
gettingstarted.qdoc whitespace fix
r1484 QTCOMMERCIALCHART_USE_NAMESPACE
Marek Rosa
Started adding guidelines to getting started docs page
r1441
Jani Honkonen
gettingstarted.qdoc whitespace fix
r1484 class ExampleWidget : public QWidget
Marek Rosa
Started adding guidelines to getting started docs page
r1441 \endcode
\bold {QML project}
Add an import line to your *.qml file:
\code
Miikka Heikkinen
Fix trivial problems with examples and docs
r2442 import QtCommercial.Chart 1.2
Marek Rosa
Started adding guidelines to getting started docs page
r1441 \endcode
Marek Rosa
Added place holder for the Getting started docs page
r1438 \raw HTML
\endraw
*/