Qt
Components
pqWidgetRangeDomain.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
5
#ifndef pqWidgetRangeDomain_h
6
#define pqWidgetRangeDomain_h
7
8
#include "pqComponentsModule.h"
9
#include <QObject>
10
11
class
vtkSMProperty
;
12
class
QWidget;
13
18
class
PQCOMPONENTS_EXPORT
pqWidgetRangeDomain
:
public
QObject
19
{
20
Q_OBJECT
21
public
:
22
pqWidgetRangeDomain
(QWidget* p,
const
QString& minProp,
const
QString& maxProp,
23
vtkSMProperty
* prop,
int
index
= -1);
24
~
pqWidgetRangeDomain
()
override
;
25
26
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
27
void
domainChanged();
28
protected
Q_SLOTS:
29
void
internalDomainChanged();
30
31
protected
:
// NOLINT(readability-redundant-access-specifiers)
32
virtual
void
setRange(QVariant min, QVariant
max
);
33
34
QWidget* getWidget()
const
;
35
36
private
:
37
class
pqInternal;
38
pqInternal* Internal;
39
};
40
41
#endif
vtkSMProperty
superclass for all SM properties
Definition:
vtkSMProperty.h:150
pqWidgetRangeDomain
observes the domain for a property and updates the minimum and/or maximum properties of the object ...
Definition:
pqWidgetRangeDomain.h:18
index
index
max
#define max(a, b)
Generated by
1.8.13 on Tue Jan 21 2025