13 #ifndef QmitkOpenCVVideoControls_h
14 #define QmitkOpenCVVideoControls_h
16 #include <ui_QmitkOpenCVVideoControls.h>
17 #include <MitkOpenCVVideoSupportUIExports.h>
20 #include <opencv2/core.hpp>
21 #include <opencv2/core/types_c.h>
28 class OpenCVVideoSource;
31 class QmitkOpenCVVideoControlsPrivate;
47 , QWidget* parent =
nullptr, Qt::WindowFlags f =
nullptr);
83 void NewOpenCVFrameAvailable(
const IplImage*);
86 void on_UseGrabbingDeviceButton_clicked(
bool checked =
false);
87 void on_UseVideoFileButton_clicked(
bool checked =
false);
88 void on_VideoProgressSlider_sliderPressed();
89 void on_VideoProgressSlider_sliderReleased();
90 void on_VideoProgressSlider_valueChanged(
int value);
91 void on_RepeatVideoButton_clicked(
bool checked =
false);
92 void on_PlayButton_clicked(
bool checked =
false);
93 void on_StopButton_clicked(
bool checked =
false);
97 void IsPlaying(
bool paused);
98 void QObjectDestroyed(QObject * obj =
nullptr);
112 friend class QmitkOpenCVVideoControlsPrivate;
114 QScopedPointer<QmitkOpenCVVideoControlsPrivate> d;