pqLinksManager.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 
5 #ifndef pqLinksManager_h
6 #define pqLinksManager_h
7 
8 #include <QDialog>
9 #include <QModelIndex>
10 #include <QScopedPointer>
11 
12 #include "pqComponentsModule.h"
13 
14 namespace Ui
15 {
16 class pqLinksManager;
17 }
21 class PQCOMPONENTS_EXPORT pqLinksManager : public QDialog
22 {
23  Q_OBJECT
24  typedef QDialog base;
25 
26 public:
30  pqLinksManager(QWidget* p = nullptr);
34  ~pqLinksManager() override;
35 
36 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
40  void addLink();
44  void editLink();
48  void removeLink();
49 
50 private Q_SLOTS:
51  void selectionChanged(const QModelIndex& idx);
52 
53 private: // NOLINT(readability-redundant-access-specifiers)
54  QScopedPointer<Ui::pqLinksManager> Ui;
55 };
56 
57 #endif
#define PQCOMPONENTS_EXPORT
dialog for viewing, creating, editing, removing proxy/property/camera links