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// Qt-Security score:significant reason:default
4
5#ifndef QWAYLANDQTSHELLCHROME_P_H
6#define QWAYLANDQTSHELLCHROME_P_H
7
9
10#include <QtCore/qpointer.h>
11#include <QtQuick/private/qquickitem_p.h>
12#include <QtQuick/private/qquickdraghandler_p.h>
13
14#include <QtWaylandCompositor/qwaylandquickshellsurfaceitem.h>
15
16//
17// W A R N I N G
18// -------------
19//
20// This file is not part of the Qt API. It exists purely as an
21// implementation detail. This header file may change from version to
22// version without notice, or even be removed.
23//
24// We mean it.
25//
26
28
30{
31public:
32 void updateDecorationInteraction(quint8 flags, const QQuickHandlerPoint &centroid);
33 QPointF constrainPoint(const QPointF &point) const;
34
35 bool positionSet = false;
38
45 QRect restoreGeometry = QRect(0, 0, 100, 100);
51
60
64
75
83 QQuickItem *titleBar = nullptr;
84};
85
86QT_END_NAMESPACE
87
88#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
Combined button and popup list for selecting options.
static int randomPos(int windowSize, int screenSize)