#pragma once /*========================================================================= medInria Copyright (c) INRIA 2013 - 2020. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =========================================================================*/ #include #include class QWidget; class QSpinBox; class QProgressBar; class medIntParameterPresenterPrivate; class MEDWIDGETS_EXPORT medIntParameterPresenter : public medAbstractParameterPresenter { Q_OBJECT public: medIntParameterPresenter(medIntParameter *parent); medIntParameterPresenter(const QString & newParameterId); virtual ~medIntParameterPresenter(); virtual medIntParameter *parameter() const; virtual QWidget *buildWidget(); QSpinBox *buildSpinBox(); QProgressBar *buildProgressBar(); void setSingleStep(int step); int singleStep() const; signals: void singleStepChanged(int step); private: const QScopedPointer d; };