Qt
Components
pqExpressionsWidget.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 pqExpressionsWidget_h
5
#define pqExpressionsWidget_h
6
7
#include "
pqComponentsModule.h
"
8
#include <QWidget>
9
10
class
pqOneLinerTextEdit
;
11
17
class
PQCOMPONENTS_EXPORT
pqExpressionsWidget
:
public
QWidget
18
{
19
Q_OBJECT
20
typedef
QWidget Superclass;
21
22
public
:
23
pqExpressionsWidget
(QWidget* parent =
nullptr
,
const
QString& groupName =
""
);
24
~
pqExpressionsWidget
()
override
=
default
;
25
29
pqOneLinerTextEdit
* lineEdit();
30
34
void
setupButtons(
const
QString& groupName);
35
36
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
40
void
clear();
41
42
private
:
43
Q_DISABLE_COPY(
pqExpressionsWidget
)
44
45
pqOneLinerTextEdit
* OneLiner;
46
};
47
48
#endif
pqComponentsModule.h
PQCOMPONENTS_EXPORT
#define PQCOMPONENTS_EXPORT
Definition:
pqComponentsModule.h:15
pqOneLinerTextEdit
pqOneLinerTextEdit is a specialization of pqTextEdit to handle one-liner expressions.
Definition:
pqOneLinerTextEdit.h:18
pqExpressionsWidget
pqExpressionsWidget is a widget to edit expression.
Definition:
pqExpressionsWidget.h:17
Generated by
1.8.13 on Tue Oct 1 2024