diff options
author | Jani Honkonen <jani.honkonen@digia.com> | 2012-08-28 15:14:15 +0300 |
---|---|---|
committer | Jani Honkonen <jani.honkonen@digia.com> | 2012-08-28 15:14:15 +0300 |
commit | 1e2f3ad640fd743be92284eb43e369cfd4207ed9 (patch) | |
tree | fcce175c0838b3245d15aeb0e04df9c02cc03b5e | |
parent | f742f8cdc33ada5aa28a79afe046b3a38097d6e2 (diff) |
Moved 'donut' example to demos 'nesteddonuts'
-rw-r--r-- | demos/demos.pro | 1 | ||||
-rw-r--r-- | demos/nesteddonuts/main.cpp (renamed from examples/donut/main.cpp) | 0 | ||||
-rw-r--r-- | demos/nesteddonuts/nesteddonuts.pro (renamed from examples/donut/donut.pro) | 4 | ||||
-rw-r--r-- | demos/nesteddonuts/widget.cpp (renamed from examples/donut/widget.cpp) | 2 | ||||
-rw-r--r-- | demos/nesteddonuts/widget.h (renamed from examples/donut/widget.h) | 0 | ||||
-rw-r--r-- | examples/examples.pro | 1 |
6 files changed, 4 insertions, 4 deletions
diff --git a/demos/demos.pro b/demos/demos.pro index b080f2d5..4d38436e 100644 --- a/demos/demos.pro +++ b/demos/demos.pro @@ -7,6 +7,7 @@ TEMPLATE = subdirs SUBDIRS += chartthemes \ piechartcustomization \ dynamicspline \ + nesteddonuts \ qmlchart \ qmlweather \ qmlf1legends \ diff --git a/examples/donut/main.cpp b/demos/nesteddonuts/main.cpp index 7b1f424b..7b1f424b 100644 --- a/examples/donut/main.cpp +++ b/demos/nesteddonuts/main.cpp diff --git a/examples/donut/donut.pro b/demos/nesteddonuts/nesteddonuts.pro index 3d6a77e3..955288b4 100644 --- a/examples/donut/donut.pro +++ b/demos/nesteddonuts/nesteddonuts.pro @@ -1,5 +1,5 @@ -!include( ../examples.pri ) { - error( "Couldn't find the examples.pri file!" ) +!include( ../demos.pri ) { + error( "Couldn't find the demos.pri file!" ) } TARGET = donut diff --git a/examples/donut/widget.cpp b/demos/nesteddonuts/widget.cpp index e83df033..ad253a54 100644 --- a/examples/donut/widget.cpp +++ b/demos/nesteddonuts/widget.cpp @@ -22,7 +22,7 @@ Widget::Widget(QWidget *parent) QChart *chart = chartView->chart(); chart->setAnimationOptions(QChart::AllAnimations); chart->legend()->setVisible(false); - chart->setTitle("Nested donuts example"); + chart->setTitle("Nested donuts demo"); //! [1] //! [2] diff --git a/examples/donut/widget.h b/demos/nesteddonuts/widget.h index 79cd6cfa..79cd6cfa 100644 --- a/examples/donut/widget.h +++ b/demos/nesteddonuts/widget.h diff --git a/examples/examples.pro b/examples/examples.pro index 4495b9fc..68d1550e 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -27,7 +27,6 @@ SUBDIRS += \ horizontalbarchart \ horizontalstackedbarchart \ horizontalpercentbarchart \ - donut \ donutbreakdown \ scrollchart \ datetimeaxis \ |