mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
64b82b16a2
Up to now, we passed a "shiftPressed" flag to the individual selection functions. To be more general replace by a struct with "shift" and "ctrl" flags. While doing this: 1) Move the struct into a new statsselection file for better encapsulation. 2) Change shift to control in the scatter series, since individual selection of items is usually done with control, not shift. Shift usually means "select range". Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
56 lines
1 KiB
CMake
56 lines
1 KiB
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
|
|
statsselection.h
|
|
statsselection.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})
|