1、QListWidget{ show-decoration-selected:0; } show-decoration-selected :控制QListView中的选择是覆盖整个行还是仅覆盖文本范围。