Qt
Widgets
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
20
class
PQWIDGETS_EXPORT
pqSeriesGeneratorDialog
:
public
QDialog
21
{
22
Q_OBJECT
23
using
Superclass = QDialog;
24
25
public
:
26
pqSeriesGeneratorDialog
(
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
pqWidgetsModule.h
PQWIDGETS_EXPORT
#define PQWIDGETS_EXPORT
Definition:
pqWidgetsModule.h:15
pqSeriesGeneratorDialog
dialog to generate a number series
Definition:
pqSeriesGeneratorDialog.h:20
max
#define max(a, b)
Generated by
1.8.13 on Tue Oct 1 2024