MCPcopy Index your code
hub / github.com/PyQt5/PyQt / applyName

Method applyName

QTableWidget/SqlQuery.py:100–108  ·  view source on GitHub ↗

姓名

(self)

Source from the content-addressed store, hash-verified

98 row, 9, QTableWidgetItem(str(tourist.destinationstation)))
99
100 def applyName(self):
101 """姓名"""
102 if not self.checkBoxName.isChecked():
103 if Tourist.name in self.sql:
104 # 移除
105 self.sql.pop(Tourist.name)
106 # 更新或添加到字典里
107 else:
108 self.sql[Tourist.name] = self.lineEditName.text().strip()
109
110 def applySeat(self):
111 """座位号"""

Callers 1

Calls 1

textMethod · 0.45

Tested by

no test coverage detected