6#include <QGuiApplication>
11bool QVideoOutputOrientationHandler::m_isRecording =
false;
15 , m_currentOrientation(0)
29 return m_currentOrientation;
43 if (
angle == m_currentOrientation)
46 m_currentOrientation =
angle;
52#include "moc_qvideooutputorientationhandler_p.cpp"
QScreen * primaryScreen
the primary (or default) screen of the application.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
The QScreen class is used to query screen properties. \inmodule QtGui.
int angleBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b) const
Convenience function to compute the angle of rotation to get from rotation a to rotation b.
Qt::ScreenOrientation nativeOrientation
the native screen orientation
Qt::ScreenOrientation orientation
the screen orientation
void orientationChanged(int angle)
QVideoOutputOrientationHandler(QObject *parent=nullptr)
int currentOrientation() const
Combined button and popup list for selecting options.
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent