pqSeriesGeneratorDialog.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 pqSeriesGeneratorDialog_h
5 #define pqSeriesGeneratorDialog_h
6 
7 #include "pqWidgetsModule.h" // for exports
8 #include <QDialog>
9 #include <QScopedPointer> // for ivar
10 
21 {
22  Q_OBJECT
23  using Superclass = QDialog;
24 
25 public:
27  double min, double max, QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
28  ~pqSeriesGeneratorDialog() override;
29 
33  QVector<double> series() const;
34 
40  void setDataRange(double dataMin, double dataMax, bool reset = false);
41 
42 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
43 
47  void resetRangeToDataRange();
48 
49 private:
50  Q_DISABLE_COPY(pqSeriesGeneratorDialog);
51 
52  class pqInternals;
53  QScopedPointer<pqInternals> Internals;
54 };
55 
56 #endif
#define PQWIDGETS_EXPORT
dialog to generate a number series
#define max(a, b)