QtVideo Namespace
Aufzählungen für Kamera- und Videofunktionalität. Mehr...
Kopfzeile: | #include <QtVideo> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Multimedia) target_link_libraries(mytarget PRIVATE Qt6::Multimedia) |
qmake: | QT += multimedia |
Seit: | Qt 6.7 |
Typen
(since 6.7) enum class | Rotation { None, Clockwise90, Clockwise180, Clockwise270 } |
Typ-Dokumentation
[since 6.7]
enum class QtVideo::Rotation
Der Winkel der Drehung im Uhrzeigersinn, der auf ein Videobild vor der Anzeige angewendet werden soll. Die Drehung wird in Videokoordinaten durchgeführt, wobei die Y-Achse auf dem Bildschirm nach unten zeigt. Dies bedeutet, dass die Drehrichtung mit QTransform::rotate übereinstimmt.
Konstante | Wert | Beschreibung |
---|---|---|
QtVideo::Rotation::None | 0 | Keine Drehung erforderlich, das Bild hat die richtige Ausrichtung |
QtVideo::Rotation::Clockwise90 | 90 | Der Rahmen sollte um 90 Grad im Uhrzeigersinn gedreht werden |
QtVideo::Rotation::Clockwise180 | 180 | Der Rahmen sollte um 180 Grad im Uhrzeigersinn gedreht werden |
QtVideo::Rotation::Clockwise270 | 270 | Der Rahmen sollte im Uhrzeigersinn um 270 Grad gedreht werden |
Dieses Enum wurde in Qt 6.7 eingeführt.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.