(五 交互-4)QListWidget Class Click

1. 点击 button 实现刷新

Code Sample

  self.btnRefresh.clicked.connect(self.fn_refresh)

2. 点击 combo box 实现刷新

Code Sample

 self.cbHRNum.currentTextChanged.connect(self.fn_refresh)

Reference

http://doc.qt.io/qt-5/qlistwidget.html

你可能感兴趣的:((五 交互-4)QListWidget Class Click)