## Qt Designer

- In Qt Designer, set a unique `objectName` to every object you want to use from Lisp.
- In Lisp, load the `*.ui` file using `qload-ui` (which will return the main widget of the UI).
- To get the single widgets from the UI, use `qfind-child`.

For an example, see `examples/3-main-window.lisp`.

If you want to translate your UI files to the corresponding EQL code, do the following at the command line:

`eql5 -quic file.ui`

which will generate a file named `ui-file.lisp`. See also function `quic`.

If you want to use widgets from modules, make sure the modules are available when you use `-quic` (they will then be loaded automatically).

For a quick test of the generated file, try this:

`eql5 ui-file.lisp`
`EQL-USER> (ui:ini t)`

(This will only work if you don't use widgets from modules; otherwise you need to load the modules first, using `qrequire`.)