<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PyQt &#8211; Signals, Slots and Layouts Tutorial</title>
	<atom:link href="http://www.harshj.com/2009/05/14/pyqt-signals-slots-and-layouts-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.harshj.com/2009/05/14/pyqt-signals-slots-and-layouts-tutorial/</link>
	<description>Memoirs of a QWERTY Keyboard</description>
	<lastBuildDate>Tue, 27 Jul 2010 09:06:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Helvin</title>
		<link>http://www.harshj.com/2009/05/14/pyqt-signals-slots-and-layouts-tutorial/comment-page-1/#comment-68366</link>
		<dc:creator>Helvin</dc:creator>
		<pubDate>Thu, 02 Jul 2009 22:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.harshj.com/?p=551#comment-68366</guid>
		<description>Waiting for your PyQt tutorials. Keep them coming PLEASE! :)</description>
		<content:encoded><![CDATA[<p>Waiting for your PyQt tutorials. Keep them coming PLEASE! <img src='http://www.harshj.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Helvin</title>
		<link>http://www.harshj.com/2009/05/14/pyqt-signals-slots-and-layouts-tutorial/comment-page-1/#comment-68365</link>
		<dc:creator>Helvin</dc:creator>
		<pubDate>Thu, 02 Jul 2009 22:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.harshj.com/?p=551#comment-68365</guid>
		<description>Hi,

I am a newbie, working on developing a GUI with PyQT. I tried your exercise. ^ ^ 
But somehow the slot doesn&#039;t work, and the text on my pushbutton does not even change, let alone toggle. &gt; &lt;


from PyQt4.QtCore import SIGNAL, SLOT
from PyQt4.QtGui import QApplication, QWidget, QPushButton, QLabel, QVBoxLayout
import sys

if __name__==&#039;__main__&#039;:
	App = QApplication(sys.argv)
	Window = QWidget()
	Window.setWindowTitle(&quot;PushButton Toggle Exercise&quot;)
	Layout = QVBoxLayout(Window)
	Button = QPushButton()
	Button.setText(&#039;Default&#039;)
	Layout.addWidget(Button)
	MyString = &#039;Welcome!&#039;
	Button.connect(Button, SIGNAL(&quot;pressed()&quot;), Button, SLOT(&quot;setText(MyString)&quot;))
	Window.show()
	App.exec_()
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am a newbie, working on developing a GUI with PyQT. I tried your exercise. ^ ^<br />
But somehow the slot doesn&#8217;t work, and the text on my pushbutton does not even change, let alone toggle. &gt; &lt;</p>
<p>from PyQt4.QtCore import SIGNAL, SLOT<br />
from PyQt4.QtGui import QApplication, QWidget, QPushButton, QLabel, QVBoxLayout<br />
import sys</p>
<p>if __name__==&#8217;__main__&#8217;:<br />
	App = QApplication(sys.argv)<br />
	Window = QWidget()<br />
	Window.setWindowTitle(&#8220;PushButton Toggle Exercise&#8221;)<br />
	Layout = QVBoxLayout(Window)<br />
	Button = QPushButton()<br />
	Button.setText(&#8216;Default&#8217;)<br />
	Layout.addWidget(Button)<br />
	MyString = &#8216;Welcome!&#8217;<br />
	Button.connect(Button, SIGNAL(&#8220;pressed()&#8221;), Button, SLOT(&#8220;setText(MyString)&#8221;))<br />
	Window.show()<br />
	App.exec_()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harsh</title>
		<link>http://www.harshj.com/2009/05/14/pyqt-signals-slots-and-layouts-tutorial/comment-page-1/#comment-68255</link>
		<dc:creator>Harsh</dc:creator>
		<pubDate>Sun, 07 Jun 2009 07:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.harshj.com/?p=551#comment-68255</guid>
		<description>Thank you for your comment :)

The next article, about Designer, should be up in a couple of days :)</description>
		<content:encoded><![CDATA[<p>Thank you for your comment <img src='http://www.harshj.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The next article, about Designer, should be up in a couple of days <img src='http://www.harshj.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 10</title>
		<link>http://www.harshj.com/2009/05/14/pyqt-signals-slots-and-layouts-tutorial/comment-page-1/#comment-68251</link>
		<dc:creator>10</dc:creator>
		<pubDate>Sat, 06 Jun 2009 17:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.harshj.com/?p=551#comment-68251</guid>
		<description>These tutorials are, so far, amazing. Thank you.</description>
		<content:encoded><![CDATA[<p>These tutorials are, so far, amazing. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harsh</title>
		<link>http://www.harshj.com/2009/05/14/pyqt-signals-slots-and-layouts-tutorial/comment-page-1/#comment-68109</link>
		<dc:creator>Harsh</dc:creator>
		<pubDate>Mon, 18 May 2009 13:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.harshj.com/?p=551#comment-68109</guid>
		<description>No one&#039;s done the takeaway problem? :P</description>
		<content:encoded><![CDATA[<p>No one&#8217;s done the takeaway problem? <img src='http://www.harshj.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aditya</title>
		<link>http://www.harshj.com/2009/05/14/pyqt-signals-slots-and-layouts-tutorial/comment-page-1/#comment-68007</link>
		<dc:creator>Aditya</dc:creator>
		<pubDate>Fri, 15 May 2009 06:01:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.harshj.com/?p=551#comment-68007</guid>
		<description>@cdk, he is doing great job. QwertyM is. Stop finding or trying to find problems with the article. :P</description>
		<content:encoded><![CDATA[<p>@cdk, he is doing great job. QwertyM is. Stop finding or trying to find problems with the article. <img src='http://www.harshj.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harsh</title>
		<link>http://www.harshj.com/2009/05/14/pyqt-signals-slots-and-layouts-tutorial/comment-page-1/#comment-67964</link>
		<dc:creator>Harsh</dc:creator>
		<pubDate>Thu, 14 May 2009 15:43:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.harshj.com/?p=551#comment-67964</guid>
		<description>Packages in Linux get vague with the distribution, but anyway, on Ubuntu you would need the &lt;a href=&quot;apt://python-qt4-dev&quot; rel=&quot;nofollow&quot;&gt;python-qt4-dev&lt;/a&gt; and the &lt;a href=&quot;apt://pyqt4-dev-tools&quot; rel=&quot;nofollow&quot;&gt;pyqt4-dev-tools&lt;/a&gt; packages.

Basically, look for packages that provide:
&lt;ul&gt;
&lt;li&gt;Python Bindings for Qt&#039;s C++ Libraries, and its development files.&lt;/li&gt;
&lt;li&gt;Qt 4 tools such as Assistant, Designer and Linguist along with Qt 4 documentation in HTML.&lt;/li&gt;
&lt;/ul&gt;

Follow the official installation guide at &lt;a href=&quot;http://riverbankcomputing.co.uk&quot; rel=&quot;nofollow&quot;&gt;Riverbank&lt;/a&gt; if you want to build it from scratch, since it varies from platform to platform. Hard to cover all, and since all guides are present at their respective developer websites why not follow them!

About an Editor, use the one you&#039;re comfortable with. For an IDE you can choose Eric4 or PyDev(Eclipse). There are a few more, and Google should help there :)

Windows should have an easier installer solution and I haven&#039;t much clue on the OS X front :)</description>
		<content:encoded><![CDATA[<p>Packages in Linux get vague with the distribution, but anyway, on Ubuntu you would need the <a href="apt://python-qt4-dev" rel="nofollow">python-qt4-dev</a> and the <a href="apt://pyqt4-dev-tools" rel="nofollow">pyqt4-dev-tools</a> packages.</p>
<p>Basically, look for packages that provide:</p>
<ul>
<li>Python Bindings for Qt&#8217;s C++ Libraries, and its development files.</li>
<li>Qt 4 tools such as Assistant, Designer and Linguist along with Qt 4 documentation in HTML.</li>
</ul>
<p>Follow the official installation guide at <a href="http://riverbankcomputing.co.uk" rel="nofollow">Riverbank</a> if you want to build it from scratch, since it varies from platform to platform. Hard to cover all, and since all guides are present at their respective developer websites why not follow them!</p>
<p>About an Editor, use the one you&#8217;re comfortable with. For an IDE you can choose Eric4 or PyDev(Eclipse). There are a few more, and Google should help there <img src='http://www.harshj.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Windows should have an easier installer solution and I haven&#8217;t much clue on the OS X front <img src='http://www.harshj.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chinmay Kamat</title>
		<link>http://www.harshj.com/2009/05/14/pyqt-signals-slots-and-layouts-tutorial/comment-page-1/#comment-67963</link>
		<dc:creator>Chinmay Kamat</dc:creator>
		<pubDate>Thu, 14 May 2009 13:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.harshj.com/?p=551#comment-67963</guid>
		<description>I had done a bit of GTK+ coding a few months back and the flow of things that you are following are pretty much the same that i followed then. Nice. The article itself is pretty good. The diagrams are self explanatory and help a lot. At the risk of sounding like a n00b i would suggest at u put up a list of packages to get he PyQt devel environment up and running. Sometimes this can be a pain. Sometimes. Keep the articles coming. :)</description>
		<content:encoded><![CDATA[<p>I had done a bit of GTK+ coding a few months back and the flow of things that you are following are pretty much the same that i followed then. Nice. The article itself is pretty good. The diagrams are self explanatory and help a lot. At the risk of sounding like a n00b i would suggest at u put up a list of packages to get he PyQt devel environment up and running. Sometimes this can be a pain. Sometimes. Keep the articles coming. <img src='http://www.harshj.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
