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
Widgets
pqHighlightableToolButton.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 pqHighlightableToolButton_h
5
#define pqHighlightableToolButton_h
6
7
#include "
pqWidgetsModule.h
"
8
#include <QPalette>
9
#include <QToolButton>
10
18
class
PQWIDGETS_EXPORT
pqHighlightableToolButton
:
public
QToolButton
19
{
20
Q_OBJECT
21
typedef
QToolButton Superclass;
22
23
public
:
24
pqHighlightableToolButton
(QWidget* parent =
nullptr
);
25
~
pqHighlightableToolButton
()
override
;
26
27
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
31
void
highlight(
bool
clear =
false
);
32
void
clear
() { this->highlight(
true
); }
33
34
private
:
35
Q_DISABLE_COPY(
pqHighlightableToolButton
);
36
QPalette ResetPalette;
37
};
38
39
#endif
pqWidgetsModule.h
pqHighlightableToolButton
QToolButton with ability to highlight the button.
Definition:
pqHighlightableToolButton.h:18
PQWIDGETS_EXPORT
#define PQWIDGETS_EXPORT
Definition:
pqWidgetsModule.h:15
pqHighlightableToolButton::clear
void clear()
Definition:
pqHighlightableToolButton.h:32
Generated by
1.8.13 on Wed Apr 23 2025