Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwindowsnativeinterface.h
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QWINDOWSNATIVEINTERFACE_H
6
#
define
QWINDOWSNATIVEINTERFACE_H
7
8
#
include
<
QtGui
/
qfont
.
h
>
9
#
include
<
QtGui
/
qpa
/
qplatformnativeinterface
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
/*!
14
\class QWindowsNativeInterface
15
\brief Provides access to native handles.
16
17
Currently implemented keys
18
\list
19
\li handle (HWND)
20
\li getDC (DC)
21
\li releaseDC Releases the previously acquired DC and returns 0.
22
\endlist
23
24
\internal
25
*/
26
27
class
QWindowsNativeInterface :
public
QPlatformNativeInterface
28
{
29
Q_OBJECT
30
31
public
:
32
void
*nativeResourceForIntegration(
const
QByteArray &resource) override;
33
#
ifndef
QT_NO_OPENGL
34
void
*nativeResourceForContext(
const
QByteArray &resource, QOpenGLContext *context) override;
35
#
endif
36
void
*nativeResourceForWindow(
const
QByteArray &resource, QWindow *window) override;
37
void
*nativeResourceForScreen(
const
QByteArray &resource, QScreen *screen) override;
38
#
ifndef
QT_NO_CURSOR
39
void
*nativeResourceForCursor(
const
QByteArray &resource,
const
QCursor &cursor) override;
40
#
endif
41
};
42
43
QT_END_NAMESPACE
44
45
#
endif
// QWINDOWSNATIVEINTERFACE_H
QWindowsCursor
Platform cursor implementation.
Definition
qwindowscursor.h:66
QWindowsIntegration
Definition
qwindowsintegration.h:31
QWindowsIntegration::staticOpenGLContext
static QWindowsStaticOpenGLContext * staticOpenGLContext()
Definition
qwindowsintegration.cpp:466
QWindowsNativeInterface
Provides access to native handles.
Definition
qwindowsnativeinterface.h:28
QWindowsNativeInterface::nativeResourceForContext
void * nativeResourceForContext(const QByteArray &resource, QOpenGLContext *context) override
Definition
qwindowsnativeinterface.cpp:123
QWindowsNativeInterface::nativeResourceForWindow
void * nativeResourceForWindow(const QByteArray &resource, QWindow *window) override
Definition
qwindowsnativeinterface.cpp:48
QWindowsNativeInterface::nativeResourceForCursor
void * nativeResourceForCursor(const QByteArray &resource, const QCursor &cursor) override
Definition
qwindowsnativeinterface.cpp:96
QWindowsNativeInterface::nativeResourceForScreen
void * nativeResourceForScreen(const QByteArray &resource, QScreen *screen) override
Definition
qwindowsnativeinterface.cpp:80
QWindowsScreen
Windows screen.
Definition
qwindowsscreen.h:50
QWindowsStaticOpenGLContext
Definition
qwindowsopenglcontext.h:18
QWindowsStaticOpenGLContext::moduleHandle
virtual void * moduleHandle() const =0
QWindowsWindow
Raster or OpenGL Window.
Definition
qwindowswindow.h:188
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
HandleType
@ HandleType
Definition
qwindowsnativeinterface.cpp:24
GetDCType
@ GetDCType
Definition
qwindowsnativeinterface.cpp:26
RenderingContextType
@ RenderingContextType
Definition
qwindowsnativeinterface.cpp:23
GlHandleType
@ GlHandleType
Definition
qwindowsnativeinterface.cpp:25
ReleaseDCType
@ ReleaseDCType
Definition
qwindowsnativeinterface.cpp:27
resourceType
static int resourceType(const QByteArray &key)
Definition
qwindowsnativeinterface.cpp:31
ResourceType
ResourceType
Definition
qeglfsintegration.cpp:248
VkSurface
@ VkSurface
Definition
qeglfsintegration.cpp:257
qtbase
src
plugins
platforms
windows
qwindowsnativeinterface.h
Generated on
for Qt by
1.18.0