mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
shit
This commit is contained in:
parent
281b4f32a9
commit
cb64beb810
@ -179,6 +179,9 @@ class closeashidewindow(saveposwindow):
|
|||||||
class MySwitch(QWidget):
|
class MySwitch(QWidget):
|
||||||
clicked = pyqtSignal(bool)
|
clicked = pyqtSignal(bool)
|
||||||
|
|
||||||
|
def click(self):
|
||||||
|
self.setChecked(not self.checked)
|
||||||
|
|
||||||
def sizeHint(self):
|
def sizeHint(self):
|
||||||
return QSize(
|
return QSize(
|
||||||
int(1.62 * globalconfig["buttonsize2"]), globalconfig["buttonsize2"]
|
int(1.62 * globalconfig["buttonsize2"]), globalconfig["buttonsize2"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user