#include "VISU_Actor.h"
#include <SalomeApp_DoubleSpinBox.h>
+#include <SalomeApp_IntSpinBox.h>
#include "SalomeApp_Study.h"
#include "LightApp_Application.h"
#include <QGroupBox>
#include <QPushButton>
#include <QLabel>
-#include <QSpinBox>
#include <qwt_wheel.h>
myFrequencyLbl->setEnabled(false);
aSaveLay->addWidget(myFrequencyLbl, 5, 0, 1, 2);
- myFrequencySpin = new QSpinBox(aSaveBox);
- myFrequencySpin->setRange(1, 100);
+ myFrequencySpin = new SalomeApp_IntSpinBox(aSaveBox);
+ VISU::initSpinBox(myFrequencySpin, 1, 100, 1);
myFrequencySpin->setValue(myAnimator->getTimeStampFrequency());
myFrequencySpin->setEnabled(false);
aSaveLay->addWidget(myFrequencySpin, 5, 2);
class VisuGUI;
class SalomeApp_Module;
+class SalomeApp_IntSpinBox;
class VISU_TimeAnimation;
namespace VISU
class QComboBox;
class QGroupBox;
class QToolButton;
-class QSpinBox;
/*!
* Auxilliary class for presentations definition
QLabel* myPathAVILbl;
QPushButton* myBrowseAVIBtn;
QLabel* myFrequencyLbl;
- QSpinBox* myFrequencySpin;
+ SalomeApp_IntSpinBox* myFrequencySpin;
QPushButton* myPublishBtn;
QPushButton* mySaveBtn;