| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
When this property is true, the default QLocale is used to convert
various values to strings for series and axis labels instead of
corresponding QString functions, which always use "C" locale.
Task-number: QTRD-3231
Change-Id: I95a936ae6d49c2589a7c53a481fd850c90846ae4
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
|
|
|
|
|
|
| |
Task-number: QTRD-3083
Change-Id: Ide516e5299d2363953d46bf9dc5e2f9ec277154e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
|
|
| |
Also fixes the vertical axis title truncation issue.
Change-Id: I3436705719946118e7c06dcf0fd2a1ada880e200
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
|
|
|
|
|
|
|
| |
Also updated licenses.
Change-Id: Ie14327305207e14879c1f1223219fcdfa1669dc0
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
|
|
|
|
|
|
|
|
| |
ChartAxisElement::setGeometry(QRectF, QRectF) hided virtual function with
the same name from QGraphicsLayoutItem. Causes around 400 warnings.
Change-Id: I4474e4879058e2b785e72897ed47dea0f2b24cd1
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The text items have been changed to use QGraphicsTextItem bounding
rects instead of calculating dimensions using QFontMetrics. It seems
that QGraphicsTextItem boundingRect involves a lot more of a margin
than QFontMetrics provided. To compensate, various margins and
paddings have been adjusted lower.
Change-Id: Idebf939f5dd804fb96daeaea4bbf1b45f4f02908
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
|
|
|
|
|
|
|
| |
Multiline titles were not truncating in both dimensions.
Change-Id: I497f64473fce8de8f0026f0fb0a73b964422ecec
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- HTML tags can now be used in chart titles, legends, and labels
- '\n' does no longer cause line break in multi-line text items.
HTML tag <br/> can be used for line break now.
- Setting pen for axis titles and labels is deprecated
- When setting brush for titles and labels, only the color is relevant
- Logic for identifying label format specifiers was improved,
so adding additional information to labels via label format string
is now more viable.
Task-number: QTRD-1912
Change-Id: I8fa56df56fd656e2a3e427eff4abf3481435eec7
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
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>
|