Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qwasmoffscreensurface.h
Go to the documentation of this file.
1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWASMOFFSCREENSURFACE_H
5#define QWASMOFFSCREENSURFACE_H
6
7#include <qpa/qplatformoffscreensurface.h>
8
9#include <emscripten/val.h>
10
11#include <string>
12
14
17{
18public:
21
22 const std::string &id() const { return m_specialTargetId; }
23
24private:
25 std::string m_specialTargetId;
26 emscripten::val m_offscreenCanvas;
27};
28
30
31#endif
\inmodule QtGui
QOffscreenSurface * offscreenSurface() const
const std::string & id() const
Combined button and popup list for selecting options.