pqComparativeVisPanel.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 pqComparativeVisPanel_h
5 #define pqComparativeVisPanel_h
6 
7 #include "pqComponentsModule.h"
8 #include <QWidget>
9 
10 class pqView;
11 class vtkSMProxy;
12 class vtkSMProperty;
14 
21 {
22  Q_OBJECT
23  typedef QWidget Superclass;
24 
25 public:
26  pqComparativeVisPanel(QWidget* parent = nullptr);
27  ~pqComparativeVisPanel() override;
28 
32  pqView* view() const;
33 
34 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
40  void setView(pqView*);
41 
42 protected Q_SLOTS:
46  void addParameter();
47 
51  void updateParametersList();
52 
56  void parameterSelectionChanged();
57 
58  void sizeUpdated();
59 
63  void removeParameter(int index);
64 
65 protected: // NOLINT(readability-redundant-access-specifiers)
69  int findRow(vtkSMProxy* animatedProxy, const QString& animatedPName, int animatedIndex);
70 
71 private:
72  Q_DISABLE_COPY(pqComparativeVisPanel)
73 
74  vtkEventQtSlotConnect* VTKConnect;
75  class pqInternal;
76  pqInternal* Internal;
77 };
78 
79 #endif
#define PQCOMPONENTS_EXPORT
superclass for all SM properties
This is a PQ abstraction of a generic view module.
Definition: pqView.h:26
pqComparativeVisPanel is a properties page for the comparative view.
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
index