19 #include <QDialogButtonBox> 
   26   mFrameRateSpin->setClearValue( 10 );
 
   27   mFrameRateSpin->setShowClearButton( 
true );
 
   29   connect( mFrameRateSpin, qOverload< double >( &QDoubleSpinBox::valueChanged ), 
this, [ 
this ]
 
   34   connect( mIsAnimatedGroup, &QGroupBox::toggled, 
this, [ 
this ]
 
   44   mIsAnimatedGroup->setChecked( settings.
isAnimated() );
 
   45   mFrameRateSpin->setValue( settings.
frameRate() );
 
   46   mBlockUpdates = 
false;
 
   63   : QDialog( parent, f )
 
   65   QVBoxLayout *vLayout = 
new QVBoxLayout();
 
   67   vLayout->addWidget( mWidget );
 
   68   QDialogButtonBox *bbox = 
new QDialogButtonBox( QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal );
 
   69   connect( bbox, &QDialogButtonBox::accepted, 
this, &QgsSymbolAnimationSettingsDialog::accept );
 
   70   connect( bbox, &QDialogButtonBox::rejected, 
this, &QgsSymbolAnimationSettingsDialog::reject );
 
   71   vLayout->addWidget( bbox );
 
   73   setWindowTitle( tr( 
"Animation Settings" ) );