~/talk

Lightning Talk, Declarative Retranslations in QML

Talkat Qt World Summit 2015 · 2015-10-06..10-07
links:none on file
slides:none on file

Problem: QML tr() calls don’t reevaluate reliably on language change. Solution: a C++ translator installs an event filter for QEvent::LanguageChange and creates lightweight translateRequest objects exposing a property that emits changed on language switch, so QML bindings re-evaluate without hacks. Bug: single-binding replacement caused abandoned objects and GC churn, so bindings are split into a small TRText QML component. Demo uses a “quack” translator and works; source is on GitHub.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.