设置标题栏高度
(self, height=38)
| 88 | self.windowNormaled.emit() |
| 89 | |
| 90 | def setHeight(self, height=38): |
| 91 | """设置标题栏高度""" |
| 92 | self.setMinimumHeight(height) |
| 93 | self.setMaximumHeight(height) |
| 94 | # 设置右边按钮的大小 |
| 95 | self.buttonMinimum.setMinimumSize(height, height) |
| 96 | self.buttonMinimum.setMaximumSize(height, height) |
| 97 | self.buttonMaximum.setMinimumSize(height, height) |
| 98 | self.buttonMaximum.setMaximumSize(height, height) |
| 99 | self.buttonClose.setMinimumSize(height, height) |
| 100 | self.buttonClose.setMaximumSize(height, height) |
| 101 | |
| 102 | def setTitle(self, title): |
| 103 | """设置标题""" |
no outgoing calls
no test coverage detected