pqDoubleSpinBox.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef pqDoubleSpinBox_h
5 #define pqDoubleSpinBox_h
6 
7 #include "pqWidgetsModule.h"
8 #include <QDoubleSpinBox>
9 
14 class PQWIDGETS_EXPORT pqDoubleSpinBox : public QDoubleSpinBox
15 {
16  Q_OBJECT
17  typedef QDoubleSpinBox Superclass;
18 
19 public:
20  explicit pqDoubleSpinBox(QWidget* parent = nullptr);
21 
26  void stepBy(int steps) override;
27 
28 private:
29  Q_DISABLE_COPY(pqDoubleSpinBox)
30 };
31 
32 #endif
#define PQWIDGETS_EXPORT
QDoubleSpinBox which fires editingFinished() signal when the value is changed by steps (increments)...