This commit is contained in:
恍兮惚兮 2024-07-12 00:13:02 +08:00
parent 874baf09a3
commit f418c9beea

View File

@ -584,6 +584,7 @@ class QUnFrameWindow(resizableframeless):
self.initvalues()
self.initsignals()
self._TitleLabel = QLabel(self)
self._TitleLabel.setObjectName('_TitleLabel')
self._TitleLabel.setMouseTracking(True)
self.addbuttons()
self.translate_text = Textbrowser(self)
@ -672,7 +673,7 @@ class QUnFrameWindow(resizableframeless):
)
)
self._TitleLabel.setStyleSheet(
"border-width: 0;%s;background-color: %s"
"QLabel#_TitleLabel{border-width: 0;%s;background-color: %s}"
% (
bottomr,
str2rgba(