Graphics View Examples

Qt提供了功能强大的图形引擎,支持对项目的轻松可视化,并支持旋转和缩放。 另外,它提供了用于交互的事件传播架构。

这些示例说明了使用Qt进行画布编程的基本方面。

40000 Chips

可视化具有40000个芯片项目的巨大图形视图场景

Boxes

结合了高级OpenGL渲染和Graphics View框架

Colliding Mice Example

演示如何为图形视图上的项目设置动画

Diagram Scene Example

演示如何使用图形视图框架

Drag and Drop Robot Example

演示如何在图形视图中拖放项目

Elastic Nodes Example

演示如何与场景中的图形项目进行交互

Pad Navigator Example

演示如何创建动画用户界面

These examples show the use of graphics widgets and layouts.

Anchor Layout Example

演示图形视图场景中的锚点布局

Basic Graphics Layouts Example

演示如何创建基本图形布局

Embedded Dialogs

演示如何将对话框嵌入图形视图

Graphics View Flow Layout Example

演示图形视图场景上的流布局。

Simple Anchor Layout Example

演示图形视图场景上的锚点布局

Weather Anchor Layout Example

演示图形视图场景上的锚点布局

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

Blur Picker Effect Example

演示如何在视图中的项目上应用图形效果

Fade Message Effect Example

演示如何在视图中的项目上应用效果

Lighting Effect Example

演示如何在视图中的项目上应用效果