##// END OF EJS Templates
Return empty brush/pen/font via API rather than the weird default one...
Return empty brush/pen/font via API rather than the weird default one Previously a non-initialized QPen()/QBrush()/QFont() was returned if axis/series hadn't been added to a chart yet and therefore had not been themed yet. To keep API somewhat consistent with old behavior, return non-initialized QPen()/QBrush()/QFont() instead of the weird default one in these cases. The new behavior is slightly different in that it is no longer possible to restore themed behavior by setting pen/brush/font to non-initialized one, but since there is no way to differentiate e.g. legitimate Qt::black pen from non-initialized pen, we can no longer support this behavior. Change-Id: I99f3d8853b329b5345e3073c040d8bfa8b9b75b4 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>

File last commit:

r1947:a62b3bfbefaa
r2519:9ea7d7fe3500
Show More
resources.qrc
18 lines | 858 B | text/plain | TextLexer
<RCC>
<qresource prefix="/">
<file>qml/qmlchartaxis/main.qml</file>
<file>qml/qmlchartaxis/Button.qml</file>
<file>qml/qmlchartaxis/DefaultAxes.qml</file>
<file>qml/qmlchartaxis/DefaultAxesRevert.qml</file>
<file>qml/qmlchartaxis/UserDefined.qml</file>
<file>qml/qmlchartaxis/UserDefinedRevert.qml</file>
<file>qml/qmlchartaxis/ChartAxes.qml</file>
<file>qml/qmlchartaxis/ChartAxesRevert.qml</file>
<file>qml/qmlchartaxis/ConfiguringDynamically.qml</file>
<file>qml/qmlchartaxis/SeriesSpecificDynamic.qml</file>
<file>qml/qmlchartaxis/CreatingDynamically.qml</file>
<file>qml/qmlchartaxis/SwitchingDynamically.qml</file>
<file>qml/qmlchartaxis/DefaultAndUserDefined.qml</file>
<file>qml/qmlchartaxis/Legacy.qml</file>
</qresource>
</RCC>