MLABMoviePlayerControl Class Reference
[GUI Controls]

Movie Player widget that can show movie files as an embedded viewer. More...

Inherits MLABSimpleWidgetControl.

List of all members.

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 ()


Detailed Description

Movie Player widget that can show movie files as an embedded viewer.

The control can be controlled via scripting.

MDL reference: MoviePlayer


Member Function Documentation

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


Generated on Sat Sep 3 18:38:03 2011 for MeVisLab Scripting Reference by  doxygen 1.5.8