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
qlinuxfbdrmscreen.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 QLINUXFBDRMSCREEN_H
5#define QLINUXFBDRMSCREEN_H
6
7#include <QtFbSupport/private/qfbscreen_p.h>
8
10
12class QLinuxFbDevice;
13
15{
17public:
20
21 bool initialize() override;
22 QRegion doRedraw() override;
23 QPixmap grabWindow(WId wid, int x, int y, int width, int height) const override;
24
25private:
26 QKmsScreenConfig *m_screenConfig;
27 QLinuxFbDevice *m_device;
28};
29
31
32#endif // QLINUXFBDRMSCREEN_H
bool initialize() override
QPixmap grabWindow(WId wid, int x, int y, int width, int height) const override
This function is called when Qt needs to be able to grab the content of a window.
QRegion doRedraw() override
QLinuxFbDrmScreen(const QStringList &args)
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
Definition qpixmap.h:27
The QRegion class specifies a clip region for a painter.
Definition qregion.h:27
\inmodule QtCore
Combined button and popup list for selecting options.
GLint GLint GLint GLint GLint x
[0]
GLint GLsizei GLsizei height
GLint GLsizei width
GLint y
#define Q_OBJECT
QJSValueList args