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