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
qlinuxfbscreen.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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QLINUXFBSCREEN_H
6
#
define
QLINUXFBSCREEN_H
7
8
#
include
<
QtFbSupport
/
private
/
qfbscreen_p
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QPainter
;
13
class
QFbCursor
;
14
15
class
QLinuxFbScreen
:
public
QFbScreen
16
{
17
Q_OBJECT
18
public
:
19
QLinuxFbScreen
(
const
QStringList
&
args
);
20
~
QLinuxFbScreen
();
21
22
bool
initialize
()
override
;
23
24
QPixmap
grabWindow
(WId wid,
int
x,
int
y,
int
width,
int
height)
const
override
;
25
26
QRegion
doRedraw
()
override
;
27
28
private
:
29
QStringList mArgs;
30
int
mFbFd;
31
int
mTtyFd;
32
33
QImage mFbScreenImage;
34
int
mBytesPerLine;
35
int
mOldTtyMode;
36
37
struct
{
38
uchar
*
data
;
39
int
offset
,
size
;
40
} mMmap;
41
42
QPainter
*mBlitter;
43
};
44
45
QT_END_NAMESPACE
46
47
#
endif
// QLINUXFBSCREEN_H
QFbCursor
Definition
qfbcursor_p.h:42
QLinuxFbIntegration
Definition
qlinuxfbintegration.h:23
QLinuxFbIntegration::QLinuxFbIntegration
QLinuxFbIntegration(const QStringList ¶mList)
Definition
qlinuxfbintegration.cpp:42
QLinuxFbScreen
Definition
qlinuxfbscreen.h:16
QLinuxFbScreen::size
int size
Definition
qlinuxfbscreen.h:39
QLinuxFbScreen::grabWindow
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.
Definition
qlinuxfbscreen.cpp:392
QLinuxFbScreen::initialize
bool initialize() override
Definition
qlinuxfbscreen.cpp:277
QLinuxFbScreen::doRedraw
QRegion doRedraw() override
Definition
qlinuxfbscreen.cpp:373
QLinuxFbScreen::data
uchar * data
Definition
qlinuxfbscreen.h:38
QLinuxFbScreen::offset
int offset
Definition
qlinuxfbscreen.h:39
QLinuxFbScreen::~QLinuxFbScreen
~QLinuxFbScreen()
Definition
qlinuxfbscreen.cpp:263
QPaintEngine::QPainter
friend class QPainter
Definition
qpaintengine.h:220
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtbase
src
plugins
platforms
linuxfb
qlinuxfbscreen.h
Generated on
for Qt by
1.16.1