From 267f053e35b42eecdb1046e5cc86634f830ed8a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Couble?= <timothee.couble@kitware.com> Date: Wed, 7 Sep 2022 09:32:58 +0200 Subject: [PATCH] [feat] Add more PlayerController python binding --- ApplicationComponents/lqPythonQtDecorators.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ApplicationComponents/lqPythonQtDecorators.h b/ApplicationComponents/lqPythonQtDecorators.h index da004deee..852c687bd 100644 --- a/ApplicationComponents/lqPythonQtDecorators.h +++ b/ApplicationComponents/lqPythonQtDecorators.h @@ -105,6 +105,23 @@ public slots: } void onPause(lqPlayerControlsToolbar* toolbar) { toolbar->getController()->onPause(); } void onPlay(lqPlayerControlsToolbar* toolbar) { toolbar->getController()->onPlay(); } + void onSpeedChange(lqPlayerControlsToolbar* toolbar, double speed) + { + toolbar->getController()->onSpeedChange(speed); + } + void onSeekFrame(lqPlayerControlsToolbar* toolbar, int index) + { + toolbar->getController()->onSeekFrame(index); + } + void onSeekTime(lqPlayerControlsToolbar* toolbar, double time) + { + toolbar->getController()->onSeekTime(time); + } + void onNextFrame(lqPlayerControlsToolbar* toolbar) { toolbar->getController()->onNextFrame(); } + void onPreviousFrame(lqPlayerControlsToolbar* toolbar) + { + toolbar->getController()->onPreviousFrame(); + } // lqSensorListWidget lqSensorListWidget* static_lqSensorListWidget_instance() -- GitLab