Demonstrates anchor layout in a graphics view scene.
The Anchor Layout example demonstrates the use of the
QGraphicsAnchorLayout类。![]()
The basic steps of this example are:
Create widgets
Add vertical and horizontal anchors between the widgets
View the scene with a
QGraphicsViewobject