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.

Boxes

Combines advanced OpenGL rendering with the Graphics View framework

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

Pad Navigator Example

Demonstrates how to create animated user interface

These examples show the use of graphics widgets and layouts.

Basic Graphics Layouts Example

Demonstrates how to create basic graphics layout

Embedded Dialogs

Demonstrates how to embed dialogs into a graphics view

Anchor Layout Example

Demonstrates anchor layout in a graphics view scene

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

Lighting Effect Example

Demonstrates how to apply effects on items in the view