|
|
|
@ -171,7 +171,7 @@ void LinechartWidget::selectAllCurves(bool all)
@@ -171,7 +171,7 @@ void LinechartWidget::selectAllCurves(bool all)
|
|
|
|
|
{ |
|
|
|
|
QMap<QString, QLabel*>::iterator i; |
|
|
|
|
for (i = curveLabels->begin(); i != curveLabels->end(); ++i) { |
|
|
|
|
activePlot->setVisible(i.key(), all); |
|
|
|
|
activePlot->setVisibleById(i.key(), all); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -647,7 +647,7 @@ void LinechartWidget::addCurve(const QString& curve, const QString& unit)
@@ -647,7 +647,7 @@ void LinechartWidget::addCurve(const QString& curve, const QString& unit)
|
|
|
|
|
|
|
|
|
|
// Set UI components to initial state
|
|
|
|
|
checkBox->setChecked(false); |
|
|
|
|
plot->setVisible(curve+unit, false); |
|
|
|
|
plot->setVisibleById(curve+unit, false); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -952,7 +952,7 @@ void LinechartWidget::takeButtonClick(bool checked)
@@ -952,7 +952,7 @@ void LinechartWidget::takeButtonClick(bool checked)
|
|
|
|
|
|
|
|
|
|
if(button != NULL) |
|
|
|
|
{ |
|
|
|
|
activePlot->setVisible(button->objectName(), checked); |
|
|
|
|
activePlot->setVisibleById(button->objectName(), checked); |
|
|
|
|
QWidget* colorIcon = colorIcons.value(button->objectName(), 0); |
|
|
|
|
if (colorIcon) |
|
|
|
|
{ |
|
|
|
|