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