GraphicsVideoItem
Qt Base Class: QGraphicsVideoItem
Signature: QGraphicsVideoItem(self, parent: Optional[PySide6.QtWidgets.QGraphicsItem] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
GraphicsObjectMixin prettyqt.widgets.graphicsobject |
||
QGraphicsVideoItem PySide6.QtMultimediaWidgets QGraphicsVideoItem(self, parent: Optional[PySide6.QtWidgets.QGraphicsItem] \= None) -> None |
⋔ Inheritance diagram
graph TD
1473573992928["multimediawidgets.GraphicsVideoItem"]
1473293697024["widgets.GraphicsObjectMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473293706784["widgets.GraphicsItemMixin"]
1473573987072["QtMultimediaWidgets.QGraphicsVideoItem"]
1473365816752["QtWidgets.QGraphicsObject"]
1473290795024["QtWidgets.QGraphicsItem"]
1473291690208["Shiboken.Object"]
1473288842240["QtCore.QObject"]
1473293697024 --> 1473573992928
1473299815024 --> 1473293697024
140713234304496 --> 1473299815024
1473293706784 --> 1473293697024
140713234304496 --> 1473293706784
1473573987072 --> 1473573992928
1473365816752 --> 1473573987072
1473290795024 --> 1473365816752
1473291690208 --> 1473290795024
140713234304496 --> 1473291690208
1473288842240 --> 1473365816752
1473291690208 --> 1473288842240
🛈 DocStrings
Bases: GraphicsObjectMixin
, QGraphicsVideoItem
Source code in prettyqt\multimediawidgets\graphicsvideoitem.py
get_aspect_ratio_mode() -> constants.AspectRatioModeStr
Return current aspect ratio mode.
set_aspect_ratio_mode(mode: constants.AspectRatioModeStr | constants.AspectRatioMode)
Set the aspect ratio mode.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mode |
AspectRatioModeStr | AspectRatioMode
|
aspect ratio mode |
required |
Source code in prettyqt\multimediawidgets\graphicsvideoitem.py
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
parent |
QGraphicsObject | |
opacity |
double | |
enabled |
bool | |
visible |
bool | |
pos |
QPointF | |
x |
double | |
y |
double | |
z |
double | |
rotation |
double | |
scale |
double | |
transformOriginPoint |
QPointF | |
effect |
QGraphicsEffect | |
children |
QDeclarativeListProperty |
|
width |
double | |
height |
double | |
aspectRatioMode |
Qt::AspectRatioMode | |
offset |
QPointF | |
size |
QSizeF | |
nativeSize |
QSizeF | |
videoSink |
QVideoSink |