This commit is contained in:
恍兮惚兮 2024-05-30 12:07:51 +08:00
parent d271e69e21
commit c1110822cb

View File

@ -266,6 +266,7 @@ class tagitem(QWidget):
key = (tag, _type, refdata) key = (tag, _type, refdata)
self.setLayout(tagLayout) self.setLayout(tagLayout)
lb = ClickableLabel() lb = ClickableLabel()
lb.setStyleSheet("background: transparent;")
lb.setText(tag) lb.setText(tag)
lb.clicked.connect(functools.partial(self.labelclicked.emit, key)) lb.clicked.connect(functools.partial(self.labelclicked.emit, key))
tagLayout.addWidget(lb) tagLayout.addWidget(lb)