QTableWidget,选择颜色不见了 [英] QTableWidget, selection color gone

查看:396
本文介绍了QTableWidget,选择颜色不见了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当选择qtablewidget的一个单元格时,它会突出显示,这是正确的。但是当我点击qtablewidget的空白区域时,突出显示的颜色消失了。猜猜看,前一个细胞仍然被选中。即使我点击表格的空白区域,是否有解决方案使突出显示仍然存在?

when one cell of qtablewidget is selected, it gets highlighted, that is correct. But when I click on the empty area of the qtablewidget, the highlighted color is gone. And guess what, the previous cell still remains selected. Is there a solution to make the highlighting to persist even if i click the empty area of table?

推荐答案

这篇关于QTableWidget,选择颜色不见了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆