Qt 6.11 is out! See what's new in the release
blog
QListWidget look
-
Hi,
I like how the QListWidget looks when I don't allow selections. Is there an easy way to get QListWidget to draw the selections like it does the active QListWidgetItem without selections?
Josh
@JoshG
I don't know what "active" vs "selected" looks like, but are you aware you can alter the appearance from stylesheet via::item:selectedper https://doc.qt.io/qt-6/stylesheet-examples.html#customizing-qlistview? You can't "copy" from theactivestyle though. You could do that instead in code inQStyledItemDelegate::paint()if you wanted that.