~/talk

Qt Tips and Tricks

links:none on file
slides:none on file

Practical list of ~20–30 concrete Qt techniques: use Q_PROPERTY/Q_DECLARE_METATYPE and QMetaObject::invokeMethod for runtime calls and IPC, register types for QVariant and streaming, implement implicit sharing with QSharedData/QSharedDataPointer, wrap existing trees via QAbstractItemModel (example: widget-tree browser in ~113 lines), draw widgets/delegates with QStyle, speed things with iterators and QImage vs QPixmap tradeoffs, enable QNetworkAccessManager + QNetworkDiskCache, parallelize with QtConcurrent::blockingMapped, and unit-test GUI behavior using QTest and QSignalSpy. QAbstractItemModel object-browser (113 lines) QNetworkAccessManager + QNetworkDiskCache QtConcurrent::blockingMapped

AI-written summary · about

  1. 0:00Meta object system
  2. 17:56Model view programming
  3. 29:40Custom widgets and QStyle
  4. 34:27Performance optimization
  5. 39:24Graphics and networking
  6. 45:10Miscellaneous development tips
  7. 54:38Threading in Qt
  8. 1:03:01Testing and conclusion
~/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.