QListWidget中QListWidgetItem左边无法靠边问题

		item->setData(Qt::UserRole, index); // gsl note,第一个参数不使用Qt::UserRole,QListWidgetItem无法靠左边,原因未知。

猜你喜欢

转载自blog.csdn.net/weixin_42101997/article/details/84327481