pqMultiBlockInspectorWidget.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 pqMultiBlockInspectorWidget_h
5 #define pqMultiBlockInspectorWidget_h
6 
7 #include "pqComponentsModule.h" // for exports
8 #include <QScopedPointer> // for ivar
9 #include <QVariant> // for ivar
10 #include <QWidget>
11 
31 class pqOutputPort;
32 class QModelIndex;
33 
35 {
36  Q_OBJECT
37  typedef QWidget Superclass;
38 
39 public:
41  QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags(), bool autotracking = true);
42  ~pqMultiBlockInspectorWidget() override;
43 
50  bool isAutoTrackingEnabled() const { return this->AutoTracking; }
51 
56  pqOutputPort* outputPort() const;
57 
61  pqDataRepresentation* representation() const;
62 
63 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
71  void setOutputPort(pqOutputPort* port);
72 
79  void setRepresentation(pqDataRepresentation* view);
80 
81 private:
82  Q_DISABLE_COPY(pqMultiBlockInspectorWidget);
83 
84  class pqInternals;
85  QScopedPointer<pqInternals> Internals;
86 
87  bool AutoTracking;
88 };
89 
90 #endif
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
pqOutputPort is a server manager model item for an output port of any pqPipelineSource item...
Definition: pqOutputPort.h:29
#define PQCOMPONENTS_EXPORT
widget to show composite data hierarchy and control its display properties.
port
bool isAutoTrackingEnabled() const
Returns true if tracking of the active objects via pqActiveObjects is enabled.