src
paraview-5.12
Qt
Components
pqIntMaskPropertyWidget.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 pqIntMaskPropertyWidget_h
5
#define pqIntMaskPropertyWidget_h
6
7
#include "pqComponentsModule.h"
8
#include "
pqPropertyWidget.h
"
9
#include <QScopedPointer>
10
41
class
PQCOMPONENTS_EXPORT
pqIntMaskPropertyWidget
:
public
pqPropertyWidget
42
{
43
Q_OBJECT
44
typedef
pqPropertyWidget
Superclass
;
45
Q_PROPERTY(
int
mask READ mask WRITE setMask NOTIFY maskChanged);
46
47
public
:
48
pqIntMaskPropertyWidget
(
vtkSMProxy
* proxy,
vtkSMProperty
* smproperty, QWidget* parent =
nullptr
);
49
~
pqIntMaskPropertyWidget
()
override
;
50
54
int
mask()
const
;
55
56
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
60
void
setMask(
int
mask);
61
62
Q_SIGNALS:
66
void
maskChanged();
67
68
private
:
69
Q_DISABLE_COPY(
pqIntMaskPropertyWidget
)
70
71
class
pqInternals;
72
QScopedPointer<pqInternals> Internals;
73
};
74
75
#endif
pqIntMaskPropertyWidget
pqIntMaskPropertyWidget is designed to be used for an IntVectorProperty that can have a value that is...
Definition:
pqIntMaskPropertyWidget.h:41
pqPropertyWidget
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
Definition:
pqPropertyWidget.h:25
vtkSMProperty
superclass for all SM properties
Definition:
vtkSMProperty.h:144
vtkSMProxy
proxy for a VTK object(s) on a server
Definition:
vtkSMProxy.h:140
pqPropertyWidget.h
Generated by
1.8.17 on Wed Mar 27 2024