From d7675a9f645d1aafd385b37deec5864e05cf358e 2012-04-05 10:44:30 From: Jani Honkonen Date: 2012-04-05 10:44:30 Subject: [PATCH] Add demos to docs --- diff --git a/doc/qchart-html-template.qdocconf b/doc/qchart-html-template.qdocconf index 8fb0359..80636fd 100644 --- a/doc/qchart-html-template.qdocconf +++ b/doc/qchart-html-template.qdocconf @@ -14,6 +14,7 @@ HTML.postheader = \ "
  • API Classes
  • \n" \ "
  • Tutorials
  • \n" \ "
  • Examples
  • \n" \ + "
  • Demos
  • \n" \ " \n" HTML.postpostheader = \ diff --git a/doc/src/demos-chartthemes.qdoc b/doc/src/demos-chartthemes.qdoc new file mode 100644 index 0000000..13d60c0 --- /dev/null +++ b/doc/src/demos-chartthemes.qdoc @@ -0,0 +1,7 @@ +/*! + \example demos/chartthemes + \title Chart themes demo + \subtitle + + This demo shows the look and feel of the different built in themes for all supported chart types. +*/ diff --git a/doc/src/demos-gdpbarchart.qdoc b/doc/src/demos-gdpbarchart.qdoc new file mode 100644 index 0000000..1178f98 --- /dev/null +++ b/doc/src/demos-gdpbarchart.qdoc @@ -0,0 +1,7 @@ +/*! + \example demos/gdpbarchart + \title GDP bar chart demo + \subtitle + + This demo shows how to read Gross domestic product (GDP) data from a sql database and show it in a bar or scatter chart. +*/ diff --git a/doc/src/demos-piechartcustomization.qdoc b/doc/src/demos-piechartcustomization.qdoc new file mode 100644 index 0000000..0dec425 --- /dev/null +++ b/doc/src/demos-piechartcustomization.qdoc @@ -0,0 +1,7 @@ +/*! + \example demos/piechartcustomization + \title Pie chart customization demo + \subtitle + + This demo shows how the look and feel of a pie chart can be customized. +*/ diff --git a/doc/src/demos.qdoc b/doc/src/demos.qdoc new file mode 100644 index 0000000..b696183 --- /dev/null +++ b/doc/src/demos.qdoc @@ -0,0 +1,24 @@ +/*! + \page demos.html + \title Demos + \keyword Demos + + \raw HTML + + + + + + + +
    + List of demos +
    + +
    + \endraw +*/ diff --git a/doc/src/examples.qdoc b/doc/src/examples.qdoc index a4e2cff..3b6aabf 100644 --- a/doc/src/examples.qdoc +++ b/doc/src/examples.qdoc @@ -13,22 +13,22 @@