// update preferences
if ( dlg->isSetAsDefault() )
writePreferences();
+
+ emit settingsUpdated();
}
delete dlg;
}
QColor selColor = QColorDialog::getColor ( backgroundColor(), this );
if ( selColor.isValid() ) {
setBackgroundColor( selColor );
+ emit backgroundColorChanged( selColor );
}
}
myPlot->insertLegend( 0 );
if ( update )
myPlot->replot();
+
+ emit legendStateChanged( myShowLegend );
}
/*!
void curveDisplayed( Plot2d_Curve* );
void curveErased( Plot2d_Curve* );
void curvesErased( const curveList& );
+ void settingsUpdated();
void curvesUpdated();
void xRangeUpdated( const double&, const double&);
void yRangeUpdated( const double&, const double&, const double&, const double&);
const double&, const double&, const double& );
void manualTransformationApplied();
void fitAllApplied();
+ void backgroundColorChanged( const QColor& );
+ void legendStateChanged( const bool );
protected:
Plot2d_Plot2d* myPlot;