Pyqt5 method of forbidding window maximization and window stretching

Time:2019-11-6

As follows:

Add in def init (self): function

self.setFixedSize(self.width(), self.height())

The above pyqt5 method to disable window maximization and window stretching is all the content shared by Xiaobian. I hope it can give you a reference and support developepaer.

Recommended Today

Oracle (PLSQL) introduction 1

Oracle installation, user authorization, table operation, data type, DDL table, DML data. Next: Oracle introduction 2 Learning video: https://www.bilibili.com/video/BV1tJ411r7EC?p=15 Baidu cloud installation package is attached to the installation tutorial: https://blog.csdn.net/qq_ 40774525/article/details/79919057 Oracle Baidu cloud installation package: https://pan.baidu.com/s/1qVWwCUR37j2JxEecYbe5HQ Extraction code: 5abz After the Oracle service above is installed, open the client of SQL developer and the […]