Loading...
Searching...
No Matches
snapShotVisualisation.h
Go to the documentation of this file.
#ifndef BALL_VIEW_DIALOG_SNAPSHOTVISUALISATIONDIALOG_H
#define BALL_VIEW_DIALOG_SNAPSHOTVISUALISATIONDIALOG_H
#ifndef BALL_COMMON_GLOBAL_H
# include <BALL/COMMON/global.h>
#endif
#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
#include <BALL/VIEW/KERNEL/modularWidget.h>
#endif
#include <BALL/VIEW/UIC/ui_snapShotVisualisation.h>
#include <QtWidgets/QDialog>
namespace BALL
{
class SnapShotManager;
namespace VIEW
{
class BALL_VIEW_EXPORT SnapshotVisualisationDialog
: public QDialog,
public Ui_SnapshotVisualisationDialogData,
public ModularWidget
{
Q_OBJECT
public:
BALL_EMBEDDABLE(SnapshotVisualisationDialog, ModularWidget)
SnapshotVisualisationDialog(QWidget* parent = 0, const char* name = "SnapshotVisualisationDialog");
~SnapshotVisualisationDialog();
void setSnapShotManager(SnapShotManager* snapshot_manager);
const SnapShotManager* getSnapShotManager() {return snap_shot_manager_;}
Size getStartSnapshot() const;
Size getEndSnapshot() const;
public Q_SLOTS:
void show();
virtual void firstSnapshotClicked();
virtual void oneForwardClicked();
virtual void oneBackwardClicked();
virtual void tenForwardClicked();
virtual void tenBackwardClicked();
virtual void hundredForwardClicked();
virtual void hundredBackwardClicked();
virtual void lastSnapshotClicked();
virtual void animateClicked();
virtual void snapShotInputTest();
virtual void sliderMovedToPos();
virtual void animationSpeedChanged();
virtual void checkNoLoop();
virtual void checkLoop();
virtual void checkRock();
void cancelPressed();
protected Q_SLOTS:
void sliderDragStarted_();
void sliderDragEnded_();
protected:
void stop_();
virtual void closeEvent(QCloseEvent*);
void update_();
void forward(Size nr);
void backward(Size nr);
MainControl* main_control_;
QString tmp_;
SnapShotManager* snap_shot_manager_;
bool error_;
bool cancel_;
bool animation_running_;
bool drag_;
};
} } // namespaces
#endif //BALL_VIEW_DIALOG_SNAPSHOTVISUALISATIONDIALOG_H
global.h
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
BALL::SnapShotManager
Definition snapShotManager.h:34
BALL::VIEW::MainControl
Definition mainControl.h:118
BALL::VIEW::ModularWidget::ModularWidget
ModularWidget(const char *name="<ModularWidget>")
BALL::VIEW::SnapshotVisualisationDialog::checkLoop
virtual void checkLoop()
BALL::VIEW::SnapshotVisualisationDialog::checkNoLoop
virtual void checkNoLoop()
BALL::VIEW::SnapshotVisualisationDialog::main_control_
MainControl * main_control_
Definition snapShotVisualisation.h:123
BALL::VIEW::SnapshotVisualisationDialog::oneBackwardClicked
virtual void oneBackwardClicked()
Function to select the analogous Snapshot.
BALL::VIEW::SnapshotVisualisationDialog::error_
bool error_
Definition snapShotVisualisation.h:126
BALL::VIEW::SnapshotVisualisationDialog::snapShotInputTest
virtual void snapShotInputTest()
test wether input in line edits startSnapshot or endSnapshot are valid
BALL::VIEW::SnapshotVisualisationDialog::sliderDragEnded_
void sliderDragEnded_()
BALL::VIEW::SnapshotVisualisationDialog::tmp_
QString tmp_
Definition snapShotVisualisation.h:124
BALL::VIEW::SnapshotVisualisationDialog::getStartSnapshot
Size getStartSnapshot() const
BALL::VIEW::SnapshotVisualisationDialog::getSnapShotManager
const SnapShotManager * getSnapShotManager()
This function gets the SnapShotManager.
Definition snapShotVisualisation.h:49
BALL::VIEW::SnapshotVisualisationDialog::lastSnapshotClicked
virtual void lastSnapshotClicked()
Function to select the analogous Snapshot.
BALL::VIEW::SnapshotVisualisationDialog::animateClicked
virtual void animateClicked()
Function to select the analogous Snapshot.
BALL::VIEW::SnapshotVisualisationDialog::sliderDragStarted_
void sliderDragStarted_()
BALL::VIEW::SnapshotVisualisationDialog::SnapshotVisualisationDialog
SnapshotVisualisationDialog(QWidget *parent=0, const char *name="SnapshotVisualisationDialog")
Constructor.
BALL::VIEW::SnapshotVisualisationDialog::forward
void forward(Size nr)
BALL::VIEW::SnapshotVisualisationDialog::oneForwardClicked
virtual void oneForwardClicked()
Function to select the analogous Snapshot.
BALL::VIEW::SnapshotVisualisationDialog::getEndSnapshot
Size getEndSnapshot() const
BALL::VIEW::SnapshotVisualisationDialog::sliderMovedToPos
virtual void sliderMovedToPos()
BALL::VIEW::SnapshotVisualisationDialog::show
void show()
BALL::VIEW::SnapshotVisualisationDialog::closeEvent
virtual void closeEvent(QCloseEvent *)
BALL::VIEW::SnapshotVisualisationDialog::firstSnapshotClicked
virtual void firstSnapshotClicked()
Function to select the analogous Snapshot.
BALL::VIEW::SnapshotVisualisationDialog::checkRock
virtual void checkRock()
BALL::VIEW::SnapshotVisualisationDialog::animationSpeedChanged
virtual void animationSpeedChanged()
BALL::VIEW::SnapshotVisualisationDialog::tenBackwardClicked
virtual void tenBackwardClicked()
Function to select the analogous Snapshot.
BALL::VIEW::SnapshotVisualisationDialog::animation_running_
bool animation_running_
Definition snapShotVisualisation.h:128
BALL::VIEW::SnapshotVisualisationDialog::backward
void backward(Size nr)
BALL::VIEW::SnapshotVisualisationDialog::cancelPressed
void cancelPressed()
BALL::VIEW::SnapshotVisualisationDialog::tenForwardClicked
virtual void tenForwardClicked()
Function to select the analogous Snapshot.
BALL::VIEW::SnapshotVisualisationDialog::cancel_
bool cancel_
Definition snapShotVisualisation.h:127
BALL::VIEW::SnapshotVisualisationDialog::stop_
void stop_()
BALL::VIEW::SnapshotVisualisationDialog::hundredForwardClicked
virtual void hundredForwardClicked()
Function to select the analogous Snapshot.
BALL::VIEW::SnapshotVisualisationDialog::update_
void update_()
BALL::VIEW::SnapshotVisualisationDialog::setSnapShotManager
void setSnapShotManager(SnapShotManager *snapshot_manager)
This function sets the SnapShotManager.
BALL::VIEW::SnapshotVisualisationDialog::hundredBackwardClicked
virtual void hundredBackwardClicked()
Function to select the analogous Snapshot.
BALL::VIEW::SnapshotVisualisationDialog::snap_shot_manager_
SnapShotManager * snap_shot_manager_
Definition snapShotVisualisation.h:125
BALL::VIEW::SnapshotVisualisationDialog::drag_
bool drag_
Definition snapShotVisualisation.h:129
QDialog
QWidget
BALL_EMBEDDABLE
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition embeddable.h:31
modularWidget.h
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13
BALL::Size
BALL_SIZE_TYPE Size
Definition COMMON/global.h:114