Split EditDialog into its own file.
Ignore generated *_ui.py files.
Custom QPdf type.