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// Qt-Security score:significant reason:default
4
5#ifndef QINTEGRITYFBSCREEN_H
6#define QINTEGRITYFBSCREEN_H
7
8#include <QtFbSupport/private/qfbscreen_p.h>
9#include <device/fbdriver.h>
10
12
13class QPainter;
14class QFbCursor;
15
17{
19public:
22
23 bool initialize();
24
25 QPixmap grabWindow(WId wid, int x, int y, int width, int height) const override;
26
27 QRegion doRedraw() override;
28
29private:
30 QStringList mArgs;
31 FBDriver *mFbd;
32 FBHandle mFbh;
33 FBInfo mFbinfo;
34 MemoryRegion mVMR;
35 Address mVMRCookie;
36
37 QImage mFbScreenImage;
38
39 QPainter *mBlitter;
40};
41
42QT_END_NAMESPACE
43
44#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
Combined button and popup list for selecting options.