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
qplatformsurface.h
Go to the documentation of this file.
1
// Copyright (C) 2017 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
QPLATFORMSURFACE_H
6
#
define
QPLATFORMSURFACE_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is part of the QPA API and is not meant to be used
13
// in applications. Usage of this API may make your code
14
// source and binary incompatible with future versions of Qt.
15
//
16
17
#
include
<
QtGui
/
qtguiglobal
.
h
>
18
#
include
<
QtCore
/
qnamespace
.
h
>
19
#
include
<
QtGui
/
qsurface
.
h
>
20
#
include
<
QtGui
/
qsurfaceformat
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
class
QPlatformScreen;
25
26
#
ifndef
QT_NO_DEBUG_STREAM
27
class
QDebug;
28
#
endif
29
30
class
Q_GUI_EXPORT
QPlatformSurface
31
{
32
public
:
33
Q_DISABLE_COPY_MOVE(QPlatformSurface)
34
35
virtual
~QPlatformSurface();
36
virtual
QSurfaceFormat format()
const
= 0;
37
38
QSurface *surface()
const
;
39
virtual
QPlatformScreen *screen()
const
= 0;
40
41
private
:
42
explicit
QPlatformSurface(QSurface *surface);
43
44
QSurface *m_surface;
45
46
friend
class
QPlatformWindow;
47
friend
class
QPlatformOffscreenSurface;
48
};
49
50
51
#
ifndef
QT_NO_DEBUG_STREAM
52
Q_GUI_EXPORT
QDebug
operator<<(QDebug debug,
const
QPlatformSurface *surface);
53
#
endif
54
55
QT_END_NAMESPACE
56
57
#
endif
//QPLATFORMSURFACE_H
QPlatformOffscreenSurfacePrivate
Definition
qplatformoffscreensurface.cpp:13
QPlatformOffscreenSurface
Definition
qplatformoffscreensurface.h:31
QPlatformSurface
The QPlatformSurface class provides an abstraction for a surface.
Definition
qplatformsurface.h:31
QNativeInterface
Definition
qnativeinterface.h:51
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
operator<<
Q_CORE_EXPORT QDebug operator<<(QDebug debug, QDir::Filters filters)
Definition
qdir.cpp:2620
qtbase
src
gui
kernel
qplatformsurface.h
Generated on
for Qt by
1.18.0