Let user disable hovering on allplot

.. it irks some people.
This commit is contained in:
Mark Liversedge
2015-01-21 08:13:51 +00:00
parent ca34011082
commit 35bb937dc5
3 changed files with 17 additions and 3 deletions

View File

@@ -179,10 +179,14 @@ AllPlotWindow::AllPlotWindow(Context *context) :
showFull->setCheckState(Qt::Checked);
guiControls->addRow(new QLabel(""), showFull);
showInterval = new QCheckBox(tr("Intervals"), this);
showInterval = new QCheckBox(tr("Interval Navigator"), this);
showInterval->setCheckState(Qt::Checked);
guiControls->addRow(new QLabel(""), showInterval);
showHover = new QCheckBox(tr("Hover intervals"), this);
showHover->setCheckState(Qt::Checked);
guiControls->addRow(new QLabel(""), showHover);
showHelp = new QCheckBox(tr("Overlay"), this);
showHelp->setCheckState(Qt::Unchecked);
guiControls->addRow(new QLabel(""), showHelp);
@@ -2107,6 +2111,12 @@ AllPlotWindow::hideSelection()
}
}
void
AllPlotWindow::setHovering(int value)
{
showHover->setChecked(value);
}
void
AllPlotWindow::setShowPower(int value)
{