pqChangeInputDialog.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 pqChangeInputDialog_h
5 #define pqChangeInputDialog_h
6 
7 #include "pqComponentsModule.h"
8 #include <QDialog>
9 #include <QList>
10 #include <QMap>
11 
12 class pqOutputPort;
13 class vtkSMProxy;
14 
21 {
22  Q_OBJECT
23  typedef QDialog Superclass;
24 
25 public:
33  pqChangeInputDialog(vtkSMProxy* filterProxy, QWidget* parent = nullptr);
34  ~pqChangeInputDialog() override;
35 
43  const QMap<QString, QList<pqOutputPort*>>& selectedInputs() const;
44 
45 protected Q_SLOTS:
46  void inputPortToggled(bool);
47  void selectionChanged();
48 
49 protected: // NOLINT(readability-redundant-access-specifiers)
50  void buildPortWidgets();
51 
52 private:
53  Q_DISABLE_COPY(pqChangeInputDialog)
54 
55  class pqInternals;
56  pqInternals* Internals;
57 };
58 
59 #endif
pqOutputPort is a server manager model item for an output port of any pqPipelineSource item...
Definition: pqOutputPort.h:29
#define PQCOMPONENTS_EXPORT
pqChangeInputDialog is the dialog used to allow the user to change/set the input(s) for a filter...
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140