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
qintegrityfbscreen.h
Go to the documentation of this file.
1// Copyright (C) 2017 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 QINTEGRITYFBSCREEN_H
5#define QINTEGRITYFBSCREEN_H
6
7#include <QtFbSupport/private/qfbscreen_p.h>
8#include <device/fbdriver.h>
9
11
12class QPainter;
13class QFbCursor;
14
16{
18public:
21
22 bool initialize();
23
24 QPixmap grabWindow(WId wid, int x, int y, int width, int height) const override;
25
26 QRegion doRedraw() override;
27
28private:
29 QStringList mArgs;
30 FBDriver *mFbd;
31 FBHandle mFbh;
32 FBInfo mFbinfo;
33 MemoryRegion mVMR;
34 Address mVMRCookie;
35
36 QImage mFbScreenImage;
37
38 QPainter *mBlitter;
39};
40
42
43#endif // QINTEGRITYFBSCREEN_H
44
\inmodule QtGui
Definition qimage.h:37
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
QIntegrityFbScreen(const QStringList &args)
The QPainter class performs low-level painting on widgets and other paint devices.
Definition qpainter.h:46
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