深度属性
This commit is contained in:
parent
83c298e8fe
commit
42b025d502
|
|
@ -5959,9 +5959,9 @@ void FormDraw::initDepth(QMyCustomPlot *curv)
|
|||
curv->axisRect()->addAxis(QCPAxis::atLeft, curv->m_yAxis2);
|
||||
curv->m_yAxis2->setRange(0, 100);
|
||||
curv->m_yAxis2->setOffset(40);
|
||||
curv->m_yAxis2->setTickLabelPadding(10);
|
||||
curv->m_yAxis2->ticker()->setTickCount(60);
|
||||
curv->m_yAxis2->setTickLabelPadding(5);
|
||||
curv->m_yAxis2->setTickLabelFont(font1);
|
||||
}
|
||||
if(!curv->m_yAxis3)
|
||||
{
|
||||
|
|
@ -5969,9 +5969,9 @@ void FormDraw::initDepth(QMyCustomPlot *curv)
|
|||
curv->axisRect()->addAxis(QCPAxis::atLeft, curv->m_yAxis3);
|
||||
curv->m_yAxis3->setRange(0, 100);
|
||||
curv->m_yAxis3->setOffset(40);
|
||||
curv->m_yAxis3->setTickLabelPadding(10);
|
||||
curv->m_yAxis3->ticker()->setTickCount(60);
|
||||
curv->m_yAxis3->setTickLabelPadding(5);
|
||||
curv->m_yAxis3->setTickLabelFont(font1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5374,11 +5374,15 @@ void QMyCustomPlot::s_changeDepthProperty(QVariantList vlist)
|
|||
{
|
||||
QFont newFont = varVal.value<QFont>();
|
||||
this->yAxis->setTickLabelFont(newFont);
|
||||
this->m_yAxis2->setTickLabelFont(newFont);
|
||||
this->m_yAxis3->setTickLabelFont(newFont);
|
||||
}
|
||||
else if ("旋转(°)" == strProperty)
|
||||
{
|
||||
double temp = varVal.toDouble();
|
||||
this->yAxis->setTickLabelRotation(temp);
|
||||
this->m_yAxis2->setTickLabelRotation(temp);
|
||||
this->m_yAxis3->setTickLabelRotation(temp);
|
||||
}
|
||||
else if ("斜深" == strProperty)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user