<?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: How one can start learning PyKDE ?</title>
	<atom:link href="http://kushaldas.in/2009/04/01/how-one-can-start-learning-pykde/feed/" rel="self" type="application/rss+xml" />
	<link>http://kushaldas.in/2009/04/01/how-one-can-start-learning-pykde/</link>
	<description>FOSS and life. Kushal Das talks here</description>
	<lastBuildDate>Fri, 11 Nov 2011 06:29:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: aamod</title>
		<link>http://kushaldas.in/2009/04/01/how-one-can-start-learning-pykde/comment-page-1/#comment-2373</link>
		<dc:creator>aamod</dc:creator>
		<pubDate>Tue, 07 Apr 2009 01:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://kushaldas.in/?p=365#comment-2373</guid>
		<description>I also faced the same problem when I wanted to try PyKDE.

Their is no documentation anywhere on techbase. Just &quot;svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebindings/python/pykde4
&quot; or via websvn &quot;http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/&quot;

The documentation and examples are in docs/ and examples/ directory respectively.

Hope this is good for your needs..

In PyKDE, the Q&#039;s in PyQt become K&#039;s.. ;-)</description>
		<content:encoded><![CDATA[<p>I also faced the same problem when I wanted to try PyKDE.</p>
<p>Their is no documentation anywhere on techbase. Just &#8220;svn co <a href="svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebindings/python/pykde4" rel="nofollow">svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebindings/python/pykde4</a><br />
&#8221; or via websvn &#8220;http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/&#8221;</p>
<p>The documentation and examples are in docs/ and examples/ directory respectively.</p>
<p>Hope this is good for your needs..</p>
<p>In PyKDE, the Q&#8217;s in PyQt become K&#8217;s.. ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will Stephenson</title>
		<link>http://kushaldas.in/2009/04/01/how-one-can-start-learning-pykde/comment-page-1/#comment-2360</link>
		<dc:creator>Will Stephenson</dc:creator>
		<pubDate>Wed, 01 Apr 2009 08:06:49 +0000</pubDate>
		<guid isPermaLink="false">http://kushaldas.in/?p=365#comment-2360</guid>
		<description>I just wrote my first PyKDE4 app, a tool for backporting branch fixes to packages.  Although I consider myself an experienced KDE C++ developer, I was in some ways a newbie because most of what I do is working on existing code or writing libraries, not breaking new ground (and I haven&#039;t used Python for years).

When working with PyKDE4, I found the PyQt documentation sufficient to learn the syntax and common idioms (QtCore.QObject.connect(), strings vs QString).  I used the TechBase KDE C++ tutorials and the pythonized versions of the KDE4.2 API docs to put together my app - which uses KConfigXT for saving settings, KXmlGuiWindow for menus and toolbars, and a number of Designer-created widgets for the UI itself, so it proved to me that you can write a full-blooded KDE app in Python, not just a hack or a toy. (There are many more prominent examples of full PyKDE apps, see techbase links)

I think working through the c++ tutorials using PyKDE will give you a good overview of which-class-does-what.  When you find an area that isn&#039;t covered, shout about it and we&#039;ll make more tutorials.  

For the UI question, you can of course hand-code, but using Designer is normal.  You can generate a Python script statically from the designer .ui, as is commonly done in c++ KDE, but most of the examples I saw generate the UI at runtime from the .ui.  I think that this is because a) there isn&#039;t any CMake infrastructure for generating .py from .ui with pyuic4 and b) you need to use pykdeuic4.py instead of pyuic4 if your .ui uses KDE instead of pure Qt widgets, otherwise the import statements for those widgets in the generated .py is broken.  At the moment, I am running pykdeuic4.py foo.ui &gt; foo.py by hand and committing the generated files...

Useful links:
PyQt4 overview: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html
PyQt4 api docs: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html
PyKDE4 api docs: http://api.kde.org/pykde-4.2-api/
PyKDE4 overview (more links!): http://techbase.kde.org/Development/Languages/Python
KDE tutorials.  Working through the &#039;Introduction to KDE 4 Programming&#039; tutorials should get you started: http://techbase.kde.org/Development/Tutorials</description>
		<content:encoded><![CDATA[<p>I just wrote my first PyKDE4 app, a tool for backporting branch fixes to packages.  Although I consider myself an experienced KDE C++ developer, I was in some ways a newbie because most of what I do is working on existing code or writing libraries, not breaking new ground (and I haven&#8217;t used Python for years).</p>
<p>When working with PyKDE4, I found the PyQt documentation sufficient to learn the syntax and common idioms (QtCore.QObject.connect(), strings vs QString).  I used the TechBase KDE C++ tutorials and the pythonized versions of the KDE4.2 API docs to put together my app &#8211; which uses KConfigXT for saving settings, KXmlGuiWindow for menus and toolbars, and a number of Designer-created widgets for the UI itself, so it proved to me that you can write a full-blooded KDE app in Python, not just a hack or a toy. (There are many more prominent examples of full PyKDE apps, see techbase links)</p>
<p>I think working through the c++ tutorials using PyKDE will give you a good overview of which-class-does-what.  When you find an area that isn&#8217;t covered, shout about it and we&#8217;ll make more tutorials.  </p>
<p>For the UI question, you can of course hand-code, but using Designer is normal.  You can generate a Python script statically from the designer .ui, as is commonly done in c++ KDE, but most of the examples I saw generate the UI at runtime from the .ui.  I think that this is because a) there isn&#8217;t any CMake infrastructure for generating .py from .ui with pyuic4 and b) you need to use pykdeuic4.py instead of pyuic4 if your .ui uses KDE instead of pure Qt widgets, otherwise the import statements for those widgets in the generated .py is broken.  At the moment, I am running pykdeuic4.py foo.ui &gt; foo.py by hand and committing the generated files&#8230;</p>
<p>Useful links:<br />
PyQt4 overview: <a href="http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html" rel="nofollow">http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html</a><br />
PyQt4 api docs: <a href="http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html" rel="nofollow">http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html</a><br />
PyKDE4 api docs: <a href="http://api.kde.org/pykde-4.2-api/" rel="nofollow">http://api.kde.org/pykde-4.2-api/</a><br />
PyKDE4 overview (more links!): <a href="http://techbase.kde.org/Development/Languages/Python" rel="nofollow">http://techbase.kde.org/Development/Languages/Python</a><br />
KDE tutorials.  Working through the &#8216;Introduction to KDE 4 Programming&#8217; tutorials should get you started: <a href="http://techbase.kde.org/Development/Tutorials" rel="nofollow">http://techbase.kde.org/Development/Tutorials</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andras</title>
		<link>http://kushaldas.in/2009/04/01/how-one-can-start-learning-pykde/comment-page-1/#comment-2358</link>
		<dc:creator>Andras</dc:creator>
		<pubDate>Wed, 01 Apr 2009 07:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://kushaldas.in/?p=365#comment-2358</guid>
		<description>Create your first application GUI from code to learn how it works and use later Qt Designer.</description>
		<content:encoded><![CDATA[<p>Create your first application GUI from code to learn how it works and use later Qt Designer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luca Beltrame</title>
		<link>http://kushaldas.in/2009/04/01/how-one-can-start-learning-pykde/comment-page-1/#comment-2356</link>
		<dc:creator>Luca Beltrame</dc:creator>
		<pubDate>Wed, 01 Apr 2009 06:50:08 +0000</pubDate>
		<guid isPermaLink="false">http://kushaldas.in/?p=365#comment-2356</guid>
		<description>AFAIK there are a few small tutorials in PyKDE, but for the rest you&#039;ll have to study the C++ API.</description>
		<content:encoded><![CDATA[<p>AFAIK there are a few small tutorials in PyKDE, but for the rest you&#8217;ll have to study the C++ API.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

