mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
.
This commit is contained in:
parent
f5e91bbeff
commit
f070c4a3a9
@ -44,7 +44,7 @@ class QUnFrameWindow(resizableframeless):
|
|||||||
muteprocessignal = pyqtSignal()
|
muteprocessignal = pyqtSignal()
|
||||||
ocr_once_signal = pyqtSignal()
|
ocr_once_signal = pyqtSignal()
|
||||||
resizesignal = pyqtSignal(QSize)
|
resizesignal = pyqtSignal(QSize)
|
||||||
move_signal=pyqtSignal(QPoint)
|
move_signal = pyqtSignal(QPoint)
|
||||||
|
|
||||||
def hookfollowsignalsolve(self, code, other):
|
def hookfollowsignalsolve(self, code, other):
|
||||||
if self._move_drag:
|
if self._move_drag:
|
||||||
@ -586,7 +586,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.setObjectName("_TitleLabel")
|
||||||
self._TitleLabel.setMouseTracking(True)
|
self._TitleLabel.setMouseTracking(True)
|
||||||
self.addbuttons()
|
self.addbuttons()
|
||||||
self.translate_text = Textbrowser(self)
|
self.translate_text = Textbrowser(self)
|
||||||
@ -670,7 +670,11 @@ class QUnFrameWindow(resizableframeless):
|
|||||||
topr,
|
topr,
|
||||||
str2rgba(
|
str2rgba(
|
||||||
globalconfig["backcolor"],
|
globalconfig["backcolor"],
|
||||||
globalconfig["transparent"] * (not globalconfig["backtransparent"]),
|
max(
|
||||||
|
100 / 255,
|
||||||
|
globalconfig["transparent"]
|
||||||
|
* (not globalconfig["backtransparent"]),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user