|
qreal | devicePixelRatio () const |
|
int | height () const |
|
void | update (const QRect &rect) |
|
void | update (const QRegion ®ion) |
|
int | width () const |
|
| QWindow (QScreen *screen=nullptr) |
|
| QWindow (QWindow *parent) |
|
virtual | ~QWindow () |
|
QSize | baseSize () const |
|
Qt::ScreenOrientation | contentOrientation () const |
|
void | create () |
|
QCursor | cursor () const |
|
void | destroy () |
|
qreal | devicePixelRatio () const |
|
QString | filePath () const |
|
Qt::WindowFlags | flags () const |
|
virtual QObject * | focusObject () const |
|
QSurfaceFormat | format () const override |
|
QRect | frameGeometry () const |
|
QMargins | frameMargins () const |
|
QPoint | framePosition () const |
|
QRect | geometry () const |
|
int | height () const |
|
QIcon | icon () const |
|
bool | isActive () const |
|
bool | isAncestorOf (const QWindow *child, AncestorMode mode=IncludeTransients) const |
|
bool | isExposed () const |
|
bool | isModal () const |
|
bool | isTopLevel () const |
|
bool | isVisible () const |
|
QPoint | mapFromGlobal (const QPoint &pos) const |
|
QPoint | mapToGlobal (const QPoint &pos) const |
|
QRegion | mask () const |
|
int | maximumHeight () const |
|
QSize | maximumSize () const |
|
int | maximumWidth () const |
|
int | minimumHeight () const |
|
QSize | minimumSize () const |
|
int | minimumWidth () const |
|
Qt::WindowModality | modality () const |
|
qreal | opacity () const |
|
QWindow * | parent () const |
|
QPoint | position () const |
|
void | reportContentOrientationChange (Qt::ScreenOrientation orientation) |
|
QSurfaceFormat | requestedFormat () const |
|
void | resize (const QSize &newSize) |
|
void | resize (int w, int h) |
|
QScreen * | screen () const |
|
void | setBaseSize (const QSize &size) |
|
void | setCursor (const QCursor &cursor) |
|
void | setFilePath (const QString &filePath) |
|
void | setFlags (Qt::WindowFlags flags) |
|
void | setFormat (const QSurfaceFormat &format) |
|
void | setFramePosition (const QPoint &point) |
|
void | setGeometry (const QRect &rect) |
|
void | setGeometry (int x_pos, int y_pos, int w, int h) |
|
void | setIcon (const QIcon &icon) |
|
bool | setKeyboardGrabEnabled (bool grab) |
|
void | setMask (const QRegion ®ion) |
|
void | setMaximumSize (const QSize &size) |
|
void | setMinimumSize (const QSize &size) |
|
void | setModality (Qt::WindowModality modality) |
|
bool | setMouseGrabEnabled (bool grab) |
|
void | setOpacity (qreal level) |
|
void | setParent (QWindow *parent) |
|
void | setPosition (const QPoint &pt) |
|
void | setPosition (int x_pos, int y_pos) |
|
void | setScreen (QScreen *screen) |
|
void | setSizeIncrement (const QSize &size) |
|
void | setSurfaceType (SurfaceType surfaceType) |
|
void | setTransientParent (QWindow *parent) |
|
void | setVisibility (Visibility v) |
|
void | setVulkanInstance (QVulkanInstance *instance) |
|
void | setWindowState (Qt::WindowState state) |
|
QSize | size () const override |
|
QSize | sizeIncrement () const |
|
SurfaceType | surfaceType () const override |
|
QString | title () const |
|
QWindow * | transientParent () const |
|
Qt::WindowType | type () const |
|
void | unsetCursor () |
|
Visibility | visibility () const |
|
QVulkanInstance * | vulkanInstance () const |
|
int | width () const |
|
Qt::WindowState | windowState () const |
|
WId | winId () const |
|
int | x () const |
|
int | y () const |
|
| QObject (QObject *parent=nullptr) |
|
| ~QObject () |
|
bool | blockSignals (bool block) |
|
const QList< QObject * > & | children () const |
|
bool | connect (const QObject *sender, const QString &signalMethod, const QString &location, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection) |
|
bool | connect (const QObject *sender, const QString &signalMethod, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection) |
|
bool | disconnect (const QObject *receiver, const QString &slotMethod=QString ()) const |
|
bool | disconnect (const QString &signalMethod, const QString &location, const QObject *receiver=nullptr, const QString &slotMethod=QString ()) const |
|
bool | disconnect (const QString &signalMethod=QString (), const QObject *receiver=nullptr, const QString &slotMethod=QString ()) const |
|
void | dumpObjectInfo () |
|
void | dumpObjectTree () |
|
QList< QString > | dynamicPropertyNames () const |
|
virtual bool | event (QEvent *event) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
template<typename T > |
T | findChild (const QString &childName=QString ()) const |
|
template<class T > |
QList< T > | findChildren (const QRegularExpression ®Exp, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
|
template<class T > |
QList< T > | findChildren (const QString &childName=QString (), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
|
bool | inherits (const QString &className) const |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isWidgetType () const |
|
bool | isWindowType () const |
|
void | killTimer (int id) |
|
const QMetaObject * | metaObject () const |
|
void | moveToThread (QThread *targetThread) |
|
QString | objectName () const |
|
QObject * | parent () const |
|
template<class T = QVariant> |
T | property (const QString &name) const |
|
void | removeEventFilter (QObject *obj) |
|
void | setObjectName (const QString &name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const QString &name, const QVariant &value) |
|
bool | signalsBlocked () const |
|
int | startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer) |
|
QThread * | thread () const |
|
virtual | ~QSurface () |
|
virtual QSurfaceFormat | format () const = 0 |
|
virtual QSize | size () const = 0 |
|
bool | supportsOpenGL () const |
|
SurfaceClass | surfaceClass () const |
|
virtual QPlatformSurface * | surfaceHandle () const = 0 |
|
virtual SurfaceType | surfaceType () const = 0 |
|
virtual | ~QPaintDevice () |
|
int | colorCount () const |
|
int | depth () const |
|
int | devicePixelRatio () const |
|
qreal | devicePixelRatioF () const |
|
int | height () const |
|
int | heightMM () const |
|
int | logicalDpiX () const |
|
int | logicalDpiY () const |
|
bool | paintingActive () const |
|
int | physicalDpiX () const |
|
int | physicalDpiY () const |
|
int | width () const |
|
int | widthMM () const |
|
|
enum | AncestorMode |
|
enum | Visibility |
|
enum | SurfaceClass |
|
enum | SurfaceType |
|
enum | PaintDeviceMetric |
|
void | activeChanged () |
|
void | contentOrientationChanged (Qt::ScreenOrientation orientation) |
|
void | focusObjectChanged (QObject *object) |
|
void | heightChanged (int newHeight) |
|
void | maximumHeightChanged (int newMaxHeight) |
|
void | maximumWidthChanged (int newMaxWidth) |
|
void | minimumHeightChanged (int newMinHeight) |
|
void | minimumWidthChanged (int newMinWidth) |
|
void | modalityChanged (Qt::WindowModality modality) |
|
void | opacityChanged (qreal newOpacity) |
|
void | screenChanged (QScreen *screen) |
|
void | visibilityChanged (QWindow::Visibility newVisibility) |
|
void | visibleChanged (bool newVisible) |
|
void | widthChanged (int newWidth) |
|
void | windowStateChanged (Qt::WindowState windowState) |
|
void | windowTitleChanged (const QString &newTitle) |
|
void | xChanged (int newX) |
|
void | yChanged (int newY) |
|
void | destroyed (QObject *obj=nullptr) |
|
void | objectNameChanged (const QString &objectName) |
|
static QWindow * | fromWinId (WId id) |
|
static bool | connect (const QObject *sender, const QMetaMethod &signalMethod, const QObject *receiver, const QMetaMethod &slotMethod, Qt::ConnectionType type=Qt::AutoConnection) |
|
static bool | connect (const QObject *sender, const QString &signalMethod, const QObject *receiver, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection, const QString &location=QString ()) |
|
static bool | connect (const QObject *sender, const QString &signalMethod, const QString &location, const QObject *receiver, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection) |
|
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class SlotClass , class... SlotArgs, class SlotReturn > |
static bool | connect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, SlotReturn (SlotClass::*slotMethod)(SlotArgs...), Qt::ConnectionType type=Qt::AutoConnection) |
|
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class T > |
static bool | connect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, T slotLambda, Qt::ConnectionType type=Qt::AutoConnection) |
|
static bool | disconnect (const QObject *sender, const QMetaMethod &signalMethod, const QObject *receiver, const QMetaMethod &slotMethod) |
|
static bool | disconnect (const QObject *sender, const QString &signalMethod, const QObject *receiver, const QString &slotMethod) |
|
static bool | disconnect (const QObject *sender, const QString &signalMethod, const QString &location, const QObject *receiver, const QString &slotMethod) |
|
static bool | disconnect (const QObject *sender, std::nullptr_t, const QObject *receiver, std::nullptr_t) |
|
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class SlotClass , class... SlotArgs, class SlotReturn > |
static bool | disconnect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, SlotReturn (SlotClass::*slotMethod)(SlotArgs...)) |
|
template<class Sender , class SignalClass , class... SignalArgs, class Receiver > |
static bool | disconnect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, std::nullptr_t slotMethod=nullptr) |
|
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class T > |
static bool | disconnect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, T slotMethod) |
|
static QMetaObject & | staticMetaObject () |
|
static QString | tr (const char *text, const char *comment=nullptr, std::optional< int > numArg=std::optional< int >()) |
|
T | qobject_cast (QObject *object) |
|
| QObjectList |
|
QPaintDeviceWindow is a subclass of the QWindow class with added functionality. Whenever the content needs to be updated the virtual paintEvent() method is called. This class should normally not be used directly in your application. It is intended to be used as a base class which your code will inherit and extend functionality.
- See also
- QOpenGLWindow