<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rat on red &#187; planet.pardus</title>
	<atom:link href="http://blog.ratonred.com/tag/planet-pardus/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ratonred.com</link>
	<description>Gökmen GÖKSEL's blog.</description>
	<lastBuildDate>Fri, 03 Jul 2009 17:12:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pardus 2009 Alpha Released</title>
		<link>http://blog.ratonred.com/2009/05/pardus-2009-alpha-released/</link>
		<comments>http://blog.ratonred.com/2009/05/pardus-2009-alpha-released/#comments</comments>
		<pubDate>Thu, 28 May 2009 05:30:24 +0000</pubDate>
		<dc:creator>Gökmen Göksel</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Pardus]]></category>
		<category><![CDATA[planet.kde]]></category>
		<category><![CDATA[planet.pardus]]></category>

		<guid isPermaLink="false">http://blog.ratonred.com/?p=383</guid>
		<description><![CDATA[We just released Pardus 2009 Alpha with great work of our team and release maintainer \o/ Alpha includes KDE 4.2.3 with some of backported changes, Linux 2.6.30_rc7 and also a series of new managers for end-users. You can grab it from here.
A little time left for the final release ;)
]]></description>
			<content:encoded><![CDATA[<p>We just released <a target="_blank" title="Pardus" href="http://www.pardus.org.tr">Pardus</a> 2009 Alpha with great work of our team and release maintainer \o/ Alpha includes <a target="_blank" title="KDE" href="http://www.kde.org">KDE</a> 4.2.3 with some of backported changes, Linux 2.6.30_rc7 and also a series of new managers for end-users. You can grab it from <a target="_blank" href="ftp://ftp.pardus.org.tr/pub/pardus/kurulan/2009-Alpha/">here</a>.</p>
<p>A little time left for the final release ;)</p>
<p style="text-align: center;"><img class="alignnone" src="http://cekirdek.pardus.org.tr/~gokmen/timer.php?en" alt="" width="175" height="85" /></p>]]></content:encoded>
			<wfw:commentRss>http://blog.ratonred.com/2009/05/pardus-2009-alpha-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nokia Developer Summit, New NM \o/</title>
		<link>http://blog.ratonred.com/2009/04/nokia-developer-summit-new-nm-o/</link>
		<comments>http://blog.ratonred.com/2009/04/nokia-developer-summit-new-nm-o/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 15:11:08 +0000</pubDate>
		<dc:creator>Gökmen Göksel</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Pardus]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[planet.kde]]></category>
		<category><![CDATA[planet.pardus]]></category>

		<guid isPermaLink="false">http://blog.ratonred.com/?p=356</guid>
		<description><![CDATA[While watching some great talks in Nokia Developer Summit, Monaco I decided to blog about our new Network Manager which is made with great capabilities of KDE, Qt and Comar.
If you remember from my blog entry about Network Manager Plasmoid, Pardus uses Comar layer for all stuff that needs by a desktop user; networking, user [...]]]></description>
			<content:encoded><![CDATA[<p>While watching some great talks in <a target="_blank" href="http://events.nokia.com/developersummit/">Nokia Developer Summit, Monaco</a> I decided to blog about our new Network Manager which is made with great capabilities of <a target="_blank" title="KDE" href="http://www.kde.org">KDE</a>, Qt and Comar.</p>
<p>If you remember from my blog entry about <a target="_blank" href="http://blog.ratonred.com/2009/02/network-manager-plasmoid/">Network Manager Plasmoid</a>, <a title="Pardus" href="http://www.pardus.org.tr">Pardus</a> uses Comar layer for all stuff that needs by a desktop user; networking, user operations, service operations, display management, disk management etc. It also integrated with PolicyKit; so you can define atomic privileges per user. Comar also provides great API that helps Qt&#8217;s &#8220;<strong>Code less, Create more.</strong>&#8221; thought ;)</p>
<p style="text-align: center;"><a href="http://blog.ratonred.com/wp-content/uploads/2009/04/l1060678.png"><img class="size-medium wp-image-358 aligncenter" title="l1060678" src="http://blog.ratonred.com/wp-content/uploads/2009/04/l1060678-236x300.png" alt="l1060678" width="236" height="300" /></a></p>
<p>For example, to connect a profile that you have in your wireless profile list:</p>
<pre>&gt;&gt; import comar
&gt;&gt; link = comar.Link()
&gt;&gt; link.Net.Link['wireless_tools'].setState('Monaco','up')</pre>
<p>That&#8217;s all ! And if you need a privilege for this operation Comar will call PolicyKit-<a target="_blank" title="Kde4" href="http://www.kde.org">Kde4</a> for asking you a password ;) Comar uses D-Bus for communication and it is possible to make aysnc calls just by using <strong>async</strong> key and proper function to notify by current operation.</p>
<p>And this is the New Network Manager of <a target="_blank" title="Pardus" href="http://www.pardus.org.tr">Pardus</a> !</p>
<p style="text-align: center;"><a href="http://blog.ratonred.com/wp-content/uploads/2009/04/nm-main.png"><img class="size-medium wp-image-357 aligncenter" title="nm-main" src="http://blog.ratonred.com/wp-content/uploads/2009/04/nm-main-300x139.png" alt="nm-main" width="300" height="139" /></a><strong></strong></p>
<p><strong>Don&#8217;t forget to watch the screencast in <a href="http://blog.ratonred.com/network-manager.ogv">here</a> !</strong></p>
<p>If everything goes ok I will be at Akademy Gran Canaria and I hope we will show you a lot of impressive tools that we made ;)</p>]]></content:encoded>
			<wfw:commentRss>http://blog.ratonred.com/2009/04/nokia-developer-summit-new-nm-o/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Pardus lands to GSOC again :)</title>
		<link>http://blog.ratonred.com/2009/03/pardus-lands-to-gsoc-again/</link>
		<comments>http://blog.ratonred.com/2009/03/pardus-lands-to-gsoc-again/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 21:51:34 +0000</pubDate>
		<dc:creator>Gökmen Göksel</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[GSOC]]></category>
		<category><![CDATA[Pardus]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[planet.kde]]></category>
		<category><![CDATA[planet.pardus]]></category>

		<guid isPermaLink="false">http://blog.ratonred.com/?p=342</guid>
		<description><![CDATA[Like last year we have been accepted to Google Summer of Code \o/ You can catch a list of avaliable projects from here.
Good luck Pardus Dudes :)]]></description>
			<content:encoded><![CDATA[<p>Like last year we have been accepted to <a target="_blank" href="http://code.google.com/soc/">Google Summer of Code</a> <strong>\o/</strong> You can catch a list of avaliable projects from <a target="_blank" href="http://en.pardus-wiki.org/SummerOfCode2009Ideas">here</a>.</p>
<p>Good luck <a target="_blank" title="Pardus" href="http://www.pardus.org.tr">Pardus</a> Dudes :)</p>]]></content:encoded>
			<wfw:commentRss>http://blog.ratonred.com/2009/03/pardus-lands-to-gsoc-again/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>News from Pardus</title>
		<link>http://blog.ratonred.com/2009/03/news-from-pardus/</link>
		<comments>http://blog.ratonred.com/2009/03/news-from-pardus/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 21:41:55 +0000</pubDate>
		<dc:creator>Gökmen Göksel</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Pardus]]></category>
		<category><![CDATA[Plasma]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[planet.kde]]></category>
		<category><![CDATA[planet.pardus]]></category>

		<guid isPermaLink="false">http://blog.ratonred.com/?p=332</guid>
		<description><![CDATA[The Team works great in these days :) We have Qt-Creator, Qt 4.5.0 and KDE 4.2.1 in our development repository just after release announcements :) For KDE 4 based technologies I finished my work on Sysinfo just follow;

Now it uses Solid for Network status, Disk info and CPU info. Also with great helps of Will [...]]]></description>
			<content:encoded><![CDATA[<p>The Team works great in these days :) We have <a target="_blank" title="Qt Creator" href="http://svn.pardus.org.tr/viewcvs/devel/programming/environments/qt-creator/?root=pardus">Qt-Creator</a>, <a target="_blank" title="Qt 4.5.0" href="http://svn.pardus.org.tr/viewcvs/devel/programming/libs/qt4/?root=pardus">Qt 4.5.0</a> and <a target="_blank" title="KDE 4.2.1" href="http://svn.pardus.org.tr/viewcvs/devel/desktop/kde4/base/?root=pardus">KDE 4.2.1</a> in our development repository just after release announcements :) For <a target="_blank" title="KDE" href="http://www.kde.org">KDE</a> 4 based technologies I finished my work on <a target="_blank" title="Sysinfo" href="http://svn.pardus.org.tr/viewcvs/trunk/kde4/sysinfo/?root=uludag">Sysinfo</a> just follow;</p>
<p style="text-align: center;"><a href="http://blog.ratonred.com/wp-content/uploads/2009/03/2013tech1.png"><img class="size-medium wp-image-334 aligncenter" title="Sysinfo" src="http://blog.ratonred.com/wp-content/uploads/2009/03/2013tech1-300x187.png" alt="Sysinfo" width="300" height="187" /></a></p>
<p>Now it uses <a target="_blank" title="Solid" href="http://solid.kde.org/">Solid</a> for Network status, Disk info and CPU info. Also with great helps of <a target="_blank" href="http://www.kdedevelopers.org/blog/77">Will Stephenson</a> I added Solid::Networking support for updating network status system widely to the our <a target="_blank" href="http://svn.pardus.org.tr/viewcvs/trunk/kde4/network-manager/plasmoid/?root=uludag">Network-Manager Plasmoid</a> ;)</p>]]></content:encoded>
			<wfw:commentRss>http://blog.ratonred.com/2009/03/news-from-pardus/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Network-Manager Plasmoid</title>
		<link>http://blog.ratonred.com/2009/02/network-manager-plasmoid/</link>
		<comments>http://blog.ratonred.com/2009/02/network-manager-plasmoid/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 23:44:47 +0000</pubDate>
		<dc:creator>Gökmen Göksel</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Pardus]]></category>
		<category><![CDATA[Plasma]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Utils]]></category>
		<category><![CDATA[planet.kde]]></category>
		<category><![CDATA[planet.pardus]]></category>

		<guid isPermaLink="false">http://blog.ratonred.com/?p=321</guid>
		<description><![CDATA[We had a good time at Camp KDE, Jamaica. We met great people (hackers :)) and we tried to explain importance of KDE for Pardus and importance of Pardus for KDE.. As we said there we are working on our ideas to be useful for upstream too.. Here you are;
Pardus Network Manager Plasmoid:

Network Manager DataEngine;

Now [...]]]></description>
			<content:encoded><![CDATA[<p>We had a good time at Camp <a target="_blank" title="KDE" href="http://www.kde.org">KDE</a>, Jamaica. We met great people (hackers :)) and we tried to explain importance of <a target="_blank" title="KDE" href="http://www.kde.org">KDE</a> for <a target="_blank" title="Pardus" href="http://www.pardus.org.tr">Pardus</a> and importance of <a target="_blank" title="Pardus" href="http://www.pardus.org.tr">Pardus</a> for <a target="_blank" title="KDE" href="http://www.kde.org">KDE</a>.. As we said there we are working on our ideas to be useful for upstream too.. Here you are;</p>
<p><a target="_blank" title="Network Manager Plasmoid ScreenCast" href="http://cekirdek.pardus.org.tr/~gokmen/nm-applet-1.ogv">Pardus Network Manager Plasmoid</a>:</p>
<p style="text-align: center;"><a href="http://blog.ratonred.com/wp-content/uploads/2009/02/nm-applet.png"><img class="size-medium wp-image-322 aligncenter" title="nm-applet" src="http://blog.ratonred.com/wp-content/uploads/2009/02/nm-applet-300x282.png" alt="nm-applet" width="300" height="282" /></a></p>
<p><a target="_blank" title="ScreenCast of Network Manager Data Engine" href="http://cekirdek.pardus.org.tr/~gokmen/nm-engine.ogv">Network Manager DataEngine</a>;</p>
<p style="text-align: center;"><a href="http://blog.ratonred.com/wp-content/uploads/2009/02/nm-engine.png"><img class="size-medium wp-image-323 aligncenter" title="nm-engine" src="http://blog.ratonred.com/wp-content/uploads/2009/02/nm-engine-295x300.png" alt="nm-engine" width="295" height="300" /></a></p>
<p>Now we can use new shiny PolicyKit <a target="_blank" title="KDE4" href="http://www.kde.org">KDE4</a> ;) You should watch screencasts [<a target="_blank" href="http://cekirdek.pardus.org.tr/~gokmen/nm-applet-1.ogv">1</a>] [<a target="_blank" href="http://cekirdek.pardus.org.tr/~gokmen/nm-engine.ogv">2</a>] .. And always sources are in <a target="_blank" title="Pardus" href="http://www.pardus.org.tr">Pardus</a> <a target="_blank" href="http://svn.pardus.org.tr/uludag/branches/kde4-managers">repository</a>. Have fun !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.ratonred.com/2009/02/network-manager-plasmoid/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>A new stuff with the power of plasma !</title>
		<link>http://blog.ratonred.com/2009/01/a-new-stuff-with-the-power-of-plasma/</link>
		<comments>http://blog.ratonred.com/2009/01/a-new-stuff-with-the-power-of-plasma/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 00:35:38 +0000</pubDate>
		<dc:creator>Gökmen Göksel</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Pardus]]></category>
		<category><![CDATA[Plasma]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[planet.kde]]></category>
		<category><![CDATA[planet.pardus]]></category>

		<guid isPermaLink="false">http://blog.ratonred.com/?p=291</guid>
		<description><![CDATA[I have just finished my talk at Camp KDE, Jamaica about &#8220;KDE and Distros&#8221; with great partnership of Marcus D. Hanwell (slide is here), I talked about Pardus Technologies and showed people our plasmoid for service-manager which works with our sub-system COMAR.
When great projects come together results comes great !

Also I have a great video [...]]]></description>
			<content:encoded><![CDATA[<p>I have just finished my talk at <a target="_blank" href="http://camp.kde.org">Camp KDE, Jamaica</a> about &#8220;<strong><a target="_blank" title="KDE" href="http://www.kde.org">KDE</a> and Distros</strong>&#8221; with great partnership of Marcus D. Hanwell (slide is <a target="_blank" title="Slides as PDF" href="http://cekirdek.pardus.org.tr/~gokmen/MDH-MGG-CampKDE-Distros.pdf">here</a>), I talked about <a target="_blank" title="Pardus" href="http://www.pardus.org.tr">Pardus</a> Technologies and showed people our plasmoid for service-manager which works with our sub-system COMAR.</p>
<p>When great projects come together results comes great !</p>
<p style="text-align: center;"><a href="http://blog.ratonred.com/wp-content/uploads/2009/01/service-manager.png"><img class="aligncenter size-medium wp-image-292" title="Service-manager" src="http://blog.ratonred.com/wp-content/uploads/2009/01/service-manager-300x97.png" alt="Service-manager" width="300" height="97" /></a></p>
<p style="text-align: left;">Also I have a <a target="_blank" title="Service Manager Live ! (4Mb~)" href="http://cekirdek.pardus.org.tr/~gokmen/service-manager.flv" target="_blank">great video</a> while it is working .. All of these written in Python, PyQt4 and of course PyKDE4 ;) You can grab the source from <a target="_blank" href="http://svn.pardus.org.tr/uludag/branches/kde4-managers/service-manager/">here</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.ratonred.com/2009/01/a-new-stuff-with-the-power-of-plasma/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
<enclosure url="http://cekirdek.pardus.org.tr/~gokmen/service-manager.flv" length="4389815" type="video/x-flv" />
		</item>
		<item>
		<title>Oxygen YALI ?</title>
		<link>http://blog.ratonred.com/2008/12/oxygen-yali/</link>
		<comments>http://blog.ratonred.com/2008/12/oxygen-yali/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 10:13:32 +0000</pubDate>
		<dc:creator>Gökmen Göksel</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Pardus]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Yalı]]></category>
		<category><![CDATA[planet.kde]]></category>
		<category><![CDATA[planet.pardus]]></category>

		<guid isPermaLink="false">http://blog.ratonred.com/?p=283</guid>
		<description><![CDATA[I saw this pretty project on Planet and I really like their theme for installer. I looked at source and made some changes for YALI.. Finally the result;
]]></description>
			<content:encoded><![CDATA[<p>I saw this pretty <a target="_blank" href="http://chakra-project.org/">project</a> on <a target="_blank" href="http://planetkde.org">Planet</a> and I really like their theme for installer. I looked at source and made some changes for <a target="_blank" title="YALI" href="http://www.pardus.org.tr/eng/projects/yali">YALI</a>.. Finally the result;</p>
<p style="text-align: center;"><a href="http://blog.ratonred.com/wp-content/uploads/2008/12/oxygen-yali.png"><img class="aligncenter size-full wp-image-286" style="border: 0pt none;" title="Yali with Oxygen theme enabled.." src="http://blog.ratonred.com/wp-content/uploads/2008/12/oxygen-yali.png" alt="Yali with Oxygen theme enabled.." width="650" height="428" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.ratonred.com/2008/12/oxygen-yali/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Service-manager for KDE4 with COMAR and PyKDE4</title>
		<link>http://blog.ratonred.com/2008/11/service-manager-for-kde4-with-comar-and-pykde4/</link>
		<comments>http://blog.ratonred.com/2008/11/service-manager-for-kde4-with-comar-and-pykde4/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 10:13:31 +0000</pubDate>
		<dc:creator>Gökmen Göksel</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Pardus]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[planet.kde]]></category>
		<category><![CDATA[planet.pardus]]></category>

		<guid isPermaLink="false">http://blog.ratonred.com/?p=233</guid>
		<description><![CDATA[These days we are working hard on Pardus KDE technologies for our next release &#8220;Pardus 2009&#8243;; within these tasks first job is porting (and redesigning) our *-manager family to KDE4.
We have a COnfiguration MAnageR called COMAR which uses D-Bus for communication. COMAR provides a powerful and extendible API for managing anything such as package, network, [...]]]></description>
			<content:encoded><![CDATA[<p>These days we are working hard on <a target="_blank" title="Pardus" href="http://www.pardus.org.tr">Pardus</a> <a target="_blank" title="KDE" href="http://www.kde.org">KDE</a> technologies for our next release &#8220;<a target="_blank" title="Pardus" href="http://www.pardus.org.tr">Pardus</a> 2009&#8243;; within these tasks first job is porting (and redesigning) our *-manager family to <a target="_blank" title="KDE4" href="http://www.kde.org">KDE4</a>.</p>
<p>We have a <strong>CO</strong>nfiguration <strong>MA</strong>nage<strong>R</strong> called <a target="_blank" href="http://pardus.org.tr/eng/projects/comar/index.html"><strong>COMAR</strong></a> which uses <a target="_blank" href="http://www.freedesktop.org/wiki/Software/dbus">D-Bus</a> for communication. COMAR provides a powerful and extendible API for managing anything such as package, network, x.org, bootloader, disk or system service which are also described in <a target="_blank" href="http://svn.pardus.org.tr/uludag/trunk/comar/comar/etc/model.xml">model.xml</a>.</p>
<p>From COMAR.Api.qt4 <a target="_blank" href="http://svn.pardus.org.tr/uludag/trunk/comar/api/examples/qt4/">example</a>:</p>
<pre lang="python">import comar

# Create link
self.link = comar.Link()

def handler(package, exception, results):
    # do something with these info..
    print package, results

# Get all services from comar
link.System.Service.info(async=handler)</pre>
<p>It will get you all services status and their info asynchronously to the handler method. Also if you want to start &#8220;openssh&#8221; service you can call it like;</p>
<pre lang="python">link.System.Service["openssh"].start()</pre>
<p>When you do this, COMAR will call the PolicyKit-<a target="_blank" title="KDE" href="http://www.kde.org">KDE</a>(3) and asks password if you have privileges for this action.(I will show it in action)</p>
<p>Yes, COM</p>]]></content:encoded>
			<wfw:commentRss>http://blog.ratonred.com/2008/11/service-manager-for-kde4-with-comar-and-pykde4/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Yalı4: Porting something to Qt4</title>
		<link>http://blog.ratonred.com/2008/11/yali4-porting-something-to-qt4/</link>
		<comments>http://blog.ratonred.com/2008/11/yali4-porting-something-to-qt4/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 01:50:10 +0000</pubDate>
		<dc:creator>Gökmen Göksel</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Yalı]]></category>
		<category><![CDATA[planet.kde]]></category>
		<category><![CDATA[planet.pardus]]></category>

		<guid isPermaLink="false">http://blog.ratonred.com/?p=3</guid>
		<description><![CDATA[Yali is the first Pardus software a user encounters. Basically, it recognizes the hardware and installs Pardus software from the installation media (i.e CD) to a hard disk partition user selects. Yalı was developed mainly with Qt and Python (PyQt ..) but for supporting new technologies (there is Qt4 now and it rocks !)
I ported [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" title="Yali" href="http://www.pardus.org.tr/eng/projects/yali">Yali</a> is the first <a target="_blank" title="Pardus is GNU/Linux distribution developed by UEKAE" href="http://www.pardus.org.tr/eng">Pardus</a> software a user encounters. Basically, it recognizes the hardware and installs <a target="_blank" title="Pardus is GNU/Linux distribution developed by UEKAE" href="http://www.pardus.org.tr/eng">Pardus</a> software from the installation media (i.e CD) to a hard disk partition user selects. Yalı was developed mainly with Qt and Python (PyQt ..) but for supporting new technologies (there is Qt4 now and it rocks !)</p>
<p>I ported Yalı Qt3 version to Qt4 named as Yali4 (to avoid chaos; we still use Qt3 version for some of other projects); while porting I have totally changed some approach in visual design.</p>
<p>General UI:<br />
<img class="alignleft" title="Yali Qt3" src="http://pardus.org.tr/eng/images/yali-en-1.jpg" alt="" width="270" height="203" /><img class="alignleft" title="Yali Qt4" src="http://ratonred.wordpress.com/files/2008/10/pardus_yali1.jpg" alt="" width="270" height="202" /></p>
<p style="clear:left">
<p style="clear:left">In general I used <a target="_blank" href="http://system-linux.net/doc/qt4/doc/html/stylesheet.html">Qt Style Sheet</a> support for design basics; a centered shiny background, transparent icons and graphics in screens and some WidgetStyle from <a target="_blank" href="http://system-linux.net/doc/qt4/doc/html/stylesheet.html">Qt Style Sheet</a> examples. For screens I prefer <a target="_blank" href="http://system-linux.net/doc/qt4/doc/html/qstackedwidget.html">QStackedWidget</a> which supports transparency too and some signals for walking between screens. (Also while desining <a target="_blank" title="YALI" href="http://www.pardus.org.tr/eng/projects/yali">YALI</a>&#8217; screen infrastructure I tried to make it modular &#8212; I will blog it later. )</p>
<p style="clear:left">Standard widgets of Qt4 are enough for <a target="_blank" title="YALI" href="http://www.pardus.org.tr/eng/projects/yali">YALI</a> but for making something shiny I made some tricks;</p>
<p style="clear:left"><a href="http://blog.ratonred.com/wp-content/uploads/2008/11/yali4-part2.png"><img class="size-medium wp-image-180 alignleft" title="Yali4 Partitioning" src="http://blog.ratonred.com/wp-content/uploads/2008/11/yali4-part2-300x236.png" alt="" width="300" height="236" /></a><a href="http://blog.ratonred.com/wp-content/uploads/2008/11/yali4-part.png"><img class="alignleft size-medium wp-image-182" title="Yalı4 Resize Question" src="http://blog.ratonred.com/wp-content/uploads/2008/11/yali4-part-300x236.png" alt="" width="300" height="236" /></a></p>
<p style="clear:left">
<p style="clear:left">For each partition I used a QRadioButton (which has already have checked/unchecked state) and QSplitter to seperate them (each splitter width calculated from partition size).</p>
<p style="clear:left"><a href="http://blog.ratonred.com/wp-content/uploads/2008/11/old.png"><img class="alignnone size-medium wp-image-184" title="old" src="http://blog.ratonred.com/wp-content/uploads/2008/11/old-300x72.png" alt="" width="300" height="72" /></a></p>
<p style="clear:left">Flexibility of Qt4 gave me this;</p>
<p style="clear:left"><a href="http://blog.ratonred.com/wp-content/uploads/2008/11/new.png"><img class="alignnone size-medium wp-image-185" title="new" src="http://blog.ratonred.com/wp-content/uploads/2008/11/new-300x72.png" alt="" width="300" height="72" /></a></p>
<p style="clear:left">You just need some CSS tricks like this;</p>
<pre lang="css">  QRadioButton::indicator { width:1px;height:1px;border-color:white; }
  QRadioButton:checked { border:6px solid rgba(255,255,255,180); }
  QSplitter::handle { background-color:rgba(255,255,255,0); }</pre>
<p>and some colors and icons;</p>
<pre lang="python">  metaTypes = {"ntfs" :{"bgcolor":"#18D918",
                        "fgcolor":"#000000",
                        "icon"   :"windows"},
               "hfs+" :{"bgcolor":"#C0A39E",
                        "fgcolor":"#000000",
                        "icon"   :"other"},
               "ext3" :{"bgcolor":"#7590AE",
                        "fgcolor":"#FFFFFF",
                        "icon"   :"linux"}}

  partition.setIcon(QtGui.QIcon(":/gui/pics/%s.png" % icon))
  partition.setStyleSheet("background-color:%s;color:%s" % (meta["bgcolor"],meta["fgcolor"]))</pre>
<p>I&#8217;m done time is 03:50 now :) For more information about Yalı feel free to get in source at <a target="_blank" href="http://svn.pardus.org.tr/uludag/trunk/yali4">Pardus SVN</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.ratonred.com/2008/11/yali4-porting-something-to-qt4/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
