Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyQt5/PyQt
/ setTitle
Method
setTitle
Demo/Lib/FramelessWindow.py:102–104 ·
view source on GitHub ↗
设置标题
(self, title)
Source
from the content-addressed store, hash-verified
100
self.buttonClose.setMaximumSize(height, height)
101
102
def
setTitle(self, title):
103
""
"设置标题"
""
104
self.titleLabel.setText(title)
105
106
def
setIcon(self, icon):
107
""
"设置图标"
""
Callers
1
retranslateUi
Method · 0.45
Calls
1
setText
Method · 0.45
Tested by
no test coverage detected