mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
5b6f468547
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>
54 lines
990 B
CMake
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})
|