Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkPrimitiveMovieNavigatorWidget.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QMITKPRIMITIVEMOVIENAVIGATORWIDGET_H_
18 #define QMITKPRIMITIVEMOVIENAVIGATORWIDGET_H_
19 
21 #include <QTimer>
22 #include <QWidget>
23 #include <ui_QmitkPrimitiveMovieNavigatorWidget.h>
24 
26 {
27  Q_OBJECT
28 
29 public:
30  QmitkPrimitiveMovieNavigatorWidget(QWidget *parent = nullptr, Qt::WindowFlags fl = nullptr);
32 
33  virtual int getTimerInterval();
34 
35 public slots:
36  virtual void Refetch();
37  virtual void SetStepper(mitk::Stepper *stepper);
38  virtual void goButton_clicked();
39  virtual void stopButton_clicked();
40  virtual void spinBoxValueChanged(int value);
41  virtual void setTimerInterval(int timerIntervalInMS);
42 
43 protected:
44  Ui::QmitkPrimitiveMovieNavigator m_Controls;
47  QTimer *m_Timer;
49 
50 private slots:
51  virtual void next();
52 };
53 
54 #endif
#define MITKQTWIDGETSEXT_EXPORT
Helper class to step through a list.
Definition: mitkStepper.h:51