姓名
(self)
| 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 | """座位号""" |
no test coverage detected