Slowly converting the QGraphicsScene items to QSGNodes to avoid full replot of the scene. This adds a new abstraction for line-nodes. Since the render() function here is fundamentally different from the pixmap-nodes we had so far, this has to be made virtual. Also, move the quartile markers to their own source file, since the StatsView source file is quite huge already. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
48 lines
860 B
CMake
48 lines
860 B
CMake
# the stats-graph widget
|
|
include_directories(.
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_BINARY_DIR}
|
|
)
|
|
|
|
set(SUBSURFACE_STATS_SRCS
|
|
barseries.h
|
|
barseries.cpp
|
|
boxseries.h
|
|
boxseries.cpp
|
|
chartitem.h
|
|
chartitem.cpp
|
|
chartlistmodel.h
|
|
chartlistmodel.cpp
|
|
informationbox.h
|
|
informationbox.cpp
|
|
legend.h
|
|
legend.cpp
|
|
pieseries.h
|
|
pieseries.cpp
|
|
quartilemarker.h
|
|
quartilemarker.cpp
|
|
scatterseries.h
|
|
scatterseries.cpp
|
|
statsaxis.h
|
|
statsaxis.cpp
|
|
statscolors.h
|
|
statscolors.cpp
|
|
statsgrid.h
|
|
statsgrid.cpp
|
|
statsseries.h
|
|
statsseries.cpp
|
|
statsstate.h
|
|
statsstate.cpp
|
|
statstranslations.h
|
|
statsvariables.h
|
|
statsvariables.cpp
|
|
statsview.h
|
|
statsview.cpp
|
|
zvalues.h
|
|
)
|
|
|
|
source_group("Subsurface statistics sourcecode" FILES ${SUBSURFACE_STATS_SRCS})
|
|
|
|
add_library(subsurface_stats STATIC ${SUBSURFACE_STATS_SRCS})
|
|
target_link_libraries(subsurface_stats ${QT_LIBRARIES})
|