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
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
41QT_END_NAMESPACE
42
43#endif // QINTEGRITYFBSCREEN_H
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
QList< QPlatformScreen * > screens() const
QPlatformServices * services() const override
bool hasCapability(QPlatformIntegration::Capability cap) const override
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
void initialize() override
Performs initialization steps that depend on having an event dispatcher available.
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
QPlatformNativeInterface * nativeInterface() const 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
friend class QPainter