Qt 无法访问 private 成员(在“QListWidget”类中声明)

2025-04-23 13:53:11
推荐回答(1个)
回答1:

waitlist.data()  取数据不是这样区取的

可以 waitlist.value(key)

或者waitlist[index]