summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Plugged some memory leaks.Miikka Heikkinen2014-11-114-5/+15
| | | | | | | | | | | Autotests were also made Valgrind friendly by adding a final one millisecond wait to the end of the test to allow pending deleteLaters to run. Also some minor cosmetic cleanup done to autotests. Change-Id: Ic3719167a22949f243eaf54614e174a681dbe34a Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Fix include syntaxTitta Heikkala2014-10-2097-396/+397
| | | | | | | | | The includes for the whole project are changed to syntax: '#include <module/class> Change-Id: If32f8b6c3f47516ad6bc30ed40789ea9042d5664 Task-number: QTRD-3373 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Qt Charts project file structure changeTitta Heikkala2014-10-14221-712/+6433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Charts repository structure is changed to follow the structure of a Qt Add-On module. The task includes following changes: - All macros and definitions named 'commercial' have been renamed. - Compile errors related to QString and qSort usage have been fixed. - Old demos are moved under examples. The QML examples now support only Qt Quick 2.0, the support for Qt Quick 1 is removed. - The QML examples with multiple views are updated so that they are usable also with touch devices. - Unnecessary version checks are removed from examples. - The build stamp has been removed as it was only meant for Charts development purposes and it's no longer needed. Also development build related debug prints are removed as __DATE__ can't be used for all OS thus it doesn't make much sense. - Documentation structure has been updated based on the new module structure. The raw HTML files have been removed. Demos are combined to examples. - Unnecessary .qdocinc files are no longer needed. The content is moved to the corresponding .cpp files. - The Charts widget designer plugin is updated according to the module change. - The test cases updated according to the project structure change. Tests are added also for version 2.0. - cmake modules generation is not needed with Qt 5.4 and Qt Charts so it's disabled. - The new module name and version are updated to the plugin.qmltypes file. Task-number: QTRD-2844, QTRD-3217, QTRD-3218, QTRD-3277, QTRD-3228, QTRD-2526, QTRD-3233, QTRD-3222 Change-Id: Ib7fb26057cde710ffaf6bc780c8bf52a16f45160 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Fix compilation on platforms without QtQuick1Maurice Kalinowski2014-06-161-2/+5
| | | | | | | | | WinRT is one of those, but you might want to configure Qt in that way also on other platforms. Change-Id: I40e5d0b8bc0c347f058d5f30d64ddbf55653f904 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
* iOS example fixTomi Korpipää2014-06-091-1/+0
| | | | | Change-Id: I1875dab1c2ca26206250772f518a83525e071ffa Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Update copyright yearTitta Heikkala2014-05-1369-69/+69
| | | | | | Task-number: QTRD-3083 Change-Id: Ide516e5299d2363953d46bf9dc5e2f9ec277154e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix build for iOS and for building the QtQuick 2 plugin staticallyAndy Shaw2014-04-111-1/+2
| | | | | | | | | | When building statically then static will be set not staticlib, therefore we need to ensure we check for static in those cases. And also protect against Mac specific flags when building for iOS. Task-number: QTRD-3036 Change-Id: Ib2c534974ad9292e3634b8b692344c71e26e56cd Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix android build issuesMiikka Heikkinen2013-10-311-1/+3
| | | | | Change-Id: I2472408330307e1bccede1b842eae365e850f848 Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
* Fix the geometry for examples and demosTitta Heikkala2013-10-3110-10/+10
| | | | | | | | The default geometry for examples and demos is set so that the labels are not truncated. Change-Id: Ic6a0ba1e8a34af7ab1dd6a079d40aaf5abc93636 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix Chart build on SolarisTitta Heikkala2013-09-191-3/+5
| | | | | | | | | | | The sine and the square root methods in demos and examples have been replaced with the ones provided by Qt. This ensures that the code compiles also on Solaris. Task-number: QTRD-2262 Change-Id: I776341bac0e623f803b4cad771a02cefc6db1b15 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Milla Pohjanheimo <milla.pohjanheimo@digia.com>
* Add example of using image as a brush for scatter seriesTitta Heikkala2013-09-171-2/+44
| | | | | | | | | | The ScatterChart Example is modified so that it shows how to use an image as a brush for scatter series. The image is a star and it's created using QPainterPath. Task-number: QTRD-2078 Change-Id: Ie92ad56efafaf12af2efe4424be63060f812f9e2 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix degree symbols in examples/demosMiikka Heikkinen2013-06-181-1/+1
| | | | | Change-Id: I31c22aa088c3457a78a1fbbe35e160425b18d4f4 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* To avoid complains from new Qt CreatorsMika Salmela2013-06-171-1/+1
| | | | | Change-Id: I790a727a57522888850ecd837d09a91aeba10317 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix zoomlinechart x-axis pan directionMiikka Heikkinen2013-06-141-1/+1
| | | | | Change-Id: I92765fbb1ac11596dd3b76edc5e72daf374ad7f5 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Qt Commercial -> Qt EnterpriseMiikka Heikkinen2013-06-1369-207/+207
| | | | | | | Also updated licenses. Change-Id: Ie14327305207e14879c1f1223219fcdfa1669dc0 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Fix build failure in boxplot exampleMiikka Heikkinen2013-06-071-0/+1
| | | | | Change-Id: I3293d96493a92fdd738e7e1429281d2e8a7415d0 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Example finalization and documentationMika Salmela2013-06-066-32/+78
| | | | | Change-Id: I0ccfa85c689bf6f9519fcce5eb38941de6d8d492 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Fix android build errorMiikka Heikkinen2013-06-041-0/+1
| | | | | Change-Id: I164fbbbbe854ebb61c2a42801de66d2721b3a4dc Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* A new box-and-whiskers series type added to charts.Mika Salmela2013-06-0314-0/+561
| | | | | Change-Id: Iab7a05c44026db9925fa0d68afd2b533b3ea2f91 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Update qmlapplicationviewer filesHeikkinen Miikka2013-05-232-3/+3
| | | | | | | Otherwise the new creator will prompt to update them. Change-Id: I8551532fbe58746aea4cbe8a2ccaf379c624e4a4 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Fix qml application deployment for androidHeikkinen Miikka2013-05-222-1/+21
| | | | | Change-Id: I5a693f3ca7d6110505f8e6d276f53825e1a5961b Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Make creator stop whining about changed generated filesMiikka Heikkinen2013-05-152-1/+1
| | | | | Change-Id: Iff1a13f6686b20d46ed6d8125a3bdd9e302d0806 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix build issues with multi-core builds in qml/quick demosMiikka Heikkinen2013-05-154-1/+238
| | | | | | | | Qmake couldn't handle shared sources so make each app have their own copy of application viewer sources again. Change-Id: I6ee1948c91b5cc41bdd69237b106d3bfe935226c Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Added plot area background customization to customchart exampleMiikka Heikkinen2013-05-081-1/+11
| | | | | Change-Id: Ic61470741a71e0eab2e9a66763eb14bb968bde86 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Add qml files to OTHER_FILES in qml examples, demos, and testsMiikka Heikkinen2013-04-241-0/+1
| | | | | | | This way the qml files show up in creator. Change-Id: If2ca5cd45b3af0489208ef865474815547d89b1d Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Generate charts plugin for QtQuick2 as well as QtQuick1Miikka Heikkinen2013-04-234-237/+1
| | | | | | | | Added quick2 versions of a couple of demos, too. Task-number: QTRD-1922 Change-Id: Ie3e2c1c40c38e06fc6d3afe27289eccc2f997f67 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix compilation errorMiikka Heikkinen2013-04-191-1/+1
| | | | | Change-Id: I6f83baa0916ebb822030f1028c25aa77858e4a06 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Add Polar chart supportMiikka Heikkinen2013-04-179-5/+301
| | | | | | | | | | This commit also heavily refactors things as polar chart needs separate implementation of various classes that previously only needed one, such as ChartAxis and ChartLayout. Task-number: QTRD-1757 Change-Id: I3d3db23920314987ceef3ae92879960b833b7136 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix trivial problems with examples and docsMiikka Heikkinen2013-03-182-20/+7
|
* More copyright year changesMiikka Heikkinen2013-03-0561-61/+61
|
* Check if min and max are same on findMinMaxForSeriesMika Salmela2013-02-061-6/+19
|
* Forced update of qmlapplicationviewer templatesrelease-1.2.0Tero Ahola2012-12-182-97/+73
|
* Removed old logaxis exampleMarek Rosa2012-12-116-415/+0
|
* Minor docs fixMarek Rosa2012-12-111-2/+2
|
* logvalueaxis and multiaxis examples documentedMarek Rosa2012-12-112-21/+24
|
* Logvalueaxis and multiaxis examples updatedMarek Rosa2012-12-102-31/+39
|
* Basic logvalueaxis example addedMarek Rosa2012-12-103-1/+80
|
* Presenterchart moved to testsMarek Rosa2012-12-105-193/+0
|
* Docs updateMarek Rosa2012-12-107-343/+0
|
* QChart mapping functions: return QPoint(0, 0) if series type is PieMarek Rosa2012-12-071-2/+6
| | | | | | Some QLogValueAxis tests added. Most commented out. LogDomain correctly move, zoomin and zoomout when log base is less than 1
* Apply nice numbers on Horizontal bar chart exampleTero Ahola2012-12-071-4/+7
|
* Updated callout exampleMarek Rosa2012-12-047-125/+188
|
* Mapping functions added to QChart. Callout example updatedMarek Rosa2012-12-042-6/+7
|
* Line and bar example now has a name for the lineTero Ahola2012-12-031-2/+2
|
* datetimeaxis example vertical axis format set to integersMarek Rosa2012-11-301-3/+8
|
* LogAxis tester: draftMarek Rosa2012-11-306-0/+415
|
* Scrollchart example removedMarek Rosa2012-11-307-362/+0
|
* restore zoomlinechart exampleMichal Klocek2012-11-291-3/+0
|
* Fix niceNumbers legacy supportMichal Klocek2012-11-281-0/+4
|
* Removed buttons from legendmarkers examplesauimone2012-11-282-22/+3
|