以下附上我的code
https://gist.github.com/cj044/279f792a216ee82b25d47cfd28fdda88
還有CSV 檔案
https://gist.github.com/cj044/8bb2ece639dae63fc59fa9dcce4e1716
https://github.com/cj044/VIP-HW (UI檔案)
Q1:
比較有問題的是 47 ~ 60
def All_class(self): #讀取全部的學生名單,存在列表裡
.....................
self.ui.listView1.setModel(qlist)
每次build
https://imgur.com/U3QMTlr
Q2:
再來debug的時候 看到 https://imgur.com/1WvkoK7
實在看不懂橘色框框的東西 self : < __main ___
這樣無助於我解bug
Q3:
Gituub All gists 的兩個檔案
https://gist.github.com/cj044/279f792a216ee82b25d47cfd28fdda88
還有CSV 檔案
https://gist.github.com/cj044/8bb2ece639dae63fc59fa9dcce4e1716
該如何跟
https://github.com/cj044/VIP-HW
放在同一個資料檔?
解了三天,google python qlist = QStringListModel() 還是無解?
只得到這個 https://its401.com/article/LaoYuanPython/104050416
謝謝!