Choreonoid
1.8
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Variables
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
p
q
r
s
t
v
w
z
Enumerations
Enumerator
a
b
c
d
f
g
i
k
l
m
n
p
s
t
u
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
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
i
l
n
p
r
s
t
u
v
Enumerations
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Properties
Related Functions
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
v
w
y
Files
File List
File Members
All
Functions
Variables
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Base
Dialog.h
Go to the documentation of this file.
1
5
#ifndef CNOID_BASE_DIALOG_H
6
#define CNOID_BASE_DIALOG_H
7
8
#include <cnoid/Signal>
9
#include <QDialog>
10
#include "exportdecl.h"
11
12
namespace
cnoid
{
13
14
class
CNOID_EXPORT
Dialog
:
public
QDialog
15
{
16
Q_OBJECT
17
18
public
:
19
Dialog
();
20
Dialog
(QWidget* parent, Qt::WindowFlags f = Qt::WindowFlags());
21
22
SignalProxy
<void()>
sigAccepted
() {
23
return
sigAccepted_;
24
}
25
SignalProxy
<void(
int
)>
sigFinished
() {
26
return
sigFinished_;
27
}
28
SignalProxy
<void()>
sigRejected
() {
29
return
sigRejected_;
30
}
31
32
protected
:
33
virtual
void
onAccepted();
34
virtual
void
onRejected();
35
36
private
Q_SLOTS:
37
void
onSigAccepted();
38
void
onSigFinished(
int
result);
39
void
onSigRejected();
40
41
private
:
42
Signal
<void()> sigAccepted_;
43
Signal
<void(
int
)> sigFinished_;
44
Signal
<void()> sigRejected_;
45
46
void
initialize();
47
};
48
49
}
50
51
#endif
cnoid::Dialog
Definition:
Dialog.h:14
cnoid
Definition:
AbstractSceneLoader.h:11
cnoid::Dialog::sigFinished
SignalProxy< void(int)> sigFinished()
Definition:
Dialog.h:25
cnoid::Signal
Definition:
Signal.h:165
cnoid::SignalProxy
Definition:
Signal.h:470
cnoid::Dialog::sigAccepted
SignalProxy< void()> sigAccepted()
Definition:
Dialog.h:22
cnoid::Dialog::sigRejected
SignalProxy< void()> sigRejected()
Definition:
Dialog.h:28
Generated by
1.8.17