Programming with Qt Quick 2/6 - Meet Qt Quick Part 2
summary
Shows that QML gradients often fall back to slow software rendering (X‑render on some NVIDIA drivers) and so recommends pre-render PNGs for embedded targets; demonstrates button UI built from rectangles with images and text, anchored layouts, rounded corners via radius, and a mouse area that fills the button for clicks. Explains surprising gotcha that anchors only bind to parent/siblings and can produce zero sizes without fixed constraints, and covers keyboard handling with keys.onPressed and focus delegation with focusScope.
AI-written summary · about
chapters (36)
- 0:00Intro
- 0:23Gradients
- 1:32Text Item
- 2:49Text Input
- 4:18Anchor Based Layout
- 5:00Simple Centering
- 5:30Anchoring
- 6:38Margins
- 8:45Limitations
- 12:08Using Anchors
- 12:43Basic Layout
- 13:51Gradient Objects
- 14:29Code
- 21:42Questions
- 24:58User Interaction
- 25:37Mouse Area
- 26:37Mouse Area with Text
- 31:17Press Hold
- 33:11If Statement
- 34:15Key Points
- 34:38Mouse Handling
- 35:47Keyboard Input
- 36:32Focus
- 37:28Focus Example
- 38:10Tab Order
- 40:12Key Handling
- 42:53Key Navigation
- 43:06Raw Keyboard Input
- 43:36Keyboard Navigation
- 46:45Keys
- 47:42OnPressed
- 49:26Signal Handler
- 49:59Focus Scope
- 50:10Sibling Elements
- 51:57Visual Example
- 54:36Keyboard Focus
related talks
01h 00mQt for MCUs – A Deep Dive
23mQt Quick : Don't make these mistakes!
25mBest Practices for using QML and QtQuick
18mHow we stopped using the mouse and started drawing molecules with...
30mThe building blocks of QML, and how to use it with C++
35mQtinUse - UI & System Design Challenges for the NxG Lighting Tool
40mQt Beyond 6.8
27mSet Yourself up for Success — Lessons Learned from Building 100+ Devices with C++/Qt/QML
