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

Method applySeat

QTableWidget/SqlQuery.py:110–118  ·  view source on GitHub ↗

座位号

(self)

Source from the content-addressed store, hash-verified

108 self.sql[Tourist.name] = self.lineEditName.text().strip()
109
110 def applySeat(self):
111 """座位号"""
112 if not self.checkBoxSeat.isChecked():
113 if Tourist.seatnumber in self.sql:
114 # 移除
115 self.sql.pop(Tourist.seatnumber)
116 # 更新或添加到字典里
117 else:
118 self.sql[Tourist.seatnumber] = self.lineEditSeat.text().strip()
119
120 def applyLicense(self):
121 """证件号"""

Callers 1

Calls 1

textMethod · 0.45

Tested by

no test coverage detected