Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qwaylandqtshellchrome_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWAYLANDQTSHELLCHROME_P_H
5#define QWAYLANDQTSHELLCHROME_P_H
6
7#include "qwaylandqtshell.h"
8
9#include <QtCore/qpointer.h>
10#include <QtQuick/private/qquickitem_p.h>
11#include <QtQuick/private/qquickdraghandler_p.h>
12
13#include <QtWaylandCompositor/qwaylandquickshellsurfaceitem.h>
14
15//
16// W A R N I N G
17// -------------
18//
19// This file is not part of the Qt API. It exists purely as an
20// implementation detail. This header file may change from version to
21// version without notice, or even be removed.
22//
23// We mean it.
24//
25
27
29{
30public:
32 QPointF constrainPoint(const QPointF &point) const;
33
34 bool positionSet = false;
37
44 QRect restoreGeometry = QRect(0, 0, 100, 100);
50
52 None = 0,
53 WestBound = 1,
54 EastBound = 2,
55 NorthBound = 4,
56 SouthBound = 8,
57 TitleBar = 16
58 };
59
63
74
82 QQuickItem *titleBar = nullptr;
83};
84
86
87#endif // QWAYLANDQTSHELLCHROME_P_H
\inmodule QtCore
Definition qmargins.h:23
\inmodule QtCore\reentrant
Definition qpoint.h:214
\inmodule QtCore
Definition qpointer.h:18
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition qquickitem.h:64
\inmodule QtCore\reentrant
Definition qrect.h:30
void updateDecorationInteraction(quint8 flags, const QQuickHandlerPoint &centroid)
QQuickDragHandler * topLeftResizeHandleHandler
QQuickDragHandler * topRightResizeHandleHandler
QQuickDragHandler * bottomRightResizeHandleHandler
QPointF constrainPoint(const QPointF &point) const
QPointer< QWaylandQtShellSurface > shellSurface
QQuickDragHandler * bottomResizeHandleHandler
QPointer< QWaylandQuickShellSurfaceItem > shellSurfaceItem
QPointer< QWaylandSurface > surface
QQuickDragHandler * bottomLeftResizeHandleHandler
QQuickDragHandler * rightResizeHandleHandler
QPointer< QWaylandQtShell > shell
QQuickDragHandler * leftResizeHandleHandler
Combined button and popup list for selecting options.
@ WindowNoState
Definition qnamespace.h:251
@ Window
Definition qnamespace.h:206
@ WindowMaximizeButtonHint
Definition qnamespace.h:228
@ WindowMinimizeButtonHint
Definition qnamespace.h:227
@ WindowCloseButtonHint
Definition qnamespace.h:240
GLbitfield flags
unsigned int uint
Definition qtypes.h:29
unsigned char quint8
Definition qtypes.h:41