Poppler Qt5 24.12.0
Public Types | Public Member Functions | List of all members
Poppler::MovieObject Class Reference

#include <poppler-qt5.h>

Public Types

enum  PlayMode { PlayOnce , PlayOpen , PlayRepeat , PlayPalindrome }
 

Public Member Functions

PlayMode playMode () const
 
QImage posterImage () const
 
int rotation () const
 
bool showControls () const
 
bool showPosterImage () const
 
QSize size () const
 
QString url () const
 

Detailed Description

Container class for a movie object in a PDF document.

Since
0.10

Member Enumeration Documentation

◆ PlayMode

The play mode for playing the movie.

Enumerator
PlayOnce 

Play the movie once, closing the movie controls at the end.

PlayOpen 

Like PlayOnce, but leaving the controls open.

PlayRepeat 

Play continuously until stopped.

PlayPalindrome 

Play forward, then backward, then again foward and so on until stopped.

Member Function Documentation

◆ posterImage()

QImage Poppler::MovieObject::posterImage ( ) const

Returns the poster image that should be shown if the movie is not playing.

If the image is null but showImagePoster() returns true, the first frame of the movie should be used as poster image.

Since
0.22

◆ showPosterImage()

bool Poppler::MovieObject::showPosterImage ( ) const

Returns whether a poster image should be shown if the movie is not playing.

Since
0.22

The documentation for this class was generated from the following file: