pqDisplayColor2Widget.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 pqDisplayColor2Widget_h
5 #define pqDisplayColor2Widget_h
6 
7 #include "pqComponentsModule.h"
8 
9 #include <QWidget>
10 
11 #include <memory>
12 
14 
29 {
30  Q_OBJECT
31  using Superclass = QWidget;
32 
33 public:
34  pqDisplayColor2Widget(QWidget* parent = nullptr);
35  ~pqDisplayColor2Widget() override;
36 
40  void setRepresentation(pqDataRepresentation* display);
41 
42 private:
43  Q_DISABLE_COPY(pqDisplayColor2Widget);
44 
45  void onArrayModified();
46 
47  class pqInternals;
48  std::unique_ptr<pqInternals> Internals;
49 };
50 
51 #endif
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
#define PQCOMPONENTS_EXPORT
pqDisplayColor2Widget enables a user to select the array corresponding to the y-axis of a 2D transfer...