MCPcopy Index your code
hub / github.com/PyQt5/PyQt / setTitleBarHeight

Method setTitleBarHeight

Demo/Lib/FramelessWindow.py:174–176  ·  view source on GitHub ↗

设置标题栏高度

(self, height=38)

Source from the content-addressed store, hash-verified

172 self.windowIconChanged.connect(self.titleBar.setIcon)
173
174 def setTitleBarHeight(self, height=38):
175 """设置标题栏高度"""
176 self.titleBar.setHeight(height)
177
178 def setIconSize(self, size):
179 """设置图标的大小"""

Callers

nothing calls this directly

Calls 1

setHeightMethod · 0.80

Tested by

no test coverage detected