wonambi.widgets.video module
Module to show video, if the file format supports it.
- class wonambi.widgets.video.Video(parent)[source]
Bases:
QWidget
Widget containing the movie, if available.
- parent
the main window.
- Type:
instance of QMainWindow
- beg_diff
time in ms of the beginning of the first video
- Type:
float
- end_diff
time in ms of the end of the last video
- Type:
float
- cnt_video
index of the current mediasource
- Type:
int
- n_video
total number of videos to play
- Type:
int
- video
the video to show.
- Type:
instance of MediaObject
- idx_button
button which starts and stops the video.
- Type:
instance of QPushButton