mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
.
This commit is contained in:
parent
b17386dd8f
commit
cab8b61616
@ -6,7 +6,7 @@ from gui.usefulwidget import getQMessageBox
|
||||
from traceback import print_exc
|
||||
|
||||
|
||||
class Textbrowser(QLabel):
|
||||
class Textbrowser(QFrame):
|
||||
contentsChanged = pyqtSignal(QSize)
|
||||
|
||||
def resizeEvent(self, event: QResizeEvent):
|
||||
|
@ -604,7 +604,7 @@ class QUnFrameWindow(resizableframeless):
|
||||
self.setWindowTitle("LunaTranslator")
|
||||
self.initvalues()
|
||||
self.initsignals()
|
||||
self._TitleLabel = QLabel(self)
|
||||
self._TitleLabel = QFrame(self)
|
||||
self._TitleLabel.setObjectName("_TitleLabel")
|
||||
self._TitleLabel.setMouseTracking(True)
|
||||
self.addbuttons()
|
||||
@ -698,7 +698,7 @@ class QUnFrameWindow(resizableframeless):
|
||||
)
|
||||
)
|
||||
self._TitleLabel.setStyleSheet(
|
||||
"QLabel#_TitleLabel{border-width: 0;%s;background-color: %s}"
|
||||
"#_TitleLabel{border-width: 0;%s;background-color: %s}"
|
||||
% (
|
||||
bottomr,
|
||||
str2rgba(
|
||||
|
Loading…
x
Reference in New Issue
Block a user