mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +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
|
from traceback import print_exc
|
||||||
|
|
||||||
|
|
||||||
class Textbrowser(QLabel):
|
class Textbrowser(QFrame):
|
||||||
contentsChanged = pyqtSignal(QSize)
|
contentsChanged = pyqtSignal(QSize)
|
||||||
|
|
||||||
def resizeEvent(self, event: QResizeEvent):
|
def resizeEvent(self, event: QResizeEvent):
|
||||||
|
@ -604,7 +604,7 @@ class QUnFrameWindow(resizableframeless):
|
|||||||
self.setWindowTitle("LunaTranslator")
|
self.setWindowTitle("LunaTranslator")
|
||||||
self.initvalues()
|
self.initvalues()
|
||||||
self.initsignals()
|
self.initsignals()
|
||||||
self._TitleLabel = QLabel(self)
|
self._TitleLabel = QFrame(self)
|
||||||
self._TitleLabel.setObjectName("_TitleLabel")
|
self._TitleLabel.setObjectName("_TitleLabel")
|
||||||
self._TitleLabel.setMouseTracking(True)
|
self._TitleLabel.setMouseTracking(True)
|
||||||
self.addbuttons()
|
self.addbuttons()
|
||||||
@ -698,7 +698,7 @@ class QUnFrameWindow(resizableframeless):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
self._TitleLabel.setStyleSheet(
|
self._TitleLabel.setStyleSheet(
|
||||||
"QLabel#_TitleLabel{border-width: 0;%s;background-color: %s}"
|
"#_TitleLabel{border-width: 0;%s;background-color: %s}"
|
||||||
% (
|
% (
|
||||||
bottomr,
|
bottomr,
|
||||||
str2rgba(
|
str2rgba(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user