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
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:
16 QMinimalEglWindow(QWindow *w);
17
18 void setGeometry(const QRect &) override;
19 WId winId() const override;
20
21private:
22 WId m_winid;
23};
24QT_END_NAMESPACE
25#endif // QMINIMALEGLWINDOW_H
QPlatformOpenGLContext * platformContext() const
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)