I would like to know how to disable the window Maximise button in pyqt4. I am at present using QWidget.setFixedSize (self, QSize) to prevent user window resizing, however the ma
This helped me:
Form.setMaximumSize(QtCore.QSize(width, height))
It would go here in your class:
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(328, 212) Form.setMaximumSize(QtCore.QSize(352, 189))