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
qwaylandivisurface_p.h
Go to the documentation of this file.
1
// Copyright (C) 2017 ITAGE Corporation, author: <yusuke.binsaki@itage.co.jp>
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
QWAYLANDIVISURFACE_H
5
#
define
QWAYLANDIVISURFACE_H
6
7
#
include
<
QtWaylandClient
/
private
/
qwaylandshellsurface_p
.
h
>
8
#
include
"qwayland-ivi-application.h"
9
#
include
"qwayland-ivi-controller.h"
10
11
QT_BEGIN_NAMESPACE
12
13
namespace
QtWaylandClient
{
14
15
class
QWaylandWindow;
16
class
QWaylandInputDevice;
17
18
class
Q_WAYLANDCLIENT_EXPORT
QWaylandIviSurface
:
public
QtWayland
::
ivi_surface
19
,
public
QWaylandShellSurface
,
public
QtWayland
::
ivi_controller_surface
20
{
21
public
:
22
QWaylandIviSurface
(
struct
::
ivi_surface
*
shell_surface
,
QWaylandWindow
*
window
);
23
QWaylandIviSurface
(
struct
::
ivi_surface
*
shell_surface
,
QWaylandWindow
*
window
,
24
struct
::
ivi_controller_surface
*
iviControllerSurface
);
25
~
QWaylandIviSurface
()
override
;
26
27
void
applyConfigure
()
override
;
28
29
std
::
any
surfaceRole
()
const
override
{
return
ivi_surface
::
object
(); };
30
31
private
:
32
void
createExtendedSurface
(
QWaylandWindow
*
window
);
33
void
ivi_surface_configure
(
int32_t
width
,
int32_t
height
)
override
;
34
void
ivi_controller_surface_visibility
(
int32_t
visibility
)
override
;
35
36
QWaylandWindow
*
m_window
=
nullptr
;
37
QSize
m_pendingSize
= {0, 0};
38
};
39
40
}
41
42
QT_END_NAMESPACE
43
44
#
endif
// QWAYLANDIVISURFACE_H
QtWaylandClient::QWaylandIviSurface
Definition
qwaylandivisurface_p.h:20
QPlatformGraphicsBufferHelper
\inmodule QtGui
QtWaylandClient
Definition
qwaylandclientextension.h:15
qtwayland
src
plugins
shellintegration
ivi-shell
qwaylandivisurface_p.h
Generated on
for Qt by
1.14.0