Qt
Widgets
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 <QAction>
10
#include <QDialog>
11
16
class
PQWIDGETS_EXPORT
pqQuickLaunchDialog
:
public
QDialog
17
{
18
Q_OBJECT
19
typedef
QDialog Superclass;
20
21
public
:
22
pqQuickLaunchDialog
(QWidget* parent =
nullptr
);
23
~
pqQuickLaunchDialog
()
override
;
24
29
void
setActions(
const
QList<QAction*>& actions);
30
35
void
addActions(
const
QList<QAction*>& actions);
36
40
bool
quickApply();
41
42
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
46
void
accept()
override
;
47
48
protected
Q_SLOTS:
53
void
currentRowChanged(
int
);
54
55
protected
:
// NOLINT(readability-redundant-access-specifiers)
59
bool
eventFilter(QObject* watched, QEvent* event)
override
;
60
64
void
updateSearch();
65
66
private
:
67
Q_DISABLE_COPY(
pqQuickLaunchDialog
)
68
69
class
pqInternal;
70
pqInternal* Internal;
71
};
72
73
#endif
pqWidgetsModule.h
pqQuickLaunchDialog
A borderless pop-up dialog used to show actions that the user can launch.
Definition:
pqQuickLaunchDialog.h:16
PQWIDGETS_EXPORT
#define PQWIDGETS_EXPORT
Definition:
pqWidgetsModule.h:15
Generated by
1.8.13 on Thu Mar 28 2024