pqSelectionQueryPropertyWidget.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 pqSelectionQueryPropertyWidget_h
5 #define pqSelectionQueryPropertyWidget_h
6 
8 #include "pqPropertyWidget.h"
9 
10 #include <QScopedPointer> // for QScopedPointer.
11 #include <QStringList>
12 
31 {
32  Q_OBJECT
34 
35  Q_PROPERTY(QString query READ query WRITE setQuery NOTIFY queryChanged);
36 
37 public:
39  vtkSMProxy* proxy, vtkSMProperty* property, QWidget* parent = nullptr);
41 
43 
46  void setQuery(const QString&);
47  const QString& query() const;
49 
50 Q_SIGNALS:
51  void queryChanged();
52 
53 private:
54  Q_DISABLE_COPY(pqSelectionQueryPropertyWidget);
55 
56  class pqInternals;
57  QScopedPointer<pqInternals> Internals;
58 
59  class pqValueWidget;
60  class pqQueryWidget;
61 
62  friend class pqInternals;
63  friend class pqValueWidget;
64  friend class pqQueryWidget;
65 };
66 
67 #endif
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
#define PQAPPLICATIONCOMPONENTS_EXPORT
superclass for all SM properties
property-widget for creating selection queries.
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140