pqBlockProxyWidget.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 
4 #ifndef pqBlockProxyWidget_h
5 #define pqBlockProxyWidget_h
6 
7 #include "pqComponentsModule.h"
8 #include "pqProxyWidget.h"
9 
10 #include <QString>
11 
13 {
14  Q_OBJECT
15  typedef pqProxyWidget Superclass;
16 
17 public:
18  pqBlockProxyWidget(vtkSMProxy* proxy, QString selector, QWidget* parent,
19  Qt::WindowFlags flags = Qt::WindowFlags{});
20  ~pqBlockProxyWidget() override;
21 
22 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
23  void apply() const override;
24 
25 protected Q_SLOTS:
26  void onChangeFinished() override;
27 
28 private:
29  QString Selector;
30 };
31 
32 #endif // pqBlockProxyWidget_h
#define PQCOMPONENTS_EXPORT
virtual void onChangeFinished()
Called when a pqPropertyWidget fires changeFinished() signal.
virtual void apply() const
Accepts the property widget changes changes.
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
pqProxyWidget represents a panel for a vtkSMProxy.
Definition: pqProxyWidget.h:31