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
src_gui_kernel_qapplication.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3#include <QApplication>
4#include <QStyleFactory>
5#include <QWidget>
6
7
9struct MyWidget
10{
11 QSize sizeHint() const;
12
13 int foo = 0;
15 {
16 MyWidget tmp = other;
17 return tmp;
18 };
19 int manhattanLength() { return 0; }
20};
21
22void startTheDrag() {};
23void wrapper1() {
24MyWidget startPos;
25MyWidget currentPos;
26int x = 0;
27int y = 0;
28
30if ((startPos - currentPos).manhattanLength() >=
34
35} // wrapper1
36
37} // src_gui_kernel_qapplication
int startDragDistance
the minimum distance required for a drag and drop operation to start.
\inmodule QtCore
Definition qsize.h:25
GLint GLint GLint GLint GLint x
[0]
GLint y
QSharedPointer< T > other(t)
[5]