pqComparativeContextView.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 pqComparativeContextView_h
5 #define pqComparativeContextView_h
6 
7 #include "pqContextView.h"
8 #include <QPointer>
9 
11 
17 {
18  Q_OBJECT
19  typedef pqContextView Superclass;
20 
21 public:
22  ~pqComparativeContextView() override;
23 
28  vtkContextView* getVTKContextView() const override;
29 
34 
38  vtkSMComparativeViewProxy* getComparativeViewProxy() const;
39 
43  virtual vtkSMViewProxy* getViewProxy() const;
44 
45 protected Q_SLOTS:
49  void updateViewWidgets();
50 
51 protected: // NOLINT(readability-redundant-access-specifiers)
55  QWidget* createWidget() override;
56 
66  pqComparativeContextView(const QString& type, const QString& group, const QString& name,
67  vtkSMComparativeViewProxy* view, pqServer* server, QObject* parent = nullptr);
68 
69  QPointer<QWidget> Widget;
70 
71 private:
72  Q_DISABLE_COPY(pqComparativeContextView)
73 
74  class pqInternal;
75  pqInternal* Internal;
76 };
77 
78 #endif
virtual vtkContextView * getVTKContextView() const
Returns the internal vtkContextView which provides the implementation for the chart rendering...
type
virtual vtkSMContextViewProxy * getContextViewProxy() const
Returns the context view proxy associated with this object.
pqContextView is an abstract base class for all charting views based on the VTK context charting libr...
Definition: pqContextView.h:19
Superclass for all view proxies.
vtkSMViewProxy * getViewProxy() const
Returns the internal render Module proxy associated with this object.
name
QWidget * createWidget() override
Creates a new instance of the QWidget subclass to be used to show this view.
The abstract base class for comparative chart views.
view for comparative visualization/ film-strips.
#define PQCORE_EXPORT
Definition: pqCoreModule.h:15
abstract base class for all Chart Views.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition: pqServer.h:35