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
qminimaleglwindow.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
4#ifndef QMINIMALEGLWINDOW_H
5#define QMINIMALEGLWINDOW_H
6
8
9#include <qpa/qplatformwindow.h>
10
12
14{
15public:
17
18 void setGeometry(const QRect &) override;
19 WId winId() const override;
20
21private:
22 WId m_winid;
23};
25#endif // QMINIMALEGLWINDOW_H
WId winId() const override
Reimplement in subclasses to return a handle to the native window.
void setGeometry(const QRect &) override
This function is called by Qt whenever a window is moved or resized using the QWindow API.
QMinimalEglWindow(QWindow *w)
The QPlatformWindow class provides an abstraction for top-level windows.
\inmodule QtCore\reentrant
Definition qrect.h:30
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
GLfloat GLfloat GLfloat w
[0]