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.

Boxes

Combines advanced OpenGL rendering with the Graphics View framework.

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.

Pad Navigator Example

Demonstrates how to create animated user interface.

These examples show the use of graphics widgets and layouts.

Anchor Layout Example

Demonstrates anchor layout in a graphics view scene.

Basic Graphics Layouts Example

Demonstrates how to create basic graphics layout.

Embedded Dialogs

Demonstrates how to embed dialogs into a graphics view.

Graphics View Flow Layout Example

Demonstrates flow layout on a graphics view scene.

Simple Anchor Layout Example

Demonstrates anchor layout on a graphics view scene.

Weather Anchor Layout Example

Demonstrates anchor layout on a graphics view scene.

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

Blur Picker Effect Example

Demonstrates how to apply graphical effects on items in the view.

Fade Message Effect Example

Demonstrates how to apply effects on items in the view.

© 2020 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.