Graphics View Examples

Qt provides powerful graphics engine that supports easy visualization of items, with support for rotation and zooming. Additionally it provides an event propagation architecture for interaction.

These examples demonstrate the fundamental aspects of canvas programming with Qt.

40000 Chips

Visualizes a huge graphic view scene with 40000 chip items.

Colliding Mice Example

Demonstrates how to animate items on a graphics view.

Diagram Scene Example

Demonstrate how to use the Graphics View framework.

Drag and Drop Robot Example

Demonstrates how to drag and drop items in a graphics view.

Elastic Nodes Example

Demonstrates how to interact with graphical items in a scene.

These examples show the use of graphics widgets and layouts.

Basic Graphics Layouts Example

Demonstrates how to create basic graphics layout.

Simple Anchor Layout Example

Demonstrates anchor layout on a graphics view scene.

Some examples demonstrate the use of graphics effects with canvas items.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.