pqDisplayPanel.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 pqDisplayPanel_h
5 #define pqDisplayPanel_h
6 
7 #include "pqComponentsModule.h"
8 #include "pqRepresentation.h"
9 #include <QPointer>
10 #include <QWidget>
11 
16 class PQCOMPONENTS_EXPORT pqDisplayPanel : public QWidget
17 {
18  Q_OBJECT
19 public:
23  pqDisplayPanel(pqRepresentation* Representation, QWidget* p = nullptr);
27  ~pqDisplayPanel() override;
28 
32  pqRepresentation* getRepresentation();
33 
34 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
39  virtual void reloadGUI();
40 
44  virtual void updateAllViews();
45 
49  virtual void dataUpdated();
50 
51 protected:
52  QPointer<pqRepresentation> Representation;
53 };
54 
55 #endif
Widget which provides an editor for the properties of a representation.
#define PQCOMPONENTS_EXPORT
QPointer< pqRepresentation > Representation
This is PQ representation for a single representation.