How to open a separate UI Window from QMainWindow?
0
So I have a MainWindow.ui in the class QMainWindow. I also have a separate QWidget and QDialog window (not sure which one is better to use) that I would like to open by using the menu bar from MainWindow.ui. I know that I can simply do something like: self.main_layout.addWidget(self.form_widget) or flashC = flashCard() flashC.show() But I want to do this in Qt Designer, so that I don't have to change the .py file every time I run pyuic5 (since these changes will be replaced upon running.) My question is, how do I make it so that QMainWindow can open other windows that I make later from within Qt Designer . Right now I can't access any other windows in my signal/slot editor. I've been trying to figure this out and the books and other resources that I've looked at haven't pointed ...