Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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);
46 QPointer<QWaylandQuickShellSurfaceItem> shellSurfaceItem;
47 QPointer<QWaylandQtShellSurface> shellSurface;
48 QPointer<QWaylandSurface> surface;
49 QPointer<QWaylandQtShell> shell;
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:24
\inmodule QtCore\reentrant
Definition qpoint.h:217
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition qquickitem.h:63
\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:252
@ Window
Definition qnamespace.h:207
@ WindowMaximizeButtonHint
Definition qnamespace.h:229
@ WindowMinimizeButtonHint
Definition qnamespace.h:228
@ WindowCloseButtonHint
Definition qnamespace.h:241
GLbitfield flags
unsigned int uint
Definition qtypes.h:34
unsigned char quint8
Definition qtypes.h:46