Qt GraphicsView in Depth
summary
Qt GraphicsView forms Qt's 2D canvas and the basis of Qt Quick and is shown evolving from Qt 4.2 through a major 4.6 refactor and 4.7 stability fixes. Concrete claims: DontSavePainterState yields millisecond gains, using a QGLWidget viewport or full-viewport updates raises throughput, and switching index types (BSP vs no-index) trades lookup speed for animated-move cost. Caching modes—device-coordinate cache versus item-coordinate—boost FPS (demo hits ~60 then ~20–40 without caches) but inflate memory (10×10 cached items). Embedding QWidgets via QGraphicsProxyWidget is ~2× slower; the QGraphicsEffect subtree caching trick gives fast subtree redraws at the cost of pixelized transforms.
AI-written summary · about
chapters (25)
- 0:00Intro
- 0:35Agenda
- 0:58Introduction
- 3:23History of GraphicsView
- 5:03Feedback
- 7:02Architecture
- 7:12GraphicsView
- 7:29Graphics
- 7:48Index
- 8:39View
- 10:15Tips Tricks
- 10:30Optimization Flags
- 12:30Demo
- 23:18Tips and Tricks
- 27:13Viewport Updates
- 28:38FittingView
- 32:06Indexing
- 33:24BSP
- 36:54No Index
- 44:08GraphicsItem
- 46:09Cache Mode
- 47:08Pixmap
- 47:50Cash
- 50:06Cash Demo
- 53:18Moving
related talks
01h 25mAdvanced Qt -A Deep Dive 1/6 Graphics View Part 1
01h 00mThe Evolution of Accelerated 2D and 3D Graphics in Qt
40mAdvanced Qt - A Deep Dive 2/6 Graphics View Part 2
01h 02mThe joys and sorrows of portable, cross-platform 3D graphics in Qt 6
51mQt Quick 3D & the Emerging Developer Paradigm
10mLightning Talk, Qt 3D CAD demo
01h 08mDesigning UIs with Qt Quick 1/6 - Design Workflow Part 1
01h 02mDesigning UIs with Qt Quick 4/6, Animations Part 1
