Phonon  4.7.0
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Phonon::VideoGraphicsObjectPrivate Class Reference
Inheritance diagram for Phonon::VideoGraphicsObjectPrivate:

Public Member Functions

virtual QObject * qObject ()
 
void updateBoundingRect ()
 
void _p_negotiateFormat ()
 VideoGraphicsObjectPrivate::_p_negotiateFormat Super spooky function. There are two ways formats can be known to the VGO: More...
 

Public Attributes

QRectF geometry
 
QRectF boundingRect
 
QSize frameSize
 
AbstractVideoGraphicsPaintergraphicsPainter
 
QMap< GraphicsPainterType,
QList< VideoFrame::Format > > 
spyFormats
 
bool paintedOnce
 
bool gotSize
 
bool ready
 

Protected Member Functions

bool aboutToDeleteBackendObject ()
 
void createBackendObject ()
 

Member Function Documentation

void Phonon::VideoGraphicsObjectPrivate::_p_negotiateFormat ( )

VideoGraphicsObjectPrivate::_p_negotiateFormat Super spooky function. There are two ways formats can be known to the VGO:

  • Previously detected by a (QML) Spy
  • This function is called by paint() allowing us to introspect capabilities.

Once the supported painters & formats were detected the actual negotiation starts. Currently this function always returns a painter, or it goes down in flames.

Returns
Painter to use.

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