subsurface/stats/CMakeLists.txt
Berthold Stoeger 5b6f468547 statistics: don't place labels at half-integer values
Placing labels at half-integer values gives horrible
rendering artifacts. Therefore, always round to integer
values. The easiest way to do this is right before setting
the position. Introduce a helper function to round QPointF
in such scenarios.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-02-06 10:05:41 -08:00

54 lines
990 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
histogrammarker.h
histogrammarker.cpp
chartlistmodel.cpp
informationbox.h
informationbox.cpp
legend.h
legend.cpp
pieseries.h
pieseries.cpp
quartilemarker.h
quartilemarker.cpp
regressionitem.h
regressionitem.cpp
scatterseries.h
scatterseries.cpp
statsaxis.h
statsaxis.cpp
statscolors.h
statscolors.cpp
statsgrid.h
statsgrid.cpp
statshelper.h
statshelper.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})