summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc/src/elasticnodes.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/doc/src/elasticnodes.qdoc')
-rw-r--r--examples/widgets/doc/src/elasticnodes.qdoc33
1 files changed, 5 insertions, 28 deletions
diff --git a/examples/widgets/doc/src/elasticnodes.qdoc b/examples/widgets/doc/src/elasticnodes.qdoc
index e78db67be2..c25fd68009 100644
--- a/examples/widgets/doc/src/elasticnodes.qdoc
+++ b/examples/widgets/doc/src/elasticnodes.qdoc
@@ -1,33 +1,10 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example graphicsview/elasticnodes
\title Elastic Nodes Example
+ \examplecategory {Graphics}
\ingroup examples-graphicsview
\brief Demonstrates how to interact with graphical items in a scene.
@@ -259,7 +236,7 @@
This ensures that the edge items are not considered for mouse input at all
(i.e., you cannot click the edges). Then, the source and destination
pointers are updated, this edge is registered with each node, and we call
- \c adjust() to update this edge's start end end position.
+ \c adjust() to update this edge's start and end position.
\snippet graphicsview/elasticnodes/edge.cpp 1
@@ -355,7 +332,7 @@
collection of small items that all move around, it's unnecessary for
Graphics View to waste time finding accurate update regions, so we set the
QGraphicsView::BoundingRectViewportUpdate viewport update mode. The default
- would work fine, but this mode is noticably faster for this example.
+ would work fine, but this mode is noticeably faster for this example.
To improve rendering quality, we set QPainter::Antialiasing.