<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to set stylesheet for a single item in the Qlistview?]]></title><description><![CDATA[<p dir="auto">I have a QListView containing QStandardItems . How to set stylesheet for a single item in the Qlistview based on the QModelIndex acquired?</p>
]]></description><link>https://forum.qt.io/topic/28040/how-to-set-stylesheet-for-a-single-item-in-the-qlistview</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 04:41:24 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/28040.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Jun 2013 10:06:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to set stylesheet for a single item in the Qlistview? on Fri, 07 Jun 2013 10:38:02 GMT]]></title><description><![CDATA[<p dir="auto">For a specific item you shoul use "QStyledItemDelegate":<a href="http://qt-project.org/doc/qt-4.8/QStyledItemDelegate.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/doc/qt-4.8/QStyledItemDelegate.html</a> or overwrite the QListView::data() and filter inside. The first option is better.</p>
]]></description><link>https://forum.qt.io/post/181974</link><guid isPermaLink="true">https://forum.qt.io/post/181974</guid><dc:creator><![CDATA[francescmm]]></dc:creator><pubDate>Fri, 07 Jun 2013 10:38:02 GMT</pubDate></item></channel></rss>