##// 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:

r1256:b3d46b8e0cda
r2519:9ea7d7fe3500
Show More
xychart.pri
21 lines | 446 B | text/plain | TextLexer
Michal Klocek
Add missing files from previous commit
r466 INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD
SOURCES += \
Michal Klocek
Refactor xychartitem -> xychart
r1218 $$PWD/xychart.cpp \
Marek Rosa
Mapper class added for xyseries and pieseries. Model support commented out for barseries for now.
r1164 $$PWD/qxyseries.cpp \
Marek Rosa
Added Vertical and Horizontal QXYModelMapper
r1252 $$PWD/qxymodelmapper.cpp \
$$PWD/qvxymodelmapper.cpp \
$$PWD/qhxymodelmapper.cpp
Michal Klocek
Add missing files from previous commit
r466
PRIVATE_HEADERS += \
Michal Klocek
Refactor xychartitem -> xychart
r1218 $$PWD/xychart_p.h \
Marek Rosa
XYModelMapper slots for model signals implemented
r1256 $$PWD/qxyseries_p.h \
$$PWD/qxymodelmapper_p.h
Michal Klocek
Animation refactor...
r530
Michal Klocek
Add missing files from previous commit
r466
PUBLIC_HEADERS += \
Marek Rosa
Mapper class added for xyseries and pieseries. Model support commented out for barseries for now.
r1164 $$PWD/qxyseries.h \
Marek Rosa
Added Vertical and Horizontal QXYModelMapper
r1252 $$PWD/qxymodelmapper.h \
$$PWD/qvxymodelmapper.h \
$$PWD/qhxymodelmapper.h