Home Website Youtube GitHub

Dynamically building settingsUI with QtCompat

I’ve implemented a base class for the settingsTab that will load the settingsUI.ui file via the mgear.vendor.Qt.QtCompat.loadUi method.

For me personally, it makes developing the settings tabs in QtDeisgner faster and stops the issues I’ve been having of the settingsTab not reloading properly. It seems like the relative imports mess up, and my compiled new settingsUI.py isn’t being picked up and turned into a pyc file. Somehow it’s loading another settingsUI.py file.

implementation gist

I can create a pull request for this if helpful. Saves me monkey patching this into our setup.


Hi @Dave_Moulder I am catching up with all the posts. I see you have a few interesting topis. I will try to reply ASAP