Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4#include "qqnxforeignwindow.h"
5#include "qqnxintegration.h"
6
8
10 screen_context_t context,
11 screen_window_t screenWindow)
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
int pixelFormat() const override
QQnxForeignWindow(QWindow *window, screen_context_t context, screen_window_t screenWindow)
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
void initWindow()
screen_window_t nativeHandle() const
Definition qqnxwindow.h:45
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
static void * context
GLuint64EXT * result
[6]
aWidget window() -> setWindowTitle("New Window Title")
[2]