BALL  1.5.0
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
10 #endif
11 
12 #include <BALL/VIEW/UIC/ui_snapShotVisualisation.h>
13 
14 #include <QtWidgets/QDialog>
15 
16 namespace BALL
17 {
18  class SnapShotManager;
19 
20  namespace VIEW
21  {
22 
29  : public QDialog,
30  public Ui_SnapshotVisualisationDialogData,
31  public ModularWidget
32 {
33  Q_OBJECT
34 
35  public:
36 
38 
39 
41 
44 
46  void setSnapShotManager(SnapShotManager* snapshot_manager);
47 
49  const SnapShotManager* getSnapShotManager() {return snap_shot_manager_;}
50 
53 
56 
57  public Q_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 
109 
110  protected Q_SLOTS:
111 
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 
124  QString tmp_;
126  bool error_;
127  bool cancel_;
129  bool drag_;
130 };
131 
132 } } // namespaces
133 
134 #endif //BALL_VIEW_DIALOG_SNAPSHOTVISUALISATIONDIALOG_H
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition: embeddable.h:31
Definition: constants.h:13
virtual void oneBackwardClicked()
Function to select the analogous Snapshot.
virtual void snapShotInputTest()
test wether input in line edits startSnapshot or endSnapshot are valid
virtual void lastSnapshotClicked()
Function to select the analogous Snapshot.
virtual void animateClicked()
Function to select the analogous Snapshot.
virtual void oneForwardClicked()
Function to select the analogous Snapshot.
virtual void closeEvent(QCloseEvent *)
virtual void firstSnapshotClicked()
Function to select the analogous Snapshot.
virtual void tenBackwardClicked()
Function to select the analogous Snapshot.
virtual void tenForwardClicked()
Function to select the analogous Snapshot.
virtual void hundredForwardClicked()
Function to select the analogous Snapshot.
virtual void hundredBackwardClicked()
Function to select the analogous Snapshot.
#define BALL_VIEW_EXPORT
Definition: COMMON/global.h:52