圖形視圖範例

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 個芯片 可視化具有 40000 個芯片項的巨大圖形視圖場景
Boxes Combines advanced OpenGL rendering with the Graphics View framework
碰撞小鼠範例 Demonstrates how to animate items on a graphics view
簡圖場景示例 演示如何使用圖形視圖框架
拖放 Robot 範例 Demonstrates how to drag and drop items in a graphics view
彈性節點範例 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.

錨點布局範例 Demonstrates anchor layout in a graphics view scene
基本圖形布局範例 演示如何創建基本圖形布局
嵌入式對話框 Demonstrates how to embed dialogs into a graphics view
圖形視圖流布局範例 Demonstrates flow layout on a graphics view scene.
簡單錨點布局範例 演示圖形視圖場景中的錨點布局
天氣錨點布局範例 演示圖形視圖場景中的錨點布局

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

模糊拾取器效果示例 Demonstrates how to apply graphical effects on items in the view
褪色消息效果範例 Demonstrates how to apply effects on items in the view
Lighting Effect Example Demonstrates how to apply effects on items in the view