how to disable the window maximize icon using PyQt4?

后端 未结 4 1713
自闭症患者
自闭症患者 2021-02-06 01:18

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

4条回答
  •  醉话见心
    2021-02-06 01:47

    you could set the maximumSize and minimumSize with the same values, it'll get to dissapear maximise button

提交回复
热议问题