QtVideo Namespace
Aufzählungen zu Kamera- und Videofunktionen. Mehr...
| Kopfzeile: | #include <qtvideo.h> |
| 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 } |
Typdokumentation
[since 6.7] enum class QtVideo::Rotation
Der Winkel der Drehung im Uhrzeigersinn, um den ein Videobild vor der Anzeige gedreht werden soll. Die Drehung erfolgt in Videokoordinaten, wobei die Y-Achse auf dem Bildschirm nach unten zeigt. Das bedeutet, dass die Drehrichtung der folgenden Abbildung entspricht: QTransform::rotate.
| Konstante | Wert | Beschreibung |
|---|---|---|
QtVideo::Rotation::None | 0 | Keine Drehung erforderlich, das Bild hat die richtige Ausrichtung |
QtVideo::Rotation::Clockwise90 | 90 | Das Bild 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 Frame sollte um 270 Grad im Uhrzeigersinn gedreht werden |
Diese Enumeration wurde in Qt 6.7 eingeführt.
© 2026 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.