src
paraview-5.12
Qt
Components
pqSMSignalAdaptors.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 pqSMSignalAdaptors_h
6
#define pqSMSignalAdaptors_h
7
8
#include "pqComponentsModule.h"
9
#include <QObject>
10
#include <QVariant>
11
class
pqProxy
;
12
16
class
PQCOMPONENTS_EXPORT
pqSignalAdaptorProxy
:
public
QObject
17
{
18
Q_OBJECT
19
Q_PROPERTY(QVariant proxy READ proxy WRITE setProxy)
20
public
:
25
pqSignalAdaptorProxy
(QObject* p,
const
char
* Property,
const
char
* signal);
29
QVariant proxy()
const
;
30
Q_SIGNALS:
34
void
proxyChanged(
const
QVariant&);
35
public
Q_SLOTS:
39
void
setProxy(
const
QVariant&);
40
protected
Q_SLOTS:
41
void
handleProxyChanged();
42
43
protected
:
// NOLINT(readability-redundant-access-specifiers)
44
QByteArray
PropertyName
;
45
};
46
47
#endif
pqSignalAdaptorProxy::PropertyName
QByteArray PropertyName
Definition:
pqSMSignalAdaptors.h:44
pqSignalAdaptorProxy
signal adaptor to allow getting/setting/observing of a pseudo vtkSMProxy property
Definition:
pqSMSignalAdaptors.h:16
pqProxy
This class represents any registered Server Manager proxy.
Definition:
pqProxy.h:28
Generated by
1.8.17 on Wed Mar 27 2024