VAPOR3
3.9.4
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Variables
Typedefs
Enumerations
Enumerator
a
f
g
m
n
o
p
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class 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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
c
d
e
f
g
h
l
m
o
p
r
s
t
v
x
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
_
c
d
f
o
p
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Functions
_
c
d
h
m
o
p
r
u
v
Variables
Typedefs
Enumerations
Enumerator
a
c
h
p
r
s
t
u
v
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
apps
vaporgui
PButton.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
PWidget.h
"
4
#include <functional>
5
6
class
VPushButton
;
7
14
15
class
PButton
:
public
PWidget
{
16
typedef
std::function<void(
VAPoR::ParamsBase
*)> Callback;
17
VPushButton
* _button;
18
const
Callback _cb;
19
bool
_disableUndo =
false
;
20
21
public
:
22
PButton
(std::string label, Callback cb);
23
// @copydoc VAPoR::ParamsMgr::SetSaveStateUndoEnabled(bool)
24
PButton
*
DisableUndo
();
25
26
protected
:
27
void
updateGUI
()
const override
{}
28
bool
requireParamsMgr
()
const override
{
return
_disableUndo; }
29
30
private
:
31
void
clicked();
32
};
PWidget.h
PButton
PWidget wrapper for VPushButton.
Definition:
PButton.h:15
PButton::requireParamsMgr
bool requireParamsMgr() const override
Definition:
PButton.h:28
PButton::DisableUndo
PButton * DisableUndo()
PButton::updateGUI
void updateGUI() const override
Definition:
PButton.h:27
PButton::PButton
PButton(std::string label, Callback cb)
PWidget
Definition:
PWidget.h:24
VAPoR::ParamsBase
Nodes with state in Xml tree representation.
Definition:
ParamsBase.h:50
VPushButton
Definition:
VPushButton.h:15
Generated by
1.9.6