<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2009-06-23:414448</id>
  <title>Thomas Fischer</title>
  <subtitle>Life, Linux, LaTeX and more...</subtitle>
  <author>
    <name>Thomas Fischer</name>
  </author>
  <link rel="alternate" type="text/html" href="https://t-fischer.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://t-fischer.dreamwidth.org/data/atom"/>
  <updated>2011-05-08T13:15:16Z</updated>
  <dw:journal username="t_fischer" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2009-06-23:414448:1589</id>
    <link rel="alternate" type="text/html" href="https://t-fischer.dreamwidth.org/1589.html"/>
    <link rel="self" type="text/xml" href="https://t-fischer.dreamwidth.org/data/atom/?itemid=1589"/>
    <title>QTreeView with Radio Button</title>
    <published>2011-05-08T07:36:15Z</published>
    <updated>2011-05-08T13:15:16Z</updated>
    <category term="programming"/>
    <category term="radio button"/>
    <category term="kde"/>
    <category term="kbibtex"/>
    <category term="qt"/>
    <dw:mood>creative</dw:mood>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">&lt;p&gt;&lt;a href="http://qt.nokia.com/"&gt;Qt&lt;/a&gt;'s &lt;a href="http://doc.qt.nokia.com/latest/qtreeview.html"&gt;QTreeView widget&lt;/a&gt; is a versatile tool to display information such as the content of a filesystem or the DOM tree of an XML file. Using the &lt;a href="http://doc.qt.nokia.com/latest/model-view-programming.html"&gt;Model-View-Control (MVC) pattern&lt;/a&gt;, you can greatly control what, where, and how information is visualized. You can add icons or checkboxes to items, change color, font, or other aspects of the paint operation. What is missing is support for radio buttons in a QTreeView, but this post will show how to do it yourself.&lt;/p&gt;
&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://t-fischer.dreamwidth.org/1589.html#cutid1"&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=t_fischer&amp;ditemid=1589" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
