~/talk

How Did You Do That, Tips and Tricks

links:none on file
slides:none on file

Practical, code-level recipes: how to persist window state with QSettings and QWidget::saveGeometry/restoreGeometry (also QMainWindow::saveState/restoreState), export QTextDocument to HTML/PDF/SVG and ODF via QTextDocument->toHtml(), QPrinter, QSvgGenerator, QTextDocumentWriter (Qt 4.4–4.5 features noted), make QLabel text selectable, use QFormLayout and QDialogButtonBox for platform-correct layouts, use QKeySequence::StandardKey for portable shortcuts, setWindowFilePath handling, QMetaObject::invokeMethod/QTimer::singleShot for deferred calls, plus two working demos: SmileyTextEdit (replace emoticons with images) and a FaderWidget that animates resize/fade with QTimeLine.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:50Finding tips and tricks resources
  3. 6:11Giving apps memory with settings
  4. 11:09Converting text to multiple formats
  5. 14:43Making labels text selectable
  6. 17:11Following local OS customs
  7. 22:28Handling platform-specific shortcuts
  8. 27:11Setting window file paths
  9. 30:02Invoking slots without signals
  10. 32:53Brightening text with smileys
  11. 39:26Making panels fade and resize
  12. 51:09Summary and source code
~/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.