How can I prevent a QDialog in PyQt from being resizeable or maximazable? I don't want the window's size changed.
Use setFixedSize:
mydialog.setFixedSize(width, height)