Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何设置 QTableWidgetItem 编辑器背景颜色?
我设置了非白色背景的项目
setItem(row, column, itm);
当我编辑这个项目的文本时,背景是白色的。我需要将其背景颜色设置为不处于编辑状态时。