mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
Update settingpage7.py
This commit is contained in:
parent
7680b0cfa8
commit
d79902024d
@ -27,7 +27,7 @@ from myutils.config import (
|
|||||||
_TRL,
|
_TRL,
|
||||||
)
|
)
|
||||||
import functools, gobject
|
import functools, gobject
|
||||||
from gui.usefulwidget import getcolorbutton, getsimpleswitch
|
from gui.usefulwidget import getcolorbutton, getsimpleswitch, getQMessageBox
|
||||||
from gui.codeacceptdialog import codeacceptdialog
|
from gui.codeacceptdialog import codeacceptdialog
|
||||||
from gui.inputdialog import (
|
from gui.inputdialog import (
|
||||||
getsomepath1,
|
getsomepath1,
|
||||||
@ -410,7 +410,16 @@ class noundictconfigdialog(QDialog):
|
|||||||
for row in range(rows):
|
for row in range(rows):
|
||||||
model.item(row, 0).setText("0")
|
model.item(row, 0).setText("0")
|
||||||
|
|
||||||
button5.clicked.connect(clicked5)
|
button5.clicked.connect(
|
||||||
|
lambda: getQMessageBox(
|
||||||
|
self,
|
||||||
|
"警告",
|
||||||
|
"!!!",
|
||||||
|
True,
|
||||||
|
True,
|
||||||
|
lambda: clicked5(),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
search = QHBoxLayout()
|
search = QHBoxLayout()
|
||||||
searchcontent = QLineEdit()
|
searchcontent = QLineEdit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user