mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
statistics: remove float z-value
These values were used for items on the QGraphicsScene and have been replaced by integer values used on the QSG scene. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
01accbfa3e
commit
51f67c6350
1 changed files with 1 additions and 11 deletions
|
@ -2,19 +2,9 @@
|
|||
// Defines the z-values of features in the chart view.
|
||||
// Objects with higher z-values are painted on top of objects
|
||||
// with smaller z-values. For the same z-value objects are
|
||||
// drawn in order of addition to the graphics scene.
|
||||
// drawn in order of addition to the scene.
|
||||
#ifndef ZVALUES_H
|
||||
|
||||
struct ZValues {
|
||||
static constexpr double grid = -1.0;
|
||||
static constexpr double series = 0.0;
|
||||
static constexpr double axes = 1.0;
|
||||
static constexpr double seriesLabels = 2.0;
|
||||
static constexpr double chartFeatures = 3.0; // quartile markers and regression lines
|
||||
static constexpr double informationBox = 4.0;
|
||||
static constexpr double legend = 5.0;
|
||||
};
|
||||
|
||||
enum class ChartZValue {
|
||||
Grid = 0,
|
||||
Series,
|
||||
|
|
Loading…
Reference in a new issue