<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Posts in Lateral Opinion about rst2qhc</title><link>http://lateral.netmanagers.com.ar/</link><description>I write free software. I have an opinion on almost everything. I write quickly. A weblog was inevitable.

&lt;hr&gt;

All contents of this site written by me are free.
Copy, modify, whatever, just put my name in it, and if you change the contents, clearly say so in the same page. Please provide a link back to the original.

All images that are not my own should be available under a Creative Commons license. If that's not the case, please report and I will fix it.</description><lastBuildDate>Tue, 06 Jul 2010 01:35:52 GMT</lastBuildDate><generator>PyRSS2Gen-1.0.0</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/rst2qhc" /><feedburner:info uri="rst2qhc" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Using assistant from PyQt</title><description>&lt;p&gt;The uRSSus doc is slowly growing, so I hooked assistant to the UI. Not difficult, but I have not seen it elsewhere.&lt;/p&gt;
&lt;p&gt;Here's how:&lt;/p&gt;
&lt;p&gt;Assume the &amp;quot;Handbook action&amp;quot; is called action_Handbook.
Set window.assistant to None in __init__.&lt;/p&gt;
&lt;div class="code-block" style="background: #f8f8f8"&gt;&lt;pre style="line-height: 125%"&gt;&lt;span style="color: #008000; font-weight: bold"&gt;def&lt;/span&gt; &lt;span style="color: #0000FF"&gt;on_action_Handbook_triggered&lt;/span&gt;(&lt;span style="color: #008000"&gt;self&lt;/span&gt;, i&lt;span style="color: #666666"&gt;=&lt;/span&gt;&lt;span style="color: #008000"&gt;None&lt;/span&gt;):
    &lt;span style="color: #008000; font-weight: bold"&gt;if&lt;/span&gt; i&lt;span style="color: #666666"&gt;==&lt;/span&gt;&lt;span style="color: #008000"&gt;None&lt;/span&gt;: &lt;span style="color: #008000; font-weight: bold"&gt;return&lt;/span&gt;

    &lt;span style="color: #008000; font-weight: bold"&gt;if&lt;/span&gt; &lt;span style="color: #AA22FF; font-weight: bold"&gt;not&lt;/span&gt; &lt;span style="color: #008000"&gt;self&lt;/span&gt;&lt;span style="color: #666666"&gt;.&lt;/span&gt;assistant &lt;span style="color: #AA22FF; font-weight: bold"&gt;or&lt;/span&gt; \
       &lt;span style="color: #AA22FF; font-weight: bold"&gt;not&lt;/span&gt; &lt;span style="color: #008000"&gt;self&lt;/span&gt;&lt;span style="color: #666666"&gt;.&lt;/span&gt;assistant&lt;span style="color: #666666"&gt;.&lt;/span&gt;poll()&lt;span style="color: #666666"&gt;==&lt;/span&gt;&lt;span style="color: #008000"&gt;None&lt;/span&gt;:

        helpcoll&lt;span style="color: #666666"&gt;=&lt;/span&gt;os&lt;span style="color: #666666"&gt;.&lt;/span&gt;path&lt;span style="color: #666666"&gt;.&lt;/span&gt;join(os&lt;span style="color: #666666"&gt;.&lt;/span&gt;path&lt;span style="color: #666666"&gt;.&lt;/span&gt;abspath(os&lt;span style="color: #666666"&gt;.&lt;/span&gt;path&lt;span style="color: #666666"&gt;.&lt;/span&gt;dirname(__file__)),\
                              &lt;span style="color: #BA2121"&gt;&amp;#39;help&amp;#39;&lt;/span&gt;,\
                              &lt;span style="color: #BA2121"&gt;&amp;#39;out&amp;#39;&lt;/span&gt;,\
                              &lt;span style="color: #BA2121"&gt;&amp;#39;collection.qhc&amp;#39;&lt;/span&gt;)
        cmd&lt;span style="color: #666666"&gt;=&lt;/span&gt;&lt;span style="color: #BA2121"&gt;&amp;quot;assistant -enableRemoteControl -collectionFile &lt;/span&gt;&lt;span style="color: #BB6688; font-weight: bold"&gt;%s&lt;/span&gt;&lt;span style="color: #BA2121"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #666666"&gt;%&lt;/span&gt;helpcoll
        &lt;span style="color: #008000"&gt;self&lt;/span&gt;&lt;span style="color: #666666"&gt;.&lt;/span&gt;assistant&lt;span style="color: #666666"&gt;=&lt;/span&gt;subprocess&lt;span style="color: #666666"&gt;.&lt;/span&gt;Popen(cmd,
                                        shell&lt;span style="color: #666666"&gt;=&lt;/span&gt;&lt;span style="color: #008000"&gt;True&lt;/span&gt;,
                                        stdin&lt;span style="color: #666666"&gt;=&lt;/span&gt;subprocess&lt;span style="color: #666666"&gt;.&lt;/span&gt;PIPE)
    &lt;span style="color: #008000"&gt;self&lt;/span&gt;&lt;span style="color: #666666"&gt;.&lt;/span&gt;assistant&lt;span style="color: #666666"&gt;.&lt;/span&gt;stdin&lt;span style="color: #666666"&gt;.&lt;/span&gt;write(&lt;span style="color: #BA2121"&gt;&amp;quot;SetSource qthelp://urssus/doc/handbook.html&lt;/span&gt;&lt;span style="color: #BB6622; font-weight: bold"&gt;\n&lt;/span&gt;&lt;span style="color: #BA2121"&gt;&amp;quot;&lt;/span&gt;)
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;And that's it. Now I ned to figure out context help.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fS3lLXb4y0pI-gxKTxyANglLWGs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fS3lLXb4y0pI-gxKTxyANglLWGs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fS3lLXb4y0pI-gxKTxyANglLWGs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fS3lLXb4y0pI-gxKTxyANglLWGs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/rst2qhc?a=A13UzTs471w:wCpQ0S5Wo-w:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rst2qhc?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/rst2qhc?a=A13UzTs471w:wCpQ0S5Wo-w:bcOpcFrp8Mo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rst2qhc?d=bcOpcFrp8Mo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/rst2qhc/~4/A13UzTs471w" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://lateral.netmanagers.com.ar/weblog/posts/BB780.html</guid><pubDate>Sun, 01 Mar 2009 10:43:35 GMT</pubDate><link>http://feedproxy.google.com/~r/rst2qhc/~3/A13UzTs471w/BB780.html</link><feedburner:origLink>http://lateral.netmanagers.com.ar/weblog/posts/BB780.html</feedburner:origLink></item><item><title>rst2qhc 0.2: the insomnia release</title><description>&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JiuD52_iHph6R7IopV8tZnsECAU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JiuD52_iHph6R7IopV8tZnsECAU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JiuD52_iHph6R7IopV8tZnsECAU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JiuD52_iHph6R7IopV8tZnsECAU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/rst2qhc?a=2UF--psA3Xc:mBylx9929-s:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rst2qhc?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/rst2qhc?a=2UF--psA3Xc:mBylx9929-s:bcOpcFrp8Mo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rst2qhc?d=bcOpcFrp8Mo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/rst2qhc/~4/2UF--psA3Xc" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://lateral.netmanagers.com.ar/weblog/posts/BB778.html</guid><pubDate>Mon, 23 Feb 2009 11:22:31 GMT</pubDate><link>http://feedproxy.google.com/~r/rst2qhc/~3/2UF--psA3Xc/BB778.html</link><feedburner:origLink>http://lateral.netmanagers.com.ar/weblog/posts/BB778.html</feedburner:origLink></item><item><title>Now you, too can create Qt Help Files painlessly</title><description>&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/BYlkuHuQOylqpTH2UlV5tVXtj5s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BYlkuHuQOylqpTH2UlV5tVXtj5s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/BYlkuHuQOylqpTH2UlV5tVXtj5s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BYlkuHuQOylqpTH2UlV5tVXtj5s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/rst2qhc?a=UpD0PgZ3B_c:7mG9HDDCTmE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rst2qhc?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/rst2qhc?a=UpD0PgZ3B_c:7mG9HDDCTmE:bcOpcFrp8Mo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rst2qhc?d=bcOpcFrp8Mo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/rst2qhc/~4/UpD0PgZ3B_c" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://lateral.netmanagers.com.ar/weblog/posts/BB777.html</guid><pubDate>Sun, 22 Feb 2009 03:18:15 GMT</pubDate><link>http://feedproxy.google.com/~r/rst2qhc/~3/UpD0PgZ3B_c/BB777.html</link><feedburner:origLink>http://lateral.netmanagers.com.ar/weblog/posts/BB777.html</feedburner:origLink></item></channel></rss>

