Inherits MLABSimpleWidgetControl.
Public Slots | |
Scripting access | |
| double | currentPosition () |
| double | duration () |
| void | next () |
| void | pause () |
| void | play () |
| void | previous () |
| void | setAutoStart (bool flag) |
| void | setEnableContextMenu (bool flag) |
| void | setFilename (const QString &filename) |
| void | setLoop (bool flag) |
| void | setPosition (double time) |
| void | setShowControls (bool flag) |
| void | stop () |
The control can be controlled via scripting.
MDL reference: MoviePlayer
| double MLABMoviePlayerControl::currentPosition | ( | ) | [slot] |
get the position
| double MLABMoviePlayerControl::duration | ( | ) | [slot] |
get duration of the movie
| void MLABMoviePlayerControl::next | ( | ) | [slot] |
next frame
| void MLABMoviePlayerControl::pause | ( | ) | [slot] |
pause the movie
| void MLABMoviePlayerControl::play | ( | ) | [slot] |
play the movie
| void MLABMoviePlayerControl::previous | ( | ) | [slot] |
prev frame
| void MLABMoviePlayerControl::setAutoStart | ( | bool | flag | ) | [slot] |
set if the movie is automatically started after setFilename
| void MLABMoviePlayerControl::setEnableContextMenu | ( | bool | flag | ) | [slot] |
enables the context menu
| void MLABMoviePlayerControl::setFilename | ( | const QString & | filename | ) | [slot] |
set the movie to be shown
| void MLABMoviePlayerControl::setLoop | ( | bool | flag | ) | [slot] |
set looping of the movie (AutoRewind)
| void MLABMoviePlayerControl::setPosition | ( | double | time | ) | [slot] |
set the movie players postion
| void MLABMoviePlayerControl::setShowControls | ( | bool | flag | ) | [slot] |
set if controls are visible
| void MLABMoviePlayerControl::stop | ( | ) | [slot] |
stop the movie
1.5.8