miqt/examples/uidesigner
2024-10-26 14:18:49 +13:00
..
design.go examples/uidesigner: recompile with latest uic 2024-10-26 14:18:49 +13:00
design.ui uic: deeper implementation, add uidesigner example 2024-09-28 14:27:19 +12:00
main.go examples/uidesigner: remove fmt package dependency 2024-09-28 14:47:31 +12:00
README.md examples/uidesigner: add README and screenshots 2024-09-28 14:47:41 +12:00
uidesigner.miqt.png examples/uidesigner: add README and screenshots 2024-09-28 14:47:41 +12:00
uidesigner.png examples/uidesigner: add README and screenshots 2024-09-28 14:47:41 +12:00

miqt/examples/uidesigner

This example shows how to use Qt Designer and miqt-uic to design a UI.

1. Design

Use Qt Designer to build the UI and save as a .ui XML file.

2. Compile

Compile the .ui XML to Go code with the miqt-uic tool.

miqt-uic -InFile design.ui -OutFile design.go

Some advanced configuration for miqt-uic can be done with other command-line arguments. Run miqt-uic -Help for more information.

3. Use

Use the generated types.