~/talk

Styling Qt Applications

Talkat Qt Developer Days 2008 · 2008-10-14..10-15· [networking, web-platform]
links:none on file
slides:none on file

Explains how Qt painting delegates drawing via QStyleOption, how styles inherit CommonStyle and why a proxy style often has to duplicate QCommonStyle code to hook subcontrols, and how styles expose palette, RTL layout and dynamic properties. Demonstrates stylesheet syntax, selectors, box model, gradient and border-image tricks and warns to set foreground when changing backgrounds. Shows a benchmark claim: Qt 4.4 → Qt 4.5: 2fps → 5fps when repeatedly switching styles, with stylesheet-only repainting reaching about 12fps.

AI-written summary · about

  1. 0:00Introduction to styling
  2. 1:10Why create custom styles
  3. 4:05How painting works in Qt
  4. 6:12Creating custom Q styles
  5. 12:44Colors and palettes in Qt
  6. 17:36Introduction to style sheets
  7. 23:02Demo of style sheets in Qt Designer
  8. 31:38Qt style sheet box model
  9. 38:50Style sheet specificity and rules
  10. 43:13Dynamic properties in style sheets
  11. 45:11New in Qt 4.5 style sheets
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.