def disableTooltips(self) -> None:
buttonlist = self.findChildren(QToolButton)
for button in buttonlist:
button.installEventFilter(self)
if button == buttonlist[len(buttonlist)-1]:
button.setObjectName('saveButton')
评论列表
文章目录