Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用该项目后,QTableWidget 中选中行的问题 #7

Open
2021hello opened this issue Dec 6, 2023 · 2 comments
Open

使用该项目后,QTableWidget 中选中行的问题 #7

2021hello opened this issue Dec 6, 2023 · 2 comments

Comments

@2021hello
Copy link

使用该项目后,原来 选中 QTableWidget 的 某一行后,该行全行选中,默认蓝色选中行,现在可以被选中,但是视觉上啥也没有,没有蓝色条条了,需要怎么处理,才能实现原来的“蓝色选中行”呢?

@gnibuoz
Copy link
Owner

gnibuoz commented May 7, 2024

需要检查下QRibbon中的QSS,应该是因为项目中引入的QRibbon的样式表与现有项目有些冲突

@gnibuoz
Copy link
Owner

gnibuoz commented May 7, 2024

@2021hello QTableView::item:selected {
background: rgba(255, 0, 0, 180);/设置表格选中颜色/
font-weight:bold;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants