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// Qt-Security score:significant reason:default
4
5#ifndef QMINIMALEGLWINDOW_H
6#define QMINIMALEGLWINDOW_H
7
9
10#include <qpa/qplatformwindow.h>
11
13
15{
16public:
17 QMinimalEglWindow(QWindow *w);
18
19 void setGeometry(const QRect &) override;
20 WId winId() const override;
21
22private:
23 WId m_winid;
24};
25QT_END_NAMESPACE
26#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)
Combined button and popup list for selecting options.