A QGraphicsVideoItem subclass that provides custom rendering for local camera video streams.
More...
|
| | LocalVideoRenderer (QGraphicsItem *parent=nullptr) |
| | Constructs a LocalVideoRenderer with an optional parent graphics item.
|
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override |
| | Paints the video frame with custom rendering logic.
|
A QGraphicsVideoItem subclass that provides custom rendering for local camera video streams.
Definition at line 8 of file LocalVideoRenderer.h.
◆ LocalVideoRenderer()
| LocalVideoRenderer::LocalVideoRenderer |
( |
QGraphicsItem * | parent = nullptr | ) |
|
|
explicit |
Constructs a LocalVideoRenderer with an optional parent graphics item.
- Parameters
-
| [in] | parent | The parent graphics item. |
◆ paint()
| void LocalVideoRenderer::paint |
( |
QPainter * | painter, |
|
|
const QStyleOptionGraphicsItem * | option, |
|
|
QWidget * | widget = nullptr ) |
|
override |
Paints the video frame with custom rendering logic.
- Parameters
-
| [in] | painter | The QPainter to draw with. |
| [in] | option | The style options for the item. |
| [in] | widget | The widget being painted on. |
The documentation for this class was generated from the following file: