| 272 | } |
| 273 | |
| 274 | void ProcessBehaviorChart::setVisible(bool on) { |
| 275 | Q_D(ProcessBehaviorChart); |
| 276 | beginMacro(on ? i18n("%1: set visible", name()) : i18n("%1: set invisible", name())); |
| 277 | d->dataCurve->setVisible(on); |
| 278 | d->centerCurve->setVisible(on); |
| 279 | d->upperLimitCurve->setVisible(on); |
| 280 | d->lowerLimitCurve->setVisible(on); |
| 281 | WorksheetElement::setVisible(on); |
| 282 | endMacro(); |
| 283 | } |
| 284 | |
| 285 | /*! |
| 286 | * override the default implementation to handle the visibility of the internal curves |
no outgoing calls
no test coverage detected