Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqnxforeignwindow.cpp
Go to the documentation of this file.
1
// Copyright (C) 2018 QNX Software Systems. All rights reserved.
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
#
include
"qqnxforeignwindow.h"
6
#
include
"qqnxintegration.h"
7
8
QT_BEGIN_NAMESPACE
9
10
QQnxForeignWindow
::
QQnxForeignWindow
(
QWindow
*
window
,
11
screen_context_t
context
,
12
screen_window_t
screenWindow
)
13
:
QQnxWindow
(window, context, screenWindow)
14
{
15
initWindow();
16
}
17
18
bool
QQnxForeignWindow
::
isForeignWindow
()
const
19
{
20
return
true
;
21
}
22
23
int
QQnxForeignWindow
::
pixelFormat
()
const
24
{
25
int
result = SCREEN_FORMAT_RGBA8888;
26
screen_get_window_property_iv(nativeHandle(), SCREEN_PROPERTY_FORMAT, &result);
27
return
result;
28
}
29
30
QT_END_NAMESPACE
QQnxForeignWindow
Definition
qqnxforeignwindow.h:13
QQnxForeignWindow::pixelFormat
int pixelFormat() const override
Definition
qqnxforeignwindow.cpp:23
QQnxForeignWindow::isForeignWindow
bool isForeignWindow() const override
Definition
qqnxforeignwindow.cpp:18
QQnxWindow
The QQnxWindow is the base class of the various classes used as instances of QPlatformWindow in the Q...
Definition
qqnxwindow.h:32
QWindow
\inmodule QtGui
Definition
qwindow.h:64
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtbase
src
plugins
platforms
qnx
qqnxforeignwindow.cpp
Generated on
for Qt by
1.16.1