直接以数值固定大小

根据屏幕大小固定大小

禁止最大化按钮

MainWindow.setWindowFlags(QtCore.Qt.WindowMinimizeButtonHint)