Add axis property dialog

This commit is contained in:
Emil Sawicki
2022-03-10 20:35:48 +01:00
parent 8d4b1aaadc
commit a77225af5d
11 changed files with 533 additions and 19 deletions
+10
View File
@@ -43,6 +43,16 @@ void AxisData::update(qreal minValue, qreal maxValue)
update();
}
void AxisData::updateForDesignMode()
{
m_minValue = 0;
m_maxValue = 40;
bool tmp = m_calculateAxisScale;
m_calculateAxisScale = false;
update();
m_calculateAxisScale = tmp;
}
int AxisData::segmentCount() const
{
return m_segmentCount;