I was trying to make a Popup menu but with a UI that has more than just simple buttons. I need comboboxes and layouts for it too.
So as I was loading QMessageBox and after it use the inherited property from widget, setupUi.
Considering the documentation it should be possible but Krita says
QMessageBox does not have the attribute
my first attempt was this:
self.ui = QMessageBox() self.ui.setupUi(self.dir_path + 'file.ui')
Is Message Boxes something that remains locked in the type of UI you can set on it or you can acctually edit the UI for real.