#3860 Z scale label. Do not show in contour map

This commit is contained in:
Bjørn Erik Jensen
2018-12-13 13:20:49 +01:00
parent 1311d4eb4d
commit 01249ace3a
5 changed files with 30 additions and 2 deletions

View File

@@ -152,6 +152,7 @@ RiuViewer::RiuViewer(const QGLFormat& format, QWidget* parent)
m_zScaleLabel->setAlignment(Qt::AlignLeft);
m_zScaleLabel->setText(QString("Z: "));
m_showZScaleLabel = true;
m_hideZScaleCheckbox = false;
QPalette versionInfoPalette = p;
QColor versionInfoLabelColor = p.color(QPalette::Window);
@@ -487,6 +488,14 @@ void RiuViewer::setInfoText(QString text)
m_infoLabel->setText(text);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RiuViewer::hideZScaleCheckbox(bool hide)
{
m_hideZScaleCheckbox = hide;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------