Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
c
f
g
i
l
m
n
p
q
r
s
t
v
w
+
Functions
c
g
l
m
n
p
q
r
s
t
v
+
Variables
_
l
m
q
v
Typedefs
Enumerations
+
Enumerator
a
c
g
l
m
n
p
q
r
s
t
v
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
2
3
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
g
i
l
m
n
p
q
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Related Functions
:
a
b
c
d
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
+
Typedefs
b
c
g
i
k
m
n
o
p
q
s
u
v
z
Enumerations
+
Enumerator
c
k
v
x
y
z
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Qt
Python
pqPythonLineNumberArea.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 pqPythonLineNumberArea_h
6
#define pqPythonLineNumberArea_h
7
8
#include "
pqPythonModule.h
"
9
10
#include <QWidget>
11
12
class
QTextEdit;
13
26
class
PQPYTHON_EXPORT
pqPythonLineNumberArea
:
public
QWidget
27
{
28
Q_OBJECT
29
30
public
:
31
/* @brief Constructs a pqPythonLineNumberArea given a text
32
* @param parent the parent widget for the Qt ownership
33
* @param text the text to display the line from
34
*/
35
explicit
pqPythonLineNumberArea
(QWidget* parent,
const
QTextEdit& text)
36
: QWidget(parent)
37
, TextEdit(text)
38
{
39
}
40
44
QSize sizeHint()
const override
;
45
46
protected
:
54
void
paintEvent(QPaintEvent* event)
override
;
55
56
private
:
60
const
QTextEdit& TextEdit;
61
};
62
63
#endif // pqPythonLineNumberArea_h
PQPYTHON_EXPORT
#define PQPYTHON_EXPORT
Definition:
pqPythonModule.h:15
pqPythonLineNumberArea::pqPythonLineNumberArea
pqPythonLineNumberArea(QWidget *parent, const QTextEdit &text)
Definition:
pqPythonLineNumberArea.h:35
pqPythonModule.h
pqPythonLineNumberArea
QWidget that displays line number for a QTextEdit.
Definition:
pqPythonLineNumberArea.h:26
Generated by
1.8.13 on Wed Apr 23 2025