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

Method applyPort

QTableWidget/SqlQuery.py:130–138  ·  view source on GitHub ↗

登机口

(self)

Source from the content-addressed store, hash-verified

128 self.sql[Tourist.license] = self.lineEditLicense.text().strip()
129
130 def applyPort(self):
131 """登机口"""
132 if not self.checkBoxPort.isChecked():
133 if Tourist.boardingport in self.sql:
134 # 移除
135 self.sql.pop(Tourist.boardingport)
136 # 更新或添加到字典里
137 else:
138 self.sql[Tourist.boardingport] = self.lineEditPort.text().strip()
139
140
141if __name__ == '__main__':

Callers 1

Calls 1

textMethod · 0.45

Tested by

no test coverage detected