MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
QmitkNavigationDataPlayerControlWidget.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13#ifndef QmitkNavigationDataPlayerControlWidget_h
14#define QmitkNavigationDataPlayerControlWidget_h
15
16#include <QWidget>
18#include "MitkIGTUIExports.h"
19
20class QTimer;
21
25
26class MITKIGTUI_EXPORT QmitkNavigationDataPlayerControlWidget : public QWidget
27{
28 Q_OBJECT
29
30signals:
33
34public slots:
35 void OnStop();
36 void OnPlayPause();
37 void OnRestart();
38
39protected slots:
40 void OnUpdate();
41
42public:
43 explicit QmitkNavigationDataPlayerControlWidget(QWidget *parent = nullptr);
45
46 void SetPlayer(mitk::NavigationDataPlayer::Pointer player);
47
48private:
49 void ResetPlayerDisplay();
50
51 mitk::NavigationDataPlayer::Pointer m_Player;
52
53 QTimer* m_UpdateTimer;
54
55 Ui::QmitkNavigationDataPlayerControlWidget *ui;
56};
57
58#endif