##// END OF EJS Templates
Added HTML support for various text items...
Added HTML support for various text items - 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>

File last commit:

r2488:5862599d088d
r2539:74f3dbde7a75
Show More
declarative.pri
58 lines | 1.9 KiB | text/plain | TextLexer
!include( ../plugins.pri ) {
error( "Couldn't find the plugins.pri file!" )
}
contains(DEFINES, CHARTS_FOR_QUICK2) {
DESTDIR = $$CHART_BUILD_QML2_PLUGIN_DIR
} else {
DESTDIR = $$CHART_BUILD_QML_PLUGIN_DIR
}
INCLUDEPATH += $$CHART_BUILD_PRIVATE_HEADER_DIR
CONFIG(debug, debug|release) {
mac: TARGET = $$join(TARGET,,,_debug)
win32: TARGET = $$join(TARGET,,,d)
}
SOURCES += \
../declarative/plugin.cpp \
../declarative/declarativechart.cpp \
../declarative/declarativexypoint.cpp \
../declarative/declarativexyseries.cpp \
../declarative/declarativelineseries.cpp \
../declarative/declarativesplineseries.cpp \
../declarative/declarativeareaseries.cpp \
../declarative/declarativescatterseries.cpp \
../declarative/declarativepieseries.cpp \
../declarative/declarativebarseries.cpp \
../declarative/declarativecategoryaxis.cpp \
../declarative/declarativemargins.cpp \
../declarative/declarativeaxes.cpp \
../declarative/declarativepolarchart.cpp
HEADERS += \
../declarative/declarativechart.h \
../declarative/declarativexypoint.h \
../declarative/declarativexyseries.h \
../declarative/declarativelineseries.h \
../declarative/declarativesplineseries.h \
../declarative/declarativeareaseries.h \
../declarative/declarativescatterseries.h \
../declarative/declarativepieseries.h \
../declarative/declarativebarseries.h \
../declarative/declarativecategoryaxis.h \
../declarative/declarativemargins.h \
../declarative/declarativeaxes.h \
../declarative/declarativepolarchart.h \
../declarative/shared_defines.h
TARGETPATH = QtCommercial/Chart
target.path = $$IMPORT_INSTALL_PATH/$$TARGETPATH
qmldir.files += $$_PRO_FILE_PWD_/qmldir
qmldir.path += $$IMPORT_INSTALL_PATH/$$TARGETPATH
INSTALLS += target qmldir
QMLDIR_FILE = $$_PRO_FILE_PWD_/qmldir
win32:QMLDIR_FILE = $$replace(QMLDIR_FILE, "/","\\")
QMAKE_POST_LINK += $$QMAKE_COPY $$QMLDIR_FILE $$DESTDIR