QtVideo Namespace
Elenchi relativi alle funzionalità della fotocamera e del video. Altro...
| Intestazione: | #include <qtvideo.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Multimedia) target_link_libraries(mytarget PRIVATE Qt6::Multimedia) |
| qmake: | QT += multimedia |
| A partire da: | Qt 6.7 |
Tipi
(since 6.7) enum class | Rotation { None, Clockwise90, Clockwise180, Clockwise270 } |
Documentazione sul tipo
[since 6.7] enum class QtVideo::Rotation
L'angolo di rotazione in senso orario da applicare a un fotogramma video prima della visualizzazione. La rotazione viene eseguita nelle coordinate video, dove l'asse Y punta verso il basso sullo schermo. Ciò significa che la direzione di rotazione è conforme a QTransform::rotate.
| Costante | Valore | Descrizione |
|---|---|---|
QtVideo::Rotation::None | 0 | Non è necessaria alcuna rotazione, il fotogramma ha l'orientamento corretto |
QtVideo::Rotation::Clockwise90 | 90 | Il fotogramma deve essere ruotato di 90 gradi in senso orario |
QtVideo::Rotation::Clockwise180 | 180 | Il fotogramma deve essere ruotato di 180 gradi in senso orario |
QtVideo::Rotation::Clockwise270 | 270 | Il frame deve essere ruotato di 270 gradi in senso orario |
Questa enumerazione è stata introdotta in Qt 6.7.
© 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.