BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
DIALOGS
snapShotVisualisation.h
Go to the documentation of this file.
1
#ifndef BALL_VIEW_DIALOG_SNAPSHOTVISUALISATIONDIALOG_H
2
#define BALL_VIEW_DIALOG_SNAPSHOTVISUALISATIONDIALOG_H
3
4
#ifndef BALL_COMMON_GLOBAL_H
5
# include <
BALL/COMMON/global.h
>
6
#endif
7
8
#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
9
#include <
BALL/VIEW/KERNEL/modularWidget.h
>
10
#endif
11
12
#include <BALL/VIEW/UIC/ui_snapShotVisualisation.h>
13
14
#include <QtGui/QDialog>
15
16
namespace
BALL
17
{
18
class
SnapShotManager;
19
20
namespace
VIEW
21
{
22
28
class
BALL_VIEW_EXPORT
SnapshotVisualisationDialog
29
:
public
QDialog
,
30
public
Ui_SnapshotVisualisationDialogData,
31
public
ModularWidget
32
{
33
Q_OBJECT
34
35
public
:
36
37
BALL_EMBEDDABLE
(
SnapshotVisualisationDialog
,
ModularWidget
)
38
39
40
SnapshotVisualisationDialog
(
QWidget
* parent = 0,
const
char
* name =
"SnapshotVisualisationDialog"
);
41
43
~
SnapshotVisualisationDialog
();
44
46
void
setSnapShotManager(
SnapShotManager
* snapshot_manager);
47
49
const
SnapShotManager
*
getSnapShotManager
() {
return
snap_shot_manager_;}
50
52
Size
getStartSnapshot()
const
;
53
55
Size
getEndSnapshot()
const
;
56
57
public
slots:
58
60
void
show();
61
63
virtual
void
firstSnapshotClicked();
64
66
virtual
void
oneForwardClicked();
67
69
virtual
void
oneBackwardClicked();
70
72
virtual
void
tenForwardClicked();
73
75
virtual
void
tenBackwardClicked();
76
78
virtual
void
hundredForwardClicked();
79
81
virtual
void
hundredBackwardClicked();
82
84
virtual
void
lastSnapshotClicked();
85
87
virtual
void
animateClicked();
88
90
virtual
void
snapShotInputTest();
91
93
virtual
void
sliderMovedToPos();
94
96
virtual
void
animationSpeedChanged();
97
99
virtual
void
checkNoLoop();
100
102
virtual
void
checkLoop();
103
105
virtual
void
checkRock();
106
108
void
cancelPressed();
109
110
protected
slots:
111
112
void
sliderDragStarted_();
113
void
sliderDragEnded_();
114
115
protected
:
116
117
void
stop_();
118
virtual
void
closeEvent(QCloseEvent*);
119
void
update_();
120
void
forward(
Size
nr);
121
void
backward(
Size
nr);
122
123
MainControl
*
main_control_
;
124
QString
tmp_
;
125
SnapShotManager
*
snap_shot_manager_
;
126
bool
error_
;
127
bool
cancel_
;
128
bool
animation_running_
;
129
bool
drag_
;
130
};
131
132
} }
// namespaces
133
134
#endif //BALL_VIEW_DIALOG_SNAPSHOTVISUALISATIONDIALOG_H
Generated by
1.8.3.1