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
qminimaleglintegration.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 QMINIMALEGLINTEGRATION_H
6#define QMINIMALEGLINTEGRATION_H
7
8#include <qpa/qplatformintegration.h>
9#include <qpa/qplatformscreen.h>
10
11QT_BEGIN_NAMESPACE
12
13class QMinimalEglIntegration : public QPlatformIntegration
14{
15public:
16 QMinimalEglIntegration();
17 ~QMinimalEglIntegration();
18
19 bool hasCapability(QPlatformIntegration::Capability cap) const override;
20
21 QPlatformWindow *createPlatformWindow(QWindow *window) const override;
22 QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const override;
23#ifndef QT_NO_OPENGL
24 QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const override;
25#endif
26 QPlatformFontDatabase *fontDatabase() const override;
27
28 QAbstractEventDispatcher *createEventDispatcher() const override;
29
30 QVariant styleHint(QPlatformIntegration::StyleHint hint) const override;
31
32private:
33 QPlatformFontDatabase *mFontDb;
34 QPlatformScreen *mScreen;
35};
36
38
39#endif // QMINIMALEGLINTEGRATION_H
Combined button and popup list for selecting options.