更改数据库后不再显示数据库名
This commit is contained in:
parent
3befd6b6d0
commit
fe29401dc3
|
|
@ -16,7 +16,7 @@ class MyWindow_sxth(QWidget,Ui_Form):
|
||||||
self.bind()
|
self.bind()
|
||||||
def setdbname(self,string):
|
def setdbname(self,string):
|
||||||
self.database_name = string
|
self.database_name = string
|
||||||
print(self.database_name)
|
# print(self.database_name)
|
||||||
def bind(self):
|
def bind(self):
|
||||||
self.pushButton_content.clicked.connect(lambda: self.add_content("content"))
|
self.pushButton_content.clicked.connect(lambda: self.add_content("content"))
|
||||||
self.pushButton_obj.clicked.connect(lambda: self.add_content("objs"))
|
self.pushButton_obj.clicked.connect(lambda: self.add_content("objs"))
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ class MyWindow_sctp(QWidget,Ui_Form):
|
||||||
self.bind()
|
self.bind()
|
||||||
def setdbname(self,string):
|
def setdbname(self,string):
|
||||||
self.database_name = string
|
self.database_name = string
|
||||||
print(self.database_name)
|
# print(self.database_name)
|
||||||
|
|
||||||
def bind(self):
|
def bind(self):
|
||||||
self.pushButton_open.setDisabled(True)
|
self.pushButton_open.setDisabled(True)
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ class MyWindow_kxth(QWidget,Ui_Form):
|
||||||
|
|
||||||
def setdbname(self,string):
|
def setdbname(self,string):
|
||||||
self.database_name = string
|
self.database_name = string
|
||||||
print(self.database_name)
|
# print(self.database_name)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ class MyWindow_xtby(QWidget,Ui_Form):
|
||||||
|
|
||||||
def setdbname(self,string):
|
def setdbname(self,string):
|
||||||
self.database_name = string
|
self.database_name = string
|
||||||
print(self.database_name)
|
# print(self.database_name)
|
||||||
def bind(self):
|
def bind(self):
|
||||||
outputpath = os.path.join(os.getcwd(),"临时文件")
|
outputpath = os.path.join(os.getcwd(),"临时文件")
|
||||||
self.lineEdit_path.setText(outputpath)
|
self.lineEdit_path.setText(outputpath)
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ class MyWindow_ndsx(QWidget,Ui_widget):
|
||||||
|
|
||||||
def setdbname(self,string):
|
def setdbname(self,string):
|
||||||
self.database_name = string
|
self.database_name = string
|
||||||
print(self.database_name)
|
# print(self.database_name)
|
||||||
|
|
||||||
def exec(self):
|
def exec(self):
|
||||||
startdate = self.lineEdit_startdate.text()
|
startdate = self.lineEdit_startdate.text()
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ class MyWindow_jysc(QWidget,Ui_Form):
|
||||||
|
|
||||||
def setdbname(self,string):
|
def setdbname(self,string):
|
||||||
self.database_name = string
|
self.database_name = string
|
||||||
print(self.database_name)
|
# print(self.database_name)
|
||||||
|
|
||||||
def saveandbuild(self):
|
def saveandbuild(self):
|
||||||
patterns = self.lineEdit_regex.text().strip().split(",")
|
patterns = self.lineEdit_regex.text().strip().split(",")
|
||||||
|
|
|
||||||
Reference in New Issue