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
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
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:
31 void updateDecorationInteraction(quint8 flags, const QQuickHandlerPoint &centroid);
32 QPointF constrainPoint(const QPointF &point) const;
33
34 bool positionSet = false;
37
44 QRect restoreGeometry = QRect(0, 0, 100, 100);
50
59
63
74
82 QQuickItem *titleBar = nullptr;
83};
84
85QT_END_NAMESPACE
86
87#endif // QWAYLANDQTSHELLCHROME_P_H
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
static int randomPos(int windowSize, int screenSize)