mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
a034014a6a
The StatsState structure fully describes the current state of the chart: the selected axes, operations and additional chart features, such as legend or labels. The code implements sanity checks and reacts accordingly, if an invalid combination of variables and charts is chosen. The chart and variable lists to be displayed can be queried and are encapsulated in the StatsState::UIState structure. Some variable / chart combinations are possible, but not recommended, which is represented by a warning flag. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
36 lines
679 B
CMake
36 lines
679 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
|
|
informationbox.h
|
|
informationbox.cpp
|
|
legend.h
|
|
legend.cpp
|
|
pieseries.h
|
|
pieseries.cpp
|
|
scatterseries.h
|
|
scatterseries.cpp
|
|
statsaxis.h
|
|
statsaxis.cpp
|
|
statscolors.h
|
|
statscolors.cpp
|
|
statsseries.h
|
|
statsseries.cpp
|
|
statsstate.h
|
|
statsstate.cpp
|
|
statsvariables.h
|
|
statsvariables.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})
|