Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGraphicsVideoItemPrivate Class Reference
+ Collaboration diagram for QGraphicsVideoItemPrivate:

Public Member Functions

 QGraphicsVideoItemPrivate ()
 
void updateRects ()
 
void _q_present (const QVideoFrame &)
 

Public Attributes

QGraphicsVideoItemq_ptr = nullptr
 
QVideoSinksink = nullptr
 
QRectF rect
 
QRectF boundingRect
 
QSizeF nativeSize
 
QVideoFrame m_frame
 
Qt::AspectRatioMode m_aspectRatioMode = Qt::KeepAspectRatio
 

Detailed Description

Definition at line 16 of file qgraphicsvideoitem.cpp.

Constructor & Destructor Documentation

◆ QGraphicsVideoItemPrivate()

QGraphicsVideoItemPrivate::QGraphicsVideoItemPrivate ( )
inline

Definition at line 19 of file qgraphicsvideoitem.cpp.

Member Function Documentation

◆ _q_present()

void QGraphicsVideoItemPrivate::_q_present ( const QVideoFrame & frame)

Definition at line 55 of file qgraphicsvideoitem.cpp.

References boundingRect, emit, frame, m_frame, nativeSize, q_ptr, QWidget::size, and updateRects().

+ Here is the call graph for this function:

◆ updateRects()

void QGraphicsVideoItemPrivate::updateRects ( )

Definition at line 38 of file qgraphicsvideoitem.cpp.

References boundingRect, QRectF::center(), QSizeF::isEmpty(), Qt::KeepAspectRatio, m_aspectRatioMode, QRectF::moveCenter(), nativeSize, q_ptr, rect, QSizeF::scale(), and QRectF::size().

Referenced by _q_present().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ boundingRect

QRectF QGraphicsVideoItemPrivate::boundingRect

Definition at line 28 of file qgraphicsvideoitem.cpp.

Referenced by _q_present(), and updateRects().

◆ m_aspectRatioMode

Qt::AspectRatioMode QGraphicsVideoItemPrivate::m_aspectRatioMode = Qt::KeepAspectRatio

Definition at line 31 of file qgraphicsvideoitem.cpp.

Referenced by updateRects().

◆ m_frame

QVideoFrame QGraphicsVideoItemPrivate::m_frame

Definition at line 30 of file qgraphicsvideoitem.cpp.

Referenced by _q_present().

◆ nativeSize

QSizeF QGraphicsVideoItemPrivate::nativeSize

Definition at line 29 of file qgraphicsvideoitem.cpp.

Referenced by _q_present(), and updateRects().

◆ q_ptr

QGraphicsVideoItem* QGraphicsVideoItemPrivate::q_ptr = nullptr

Definition at line 24 of file qgraphicsvideoitem.cpp.

Referenced by _q_present(), and updateRects().

◆ rect

QRectF QGraphicsVideoItemPrivate::rect

Definition at line 27 of file qgraphicsvideoitem.cpp.

Referenced by updateRects().

◆ sink

QVideoSink* QGraphicsVideoItemPrivate::sink = nullptr

Definition at line 26 of file qgraphicsvideoitem.cpp.


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