pqCustomizeShortcutsDialog.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 pqCustomizeShortcutsDialog_h
5 #define pqCustomizeShortcutsDialog_h
6 
7 #include <QDialog>
8 
9 class pqCustomizeShortcutsDialog : public QDialog
10 {
11  Q_OBJECT
12  typedef QDialog Superclass;
13 
14 public:
15  pqCustomizeShortcutsDialog(QWidget* p = nullptr);
16  ~pqCustomizeShortcutsDialog() override;
17 
18  static QString getActionName(QAction* action);
19 
20 private Q_SLOTS:
21  void onEditingFinished();
22  void onSelectionChanged();
23  void onClearShortcut();
24  void onResetShortcut();
25  void onResetAll();
26 
27 private: // NOLINT(readability-redundant-access-specifiers)
28  Q_DISABLE_COPY(pqCustomizeShortcutsDialog);
29 
30  class pqInternals;
31  const QScopedPointer<pqInternals> Internals;
32 };
33 
34 #endif
static QString getActionName(QAction *action)
~pqCustomizeShortcutsDialog() override
pqCustomizeShortcutsDialog(QWidget *p=nullptr)