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
qwaylandqtsurface.cpp
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:critical reason:network-protocol
4
6#include <qpa/qwindowsysteminterface.h>
7#include <qpa/qplatformwindow.h>
8
10
11namespace QtWaylandClient {
12
19
24
26{
27 m_pendingPosition = QPoint(-1, -1);
31}
32
52
57
62
76
89
102
107
118
120{
122 return true;
123}
124
129
131{
133 if (win) {
134 const int minWidth = qMax(0, win->windowMinimumSize().width());
135 const int minHeight = qMax(0, win->windowMinimumSize().height());
137
138 int maxWidth = qMax(0, win->windowMaximumSize().width());
140 maxWidth = -1;
143 maxHeight = -1;
145 }
146}
147
159
164
169
174
179
189
199
204
209
214
215}
216
217QT_END_NAMESPACE
Combined button and popup list for selecting options.