<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Custom on Nikhil&#39;s blog</title>
    <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/tags/custom/</link>
    <description>Recent content in Custom on Nikhil&#39;s blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Mon, 01 Dec 2008 18:48:00 +0000</lastBuildDate>
    <atom:link href="https://master--suspicious-stonebraker-7d2d21.netlify.app/tags/custom/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Filtering QTreeView</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/filtering-qtreeview/</link>
      <pubDate>Mon, 01 Dec 2008 18:48:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/filtering-qtreeview/</guid>
      <description>While working on my newest project, I had a miserable time figuring out how to filter sub-items in QTreeView and its associated models (like in kopete/pidgin). The first thing to do is to use QSortFilterProxy as a middleman. The problem is that QSortFilterProxy will only search top level tree nodes.&#xA;The way to implement custom filters is to subclass QSortFilterProxy and reimplement filterAcceptsRow(). But I couldn&#39;t figure out any way to quickly access sub elements using QModelIndex, nor could I find anything on the &#39;net.</description>
    </item>
  </channel>
</rss>
