myIsLegendEnabled = false;
myLegendXOffset = 10.0;
myLegendYOffset = 10.0;
- myLegendFont = QFont( "Arial", 9 );
+ myLegendFont = QFont( "Times", 12 );
}
/*!
//! Sets the legend text
void setLegendText( const QString& theText ) { myLegendText = theText; }
+ //! Sets the legend font
+ void setLegendFont( const QFont& theFont ) { myLegendFont = theFont; }
+
signals:
//! Emits after any transformation
void vpUpdateValues();
<section name="Study">
<!-- General study settings -->
<parameter name="store_positions" value="true" />
- <parameter name="backup_studies" value="5.0" />
+ <parameter name="backup_studies" value="0.0" />
</section>
<section name="Activate">
<!-- StartUp settings -->
if ( !app )
return;
+ // With the block below, the following limitation appears:
+ // If the user changes the value of "Backup every N minutes" from 0 to some non-zero value,
+ // it is necessary to restart the application to make it generate the backup folder.
+ double aBackupTime = app->getBackupTime();
+ if( aBackupTime < 1e-3 )
+ return;
+
myBTimer = new QTimer( this );
connect( myBTimer, SIGNAL( timeout() ), this, SLOT( onBTimer() ) );