Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qwindowsgdiintegration.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
5#include "qwindowscontext.h"
8
9#include <QtCore/qdebug.h>
10#include <QtGui/private/qpixmap_raster_p.h>
11
13
15{
16public:
18};
19
21 : QWindowsIntegration(paramList)
23{}
24
26{}
27
29{
30 return &d->m_nativeInterface;
31}
32
34{
35 return new QRasterPlatformPixmap(type);
36}
37
39{
40 return new QWindowsBackingStore(window);
41}
42
The QPlatformBackingStore class provides the drawing area for top-level windows.
The QPlatformNativeInterface class provides an abstraction for retrieving native resource handles.
The QPlatformPixmap class provides an abstraction for native pixmaps.
\inmodule QtCore
\inmodule QtGui
Definition qwindow.h:63
Backing store for windows.
QWindowsGdiNativeInterface m_nativeInterface
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
QWindowsGdiIntegration(const QStringList &paramList)
QPlatformNativeInterface * nativeInterface() const override
QPlatformPixmap * createPlatformPixmap(QPlatformPixmap::PixelType type) const override
Factory function for QPlatformPixmap.
QPlatformIntegration implementation for Windows.
Combined button and popup list for selecting options.
GLenum type
aWidget window() -> setWindowTitle("New Window Title")
[2]