src
paraview-5.12
Qt
Components
pqExpressionsDialog.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 pqExpressionsDialog
6
#define pqExpressionsDialog
7
8
#include "pqComponentsModule.h"
9
#include <QDialog>
10
11
#include <memory>
// for unique_ptr
12
35
class
PQCOMPONENTS_EXPORT
pqExpressionsManagerDialog
:
public
QDialog
36
{
37
typedef
QDialog Superclass;
38
Q_OBJECT
39
40
public
:
41
pqExpressionsManagerDialog
(QWidget* parent,
const
QString& group =
""
);
42
~
pqExpressionsManagerDialog
()
override
;
43
44
Q_SIGNALS:
// NOLINT(readability-redundant-access-specifiers)
48
void
expressionSelected(
const
QString& expr);
49
50
protected
Q_SLOTS:
55
void
addNewExpression();
56
60
void
removeSelectedExpressions();
64
void
removeAllExpressions();
65
69
void
onClose();
70
75
void
updateUi();
76
80
void
filterGroup();
81
83
87
void
exportToFile();
88
bool
importFromFile();
90
95
void
onUseCurrent();
96
100
void
keyReleaseEvent(QKeyEvent* event)
override
;
101
105
void
save
();
106
107
private
:
108
Q_DISABLE_COPY(
pqExpressionsManagerDialog
)
109
110
class
pqInternals;
111
std::unique_ptr<pqInternals> Internals;
112
};
113
114
#endif
save
void save(Archiver &ar, const vtkUnicodeString &str, const unsigned int vtkNotUsed(version))
pqExpressionsManagerDialog
pqExpressionsManagerDialog is a dialog class to edit and export expressions.
Definition:
pqExpressionsDialog.h:35
Generated by
1.8.17 on Wed Mar 27 2024