0

I design a GUI in Qt Designer, convert to .py in cmd and start writing python code to run the GUI button's etc.

What happens if I want to modify the GUI again without typing all the GUI code myself - can I bring the .py file into Qt Designer again and export out, still retaining the code I've added?

M.Lord
  • 101
  • 10
  • No, it can not be done. Also read https://stackoverflow.com/questions/46544780/qtdesigner-changes-will-be-lost-after-redesign-user-interface – eyllanesc Mar 06 '20 at 07:40
  • To add to the answer linked by @eyllanesc: the usual workflow when using a ui designed in QtDesigner is to leave the .ui/.py files as they are, and import them in a separate script where you can add whatever functionality you need. – Heike Mar 06 '20 at 07:43

0 Answers0