}
}
+/*!
+ Verifies whether plot title must be generated automatically using curves titles
+*/
+void Plot2d_ViewFrame::forgetLocalUserChanges( const ObjectType type )
+{
+ switch ( type )
+ {
+ case MainTitle:
+ myTitleChangedByUser = false;
+ break;
+ case XTitle:
+ myXTitleChangedByUser = false;
+ break;
+ case YTitle:
+ myYTitleChangedByUser = false;
+ break;
+ default:
+ break;
+ }
+}
+
/*!
Sets flag for automatic updates of titles in accordance with current set of curves
( updateTitles method). You should call setAutoUpdateTitle( ObjType, false )
{
case MainTitle:
myTitleAutoUpdate = upd;
+ break;
case XTitle:
myXTitleAutoUpdate = upd;
+ break;
case YTitle:
myYTitleAutoUpdate = upd;
+ break;
default:
break;
}
QString getTitle( ObjectType type ) const;
bool isTitleChangedByUser( const ObjectType type );
+ void forgetLocalUserChanges( const ObjectType type );
void setFont( const QFont& font, ObjectType type, bool update = true );
void setHorScaleMode( const int mode, bool update = true );