pqQuickLaunchDialog.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 pqQuickLaunchDialog_h
5 #define pqQuickLaunchDialog_h
6 
7 #include "pqWidgetsModule.h"
8 
9 #include "vtkParaViewDeprecation.h" // for PARAVIEW_DEPRECATED_IN_5_13_0
10 
11 #include <QAction>
12 #include <QDialog>
13 
19  "Please use pqQuickLaunchDialogExtended instead") PQWIDGETS_EXPORT pqQuickLaunchDialog
20  : public QDialog
21 {
22  Q_OBJECT
23  typedef QDialog Superclass;
24 
25 public:
26  pqQuickLaunchDialog(QWidget* parent = nullptr);
27  ~pqQuickLaunchDialog() override;
28 
33  void setActions(const QList<QAction*>& actions);
34 
39  void addActions(const QList<QAction*>& actions);
40 
44  bool quickApply();
45 
46 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
50  void accept() override;
51 
52 protected Q_SLOTS:
57  void currentRowChanged(int);
58 
59 protected: // NOLINT(readability-redundant-access-specifiers)
63  bool eventFilter(QObject* watched, QEvent* event) override;
64 
68  void updateSearch();
69 
70 private:
71  Q_DISABLE_COPY(pqQuickLaunchDialog)
72 
73  class pqInternal;
74  pqInternal* Internal;
75 };
76 
77 #endif
#define PARAVIEW_DEPRECATED_IN_5_13_0(reason)
A borderless pop-up dialog used to show actions that the user can launch.
: A pop-up dialog used to browse and create proxies.