##// END OF EJS Templates
Fixing example documentation
Fixing example documentation

File last commit:

r496:c23f1472c851
r500:4d73e3f9e3b6
Show More
tutorials.qdoc
26 lines | 957 B | text/plain | TextLexer
Michal Klocek
Refactor documentation...
r330 /*!
\page tutorials.html
\title Tutorials
\keyword Tutorials
For example, to create a chart with line series using a widget based application:
sauimone
fixed example paths in doc
r496 \snippet ../examples/chartview/main.cpp 1
Michal Klocek
Refactor documentation...
r330 \image chartview_example.jpg
Tero Ahola
Example on main qdoc page.
r334 To replace the line series with a pie series you use the dedicated QPieSeries class:
sauimone
fixed example paths in doc
r496 \snippet ../examples/chartview/main.cpp 3
Michal Klocek
Refactor documentation...
r330 \image chartview_example_pie.jpg
Tero Ahola
Example on main qdoc page.
r334
To use a scatter series you use QScatterSeries class:
sauimone
fixed example paths in doc
r496 \snippet ../examples/chartview/main.cpp 4
Michal Klocek
Refactor documentation...
r330 \image chartview_example_scatter.jpg
Tero Ahola
Example on main qdoc page.
r334
And to show a bar series you use one of the bar series classes, for example QBarChartSeries:
sauimone
fixed example paths in doc
r496 \snippet ../examples/chartview/main.cpp 5
Michal Klocek
Refactor documentation...
r330 \image chartview_example_bar.jpg
Tero Ahola
Example on main qdoc page.
r334 If you need to give a more professional touch to your chart you can switch from the default
theme to one of the other themes:
sauimone
fixed example paths in doc
r496 \snippet ../examples/chartview/main.cpp 2
Michal Klocek
Refactor documentation...
r330 \image chartview_example_theme.jpg
*/