~/talk

Getting Started - a Qt fast track 3/4 - Widgets and Layouts

links:none on file
slides:none on file

Covers building QWidget UIs with Qt Creator and Qt Designer, showing concrete code: use QHBoxLayout/QGridLayout/form layouts, set sizeHint/minimum/maximum, control resizing with stretch factors and spacers, and pick size policies (Minimum, Preferred, Expanding). Demonstrates composing a custom FileChooser (QWidget with QLineEdit and QPushButton, emits filenameChanged) and a working text editor using QPlainTextEdit and QFileDialog — the editor is implemented and running in about three minutes of live coding.

AI-written summary · about

  1. 0:00Introduction to UI
  2. 8:51Using Qt Designer
  3. 13:51Layout management basics
  4. 20:54Layout stretch and spacing
  5. 28:27Size policies explained
  6. 33:41Custom widget creation
  7. 42:41Custom widget guidelines
  8. 53:53Composed widget example
  9. 1:04:32Main window elements
  10. 1:17:31Building a text editor
  11. 1:23:49Cross-platform deployment
~/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.