summaryrefslogtreecommitdiffstats
path: root/src/datavis3d/engine/abstract3drenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/datavis3d/engine/abstract3drenderer.cpp')
-rw-r--r--src/datavis3d/engine/abstract3drenderer.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/datavis3d/engine/abstract3drenderer.cpp b/src/datavis3d/engine/abstract3drenderer.cpp
index 6c1d1878..472cdc58 100644
--- a/src/datavis3d/engine/abstract3drenderer.cpp
+++ b/src/datavis3d/engine/abstract3drenderer.cpp
@@ -76,10 +76,10 @@ void Abstract3DRenderer::initializePreOpenGL()
&Abstract3DRenderer::updateAxisLabels);
QObject::connect(m_controller, &Abstract3DController::axisRangeChanged, this,
&Abstract3DRenderer::updateAxisRange);
- QObject::connect(m_controller, &Abstract3DController::axisTickCountChanged, this,
- &Abstract3DRenderer::updateAxisTickCount);
- QObject::connect(m_controller, &Abstract3DController::axisSubTickCountChanged, this,
- &Abstract3DRenderer::updateAxisSubTickCount);
+ QObject::connect(m_controller, &Abstract3DController::axisSegmentCountChanged, this,
+ &Abstract3DRenderer::updateAxisSegmentCount);
+ QObject::connect(m_controller, &Abstract3DController::axisSubSegmentCountChanged, this,
+ &Abstract3DRenderer::updateAxisSubSegmentCount);
updateTheme(m_controller->theme());
updateFont(m_controller->font());
@@ -211,14 +211,14 @@ void Abstract3DRenderer::updateAxisRange(QAbstractAxis::AxisOrientation orientat
cache.setMax(max);
}
-void Abstract3DRenderer::updateAxisTickCount(QAbstractAxis::AxisOrientation orientation, int count)
+void Abstract3DRenderer::updateAxisSegmentCount(QAbstractAxis::AxisOrientation orientation, int count)
{
- axisCacheForOrientation(orientation).setTickCount(count);
+ axisCacheForOrientation(orientation).setSegmentCount(count);
}
-void Abstract3DRenderer::updateAxisSubTickCount(QAbstractAxis::AxisOrientation orientation, int count)
+void Abstract3DRenderer::updateAxisSubSegmentCount(QAbstractAxis::AxisOrientation orientation, int count)
{
- axisCacheForOrientation(orientation).setSubTickCount(count);
+ axisCacheForOrientation(orientation).setSubSegmentCount(count);
}
// This method needs to be called under the controller-renderer sync mutex
@@ -233,8 +233,8 @@ void Abstract3DRenderer::initializeAxisCache(QAbstractAxis::AxisOrientation orie
if (axis->type() & QAbstractAxis::AxisTypeValue) {
const QValueAxis *valueAxis = static_cast<const QValueAxis *>(axis);
updateAxisRange(orientation, valueAxis->min(), valueAxis->max());
- updateAxisTickCount(orientation, valueAxis->tickCount());
- updateAxisSubTickCount(orientation, valueAxis->subTickCount());
+ updateAxisSegmentCount(orientation, valueAxis->segmentCount());
+ updateAxisSubSegmentCount(orientation, valueAxis->subSegmentCount());
}
}
}