.ui
files. This is a special XML-based format that stores your widgets as a tree. You can either load these files at runtime, or have them translated to a programming language such as C++ or Python. dialog.ui
. Then you can create another file, say main.py
, with the following contents: python main.py
on the command line, your dialog should open: