##// END OF EJS Templates
Split piechartcustomization to different files
Split piechartcustomization to different files

File last commit:

r808:7ea08dd6d356
r844:67b89f55eed8
Show More
src.pro
170 lines | 5.0 KiB | text/idl | PrologLexer
Michal Klocek
Fix previous broken commit
r145 !include( ../common.pri ):error( Couldn't find the common.pri file! )
Michal Klocek
fix CRLF in src.pro
r36 TARGET = QtCommercialChart
Michal Klocek
Revert "Integrated scatter series"...
r39 DESTDIR = $$CHART_BUILD_LIB_DIR
Michal Klocek
fix CRLF in src.pro
r36 TEMPLATE = lib
QT += core \
gui
Tero Ahola
Adding user32.lib is now Win32/VS specific
r606 win32-msvc*: LIBS += User32.lib
Michal Klocek
fix CRLF in src.pro
r36 CONFIG += debug_and_release
CONFIG(debug, debug|release):TARGET = QtCommercialChartd
Michal Klocek
Move axes files to subdir
r478 SOURCES += \
Michal Klocek
Adds shadow build support
r708 $$PWD/chartdataset.cpp \
$$PWD/chartpresenter.cpp \
$$PWD/charttheme.cpp \
$$PWD/domain.cpp \
$$PWD/qchart.cpp \
$$PWD/qchartview.cpp \
$$PWD/qseries.cpp \
$$PWD/qlegend.cpp \
$$PWD/legendmarker.cpp \
sauimone
Scrolling logic to legend
r716 $$PWD/legendscrollbutton.cpp \
Michal Klocek
Adds shadow build support
r708 $$PWD/chartbackground.cpp \
$$PWD/chart.cpp
Michal Klocek
Move axes files to subdir
r478 PRIVATE_HEADERS += \
Michal Klocek
Adds shadow build support
r708 $$PWD/chartdataset_p.h \
$$PWD/chartitem_p.h \
$$PWD/chartpresenter_p.h \
$$PWD/charttheme_p.h \
$$PWD/domain_p.h \
$$PWD/legendmarker_p.h \
sauimone
Scrolling logic to legend
r716 $$PWD/legendscrollbutton_p.h \
Michal Klocek
Adds shadow build support
r708 $$PWD/chartbackground_p.h \
Michal Klocek
Adds ChartConfig class
r719 $$PWD/chart_p.h \
Michal Klocek
Adds PIMPL to qchart
r740 $$PWD/chartconfig_p.h \
Michal Klocek
adds QChartView PIMPL, refactor public API
r746 $$PWD/qchart_p.h \
$$PWD/qchartview_p.h
sauimone
Separated legend marker to private header. Added signals for left and right mouse click
r547 PUBLIC_HEADERS += \
Michal Klocek
Adds shadow build support
r708 $$PWD/qchart.h \
$$PWD/qchartglobal.h \
$$PWD/qseries.h \
$$PWD/qchartview.h \
$$PWD/qlegend.h
Michal Klocek
Animation refactor...
r530
include(animations/animations.pri)
Michal Klocek
Move axes files to subdir
r478 include(axis/axis.pri)
Michal Klocek
Refactor line spline to common xyline...
r465 include(xychart/xychart.pri)
Michal Klocek
Rename QChartSeries to QSeries
r360 include(linechart/linechart.pri)
Michal Klocek
Adds area chart...
r421 include(areachart/areachart.pri)
Michal Klocek
Rename QChartSeries to QSeries
r360 include(barchart/barchart.pri)
Jani Honkonen
Moved pie stuff to own .pri file and rename stuff
r146 include(piechart/piechart.pri)
Tero Ahola
Moved scatter impl into a subfolder
r194 include(scatterseries/scatter.pri)
Marek Rosa
Spline initial
r295 include(splinechart/splinechart.pri)
Michal Klocek
Adds shadow build support
r708 include(themes/themes.pri)
Tero Ahola
Moved scatter impl into a subfolder
r194
Tero Ahola
New theme with light colors, chartview background
r584
Tero Ahola
Moved scatter impl into a subfolder
r194 HEADERS += $$PUBLIC_HEADERS
Michal Klocek
fix CRLF in src.pro
r36 HEADERS += $$PRIVATE_HEADERS
Michal Klocek
Refactor themes...
r143 HEADERS += $$THEMES
sauimone
build fix.
r744 INCLUDEPATH += ../include .
Michal Klocek
Adds PIMPL to qchart
r740
Michal Klocek
Revert "Integrated scatter series"...
r39 OBJECTS_DIR = $$CHART_BUILD_DIR/lib
MOC_DIR = $$CHART_BUILD_DIR/lib
UI_DIR = $$CHART_BUILD_DIR/lib
RCC_DIR = $$CHART_BUILD_DIR/lib
Michal Klocek
fix CRLF in src.pro
r36 DEFINES += QTCOMMERCIALCHART_LIBRARY
Michal Klocek
Adds qt headers generation to build config
r588
#qt public headers
Michal Klocek
minor. comments in src.pro
r603 #this is very primitive and lame parser , TODO: make perl script insted
Michal Klocek
Chages 'find' to 'contains' in src.pro to make windows linux build the same
r711 !exists($$CHART_BUILD_PUBLIC_HEADER_DIR/QChartGlobal)
Michal Klocek
Fix missig include dir form src.pro
r591 {
Michal Klocek
minor. comments in src.pro
r603 system($$QMAKE_MKDIR $$CHART_BUILD_PUBLIC_HEADER_DIR)
Michal Klocek
Chages 'find' to 'contains' in src.pro to make windows linux build the same
r711 win32:{
command = "echo $${LITERAL_HASH}include \"qchartglobal.h\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/QChartGlobal"
}else{
command = "echo \"$${LITERAL_HASH}include \\\"qchartglobal.h\\\"\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/QChartGlobal"
}
system($$command)
Michal Klocek
Fix missig include dir form src.pro
r591 }
Michal Klocek
Adds qt headers generation to build config
r588 for(file, PUBLIC_HEADERS) {
name = $$split(file,'/')
name = $$last(name)
class = "$$cat($$file)"
class = $$find(class,class)
!isEmpty(class){
class = $$split(class,QTCOMMERCIALCHART_EXPORT)
class = $$member(class,1)
Michal Klocek
minor. change in regpattern in src.pro
r589 class = $$split(class,' ')
Michal Klocek
Adds qt headers generation to build config
r588 class = $$replace(class,' ','')
class = $$member(class,0)
Michal Klocek
Adds win32 command condition to src.pro
r627 win32:{
command = "echo $${LITERAL_HASH}include \"$$name\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class"
}else{
command = "echo \"$${LITERAL_HASH}include \\\"$$name\\\"\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class"
}
Michal Klocek
Adds qt headers generation to build config
r588 PUBLIC_QT_HEADERS += $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class
Michal Klocek
Fix missig include dir form src.pro
r591 system($$command)
Michal Klocek
Adds qt headers generation to build config
r588 }
}
Michal Klocek
fix CRLF in src.pro
r36 public_headers.path = $$[QT_INSTALL_HEADERS]/QtCommercialChart
Michal Klocek
Adds qt headers generation to build config
r588 public_headers.files = $$PUBLIC_HEADERS $$PUBLIC_QT_HEADERS
Michal Klocek
fix CRLF in src.pro
r36 target.path = $$[QT_INSTALL_LIBS]
Michal Klocek
Adds qt headers generation to build config
r588 INSTALLS += target public_headers
install_build_public_headers.name = build_public_headers
Michal Klocek
Adds private headers handling...
r193 install_build_public_headers.output = $$CHART_BUILD_PUBLIC_HEADER_DIR/${QMAKE_FILE_BASE}.h
install_build_public_headers.input = PUBLIC_HEADERS
install_build_public_headers.commands = $$QMAKE_COPY \
Michal Klocek
Fix previous broken commit
r145 ${QMAKE_FILE_NAME} \
Michal Klocek
Adds private headers handling...
r193 $$CHART_BUILD_PUBLIC_HEADER_DIR
install_build_public_headers.CONFIG += target_predeps \
Michal Klocek
Fix previous broken commit
r145 no_link
Michal Klocek
Adds qt headers generation to build config
r588
install_build_private_headers.name = buld_private_headers
Michal Klocek
Adds private headers handling...
r193 install_build_private_headers.output = $$CHART_BUILD_PRIVATE_HEADER_DIR/${QMAKE_FILE_BASE}.h
install_build_private_headers.input = PRIVATE_HEADERS
install_build_private_headers.commands = $$QMAKE_COPY \
${QMAKE_FILE_NAME} \
$$CHART_BUILD_PRIVATE_HEADER_DIR
install_build_private_headers.CONFIG += target_predeps \
no_link
Michal Klocek
Adds qt headers generation to build config
r588
Michal Klocek
Rename QChartSeries to QSeries
r360 QMAKE_EXTRA_COMPILERS += install_build_public_headers \
Michal Klocek
Adds qt headers generation to build config
r588 install_build_private_headers \
Michal Klocek
Add build stamp and git head support for debug
r715
Jani Honkonen
Fix shadow build/jom.exe problems
r808 !win32-msvc*: {
# There is a problem with jom.exe currently. It does not seem to understand QMAKE_EXTRA_TARGETS properly.
# This is the case at least with shadow builds.
# http://qt-project.org/wiki/jom
chartversion.target = $$PWD/qchartversion_p.h
unix:{
chartversion.commands = @echo \
"const char *buildTime = \\\"`date +'%y%m%d%H%M'`\\\" \\; \
const char *gitHead = \\\"`git rev-parse HEAD`\\\" \\; " \
> \
$$chartversion.target;
}else{
chartversion.commands = @echo \
"const char *buildTime = \"%date%_%time%\" ; \
const char *gitHead = \"unknown\" ; " \
> \
$$chartversion.target
}
chartversion.depends = $$HEADERS \
$$SOURCES
PRE_TARGETDEPS += $$PWD/qchartversion_p.h
QMAKE_CLEAN += $$PWD/qchartversion_p.h
QMAKE_EXTRA_TARGETS += chartversion
Michal Klocek
Add build stamp and git head support for debug
r715 }
Jani Honkonen
Fix shadow build/jom.exe problems
r808
Michal Klocek
Fix previous broken commit
r145 unix:QMAKE_DISTCLEAN += -r \
$$CHART_BUILD_HEADER_DIR \
$$CHART_BUILD_LIB_DIR
win32:QMAKE_DISTCLEAN += /Q \
$$CHART_BUILD_HEADER_DIR \
$$CHART_BUILD_LIB_DIR
Michal Klocek
Adds qt headers generation to build config
r588
Jani Honkonen
We have so many stupid warnings that "treat warnings as errors" flag is needed...
r609 # treat warnings as errors
Jani Honkonen
Treat warnings as errors flag for m$ compilers
r610 win32-msvc*: {
QMAKE_CXXFLAGS += /WX
} else {
QMAKE_CXXFLAGS += -Werror
}