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

r2510:0fc60b87ece9
r2519:9ea7d7fe3500
Show More
qmloscilloscope.pro
14 lines | 284 B | text/idl | PrologLexer
Tero Ahola
Added a new QXYSeries::replace override for performance reasons....
r1783 !include( ../demos.pri ) {
error( "Couldn't find the demos.pri file!" )
}
QT += opengl
RESOURCES += resources.qrc
SOURCES += main.cpp \
datasource.cpp
Miikka Heikkinen
Add qml files to OTHER_FILES in qml examples, demos, and tests...
r2490 OTHER_FILES += qml/qmloscilloscope/*
Tero Ahola
Added a new QXYSeries::replace override for performance reasons....
r1783
Miikka Heikkinen
Fix build issues with multi-core builds in qml/quick demos...
r2510 include(qmlapplicationviewer/qmlapplicationviewer.pri)
Tero Ahola
Added a new QXYSeries::replace override for performance reasons....
r1783
HEADERS += \
datasource.h