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
6
8
12 : QQnxWindow(window, context, screenWindow)
13{
14 initWindow();
15}
16
18{
19 return true;
20}
21
23{
24 int result = SCREEN_FORMAT_RGBA8888;
25 screen_get_window_property_iv(nativeHandle(), SCREEN_PROPERTY_FORMAT, &result);
26 return result;
27}
28
29QT_END_NAMESPACE
int pixelFormat() const override
bool isForeignWindow() const override
The QQnxWindow is the base class of the various classes used as instances of QPlatformWindow in the Q...
Definition qqnxwindow.h:31
\inmodule QtGui
Definition qwindow.h:63