<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for The Geek Shall Inherit The Earth</title>
	<atom:link href="http://majewsky.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://majewsky.wordpress.com</link>
	<description>Thoughts on KDE games hacking and everything</description>
	<lastBuildDate>Sun, 19 Aug 2012 18:05:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Qt Quick hates me by anonymity is great</title>
		<link>http://majewsky.wordpress.com/2012/08/17/qt-quick-hates-me/#comment-1597</link>
		<dc:creator><![CDATA[anonymity is great]]></dc:creator>
		<pubDate>Sun, 19 Aug 2012 18:05:12 +0000</pubDate>
		<guid isPermaLink="false">http://majewsky.wordpress.com/?p=795#comment-1597</guid>
		<description><![CDATA[Qt Quick hates everyone (who wants to do serious work in it). Wait until you want to bridge QML and C++, then the real hell will start...

A disappointed QML user (boy, am I happy that Digia is going to maintain and develop QtWidgets during the lifetime of Qt 5.x: http://blog.qt.nokia.com/2012/08/09/digia-extends-its-commitment-to-qt-with-plans-to-acquire-full-qt-software-technology-and-business-from-nokia/).]]></description>
		<content:encoded><![CDATA[<p>Qt Quick hates everyone (who wants to do serious work in it). Wait until you want to bridge QML and C++, then the real hell will start&#8230;</p>
<p>A disappointed QML user (boy, am I happy that Digia is going to maintain and develop QtWidgets during the lifetime of Qt 5.x: <a href="http://blog.qt.nokia.com/2012/08/09/digia-extends-its-commitment-to-qt-with-plans-to-acquire-full-qt-software-technology-and-business-from-nokia/" rel="nofollow">http://blog.qt.nokia.com/2012/08/09/digia-extends-its-commitment-to-qt-with-plans-to-acquire-full-qt-software-technology-and-business-from-nokia/</a>).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Qt Quick hates me by nuno</title>
		<link>http://majewsky.wordpress.com/2012/08/17/qt-quick-hates-me/#comment-1595</link>
		<dc:creator><![CDATA[nuno]]></dc:creator>
		<pubDate>Sat, 18 Aug 2012 21:49:33 +0000</pubDate>
		<guid isPermaLink="false">http://majewsky.wordpress.com/?p=795#comment-1595</guid>
		<description><![CDATA[Rectangle {
    width: 800
    height: 100
    color: &quot;black&quot;


    Row {

        y:40
        anchors.horizontalCenter: parent.horizontalCenter
        spacing: 10

        Repeater {
            id: repeater
            property int currentIndex: 4
            model: [&quot;/home&quot;, &quot;/username&quot;, &quot;/some&quot;, &quot;/pseudo&quot;, &quot;/path&quot;]

            Text {
                text: modelData
                font.pixelSize: index == repeater.currentIndex ? 40 : 20
                color: &quot;white&quot;
                anchors.baseline: parent.verticalCenter

            }
        }
    }
}]]></description>
		<content:encoded><![CDATA[<p>Rectangle {<br />
    width: 800<br />
    height: 100<br />
    color: &#8220;black&#8221;</p>
<p>    Row {</p>
<p>        y:40<br />
        anchors.horizontalCenter: parent.horizontalCenter<br />
        spacing: 10</p>
<p>        Repeater {<br />
            id: repeater<br />
            property int currentIndex: 4<br />
            model: ["/home", "/username", "/some", "/pseudo", "/path"]</p>
<p>            Text {<br />
                text: modelData<br />
                font.pixelSize: index == repeater.currentIndex ? 40 : 20<br />
                color: &#8220;white&#8221;<br />
                anchors.baseline: parent.verticalCenter</p>
<p>            }<br />
        }<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Qt Quick hates me by markg85</title>
		<link>http://majewsky.wordpress.com/2012/08/17/qt-quick-hates-me/#comment-1593</link>
		<dc:creator><![CDATA[markg85]]></dc:creator>
		<pubDate>Sat, 18 Aug 2012 14:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://majewsky.wordpress.com/?p=795#comment-1593</guid>
		<description><![CDATA[I tested tested that out and it indeed works nicely!

import QtQuick 1.1

Rectangle {
    width: 800
    height: 100
    color: &quot;black&quot;

    Row {
        anchors.horizontalCenter: parent.horizontalCenter
        height: parent.height

        Repeater {
            id: repeater
            property int currentIndex: 4
            model: [&quot;/home&quot;, &quot;/username&quot;, &quot;/some&quot;, &quot;/pseudo&quot;, &quot;/path&quot;]

            Text {
                text: modelData
                font.pointSize: index == repeater.currentIndex ? 40 : 20
                color: &quot;white&quot;
                anchors.baseline: parent.verticalCenter
            }
        }
    }
}

Just posting the snippet for ease of use :)]]></description>
		<content:encoded><![CDATA[<p>I tested tested that out and it indeed works nicely!</p>
<p>import QtQuick 1.1</p>
<p>Rectangle {<br />
    width: 800<br />
    height: 100<br />
    color: &#8220;black&#8221;</p>
<p>    Row {<br />
        anchors.horizontalCenter: parent.horizontalCenter<br />
        height: parent.height</p>
<p>        Repeater {<br />
            id: repeater<br />
            property int currentIndex: 4<br />
            model: ["/home", "/username", "/some", "/pseudo", "/path"]</p>
<p>            Text {<br />
                text: modelData<br />
                font.pointSize: index == repeater.currentIndex ? 40 : 20<br />
                color: &#8220;white&#8221;<br />
                anchors.baseline: parent.verticalCenter<br />
            }<br />
        }<br />
    }<br />
}</p>
<p>Just posting the snippet for ease of use <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Qt Quick hates me by ahiemstra</title>
		<link>http://majewsky.wordpress.com/2012/08/17/qt-quick-hates-me/#comment-1590</link>
		<dc:creator><![CDATA[ahiemstra]]></dc:creator>
		<pubDate>Sat, 18 Aug 2012 09:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://majewsky.wordpress.com/?p=795#comment-1590</guid>
		<description><![CDATA[Ehm, you do know there is an anchors.baseline property right?

Giving the row item a proper height then adding &quot;anchors.baseline: parent.verticalCenter;&quot; to the Text item gives me precisely what you want.]]></description>
		<content:encoded><![CDATA[<p>Ehm, you do know there is an anchors.baseline property right?</p>
<p>Giving the row item a proper height then adding &#8220;anchors.baseline: parent.verticalCenter;&#8221; to the Text item gives me precisely what you want.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Qt Quick hates me by Tuukka</title>
		<link>http://majewsky.wordpress.com/2012/08/17/qt-quick-hates-me/#comment-1589</link>
		<dc:creator><![CDATA[Tuukka]]></dc:creator>
		<pubDate>Sat, 18 Aug 2012 07:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://majewsky.wordpress.com/?p=795#comment-1589</guid>
		<description><![CDATA[The alignment in the pictures doesn&#039;t make any sense. It&#039;s not baseline but it&#039;s not bounding box either. In the AlignBottom case the big slash seems to be aligned with the small text baseline but not with the small slashes.

Look like a bug.]]></description>
		<content:encoded><![CDATA[<p>The alignment in the pictures doesn&#8217;t make any sense. It&#8217;s not baseline but it&#8217;s not bounding box either. In the AlignBottom case the big slash seems to be aligned with the small text baseline but not with the small slashes.</p>
<p>Look like a bug.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Qt Quick hates me by Jumbaa</title>
		<link>http://majewsky.wordpress.com/2012/08/17/qt-quick-hates-me/#comment-1586</link>
		<dc:creator><![CDATA[Jumbaa]]></dc:creator>
		<pubDate>Sat, 18 Aug 2012 03:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://majewsky.wordpress.com/?p=795#comment-1586</guid>
		<description><![CDATA[anchors.baseline]]></description>
		<content:encoded><![CDATA[<p>anchors.baseline</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Qt Quick hates me by Christoph</title>
		<link>http://majewsky.wordpress.com/2012/08/17/qt-quick-hates-me/#comment-1583</link>
		<dc:creator><![CDATA[Christoph]]></dc:creator>
		<pubDate>Sat, 18 Aug 2012 00:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://majewsky.wordpress.com/?p=795#comment-1583</guid>
		<description><![CDATA[The missing text baseline anchor is worth a bug report.]]></description>
		<content:encoded><![CDATA[<p>The missing text baseline anchor is worth a bug report.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Qt Quick hates me by markg85</title>
		<link>http://majewsky.wordpress.com/2012/08/17/qt-quick-hates-me/#comment-1582</link>
		<dc:creator><![CDATA[markg85]]></dc:creator>
		<pubDate>Fri, 17 Aug 2012 23:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://majewsky.wordpress.com/?p=795#comment-1582</guid>
		<description><![CDATA[Hi,

I know why that happens.Your printing the text in a loop meaning that each individual text is on it&#039;s own.

If you where to print it like this:
    Text {
        id: name
        text: &quot;/home/username/some/pseudo/path&quot;
        color: &quot;white&quot;
    }

then you do get the baseline you want. And yeah, then it gets a whole lot more complicated to do whatever you want to do since you can&#039;t simply say &quot;click path&quot;.. How would you know where path is ;)

What you can do - which will make it a whole lot more complicated - is making a custom &quot;fontdata&quot; object from http://qt-project.org/doc/qt-4.8/qfontmetrics.html. Yes, just to get/calculate the base line!

Another thing you can do is report a bug (or feature request) in Qt to request a baseline property in the Text component.

Good luck!]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I know why that happens.Your printing the text in a loop meaning that each individual text is on it&#8217;s own.</p>
<p>If you where to print it like this:<br />
    Text {<br />
        id: name<br />
        text: &#8220;/home/username/some/pseudo/path&#8221;<br />
        color: &#8220;white&#8221;<br />
    }</p>
<p>then you do get the baseline you want. And yeah, then it gets a whole lot more complicated to do whatever you want to do since you can&#8217;t simply say &#8220;click path&#8221;.. How would you know where path is <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>What you can do &#8211; which will make it a whole lot more complicated &#8211; is making a custom &#8220;fontdata&#8221; object from <a href="http://qt-project.org/doc/qt-4.8/qfontmetrics.html" rel="nofollow">http://qt-project.org/doc/qt-4.8/qfontmetrics.html</a>. Yes, just to get/calculate the base line!</p>
<p>Another thing you can do is report a bug (or feature request) in Qt to request a baseline property in the Text component.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Qt Quick hates me by dipesh</title>
		<link>http://majewsky.wordpress.com/2012/08/17/qt-quick-hates-me/#comment-1579</link>
		<dc:creator><![CDATA[dipesh]]></dc:creator>
		<pubDate>Fri, 17 Aug 2012 21:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://majewsky.wordpress.com/?p=795#comment-1579</guid>
		<description><![CDATA[Sure do the text&#039;s baselines not align. The text fragments have a different font-size and you align there bottom and not the baseline.

You do not need to do everything with QML base components as shipped with Qt 4.8. Just look if there are other components which may do what you like to achieve or use QDeclarativeItem/QGraphicsItem to write yur own component(s). That enables full access to QFontMetrics and all of Qt. You could also go with tge easy way to just export a qreal fontBaseline(QString, QFont) and do the offser calc/positioning in QML.]]></description>
		<content:encoded><![CDATA[<p>Sure do the text&#8217;s baselines not align. The text fragments have a different font-size and you align there bottom and not the baseline.</p>
<p>You do not need to do everything with QML base components as shipped with Qt 4.8. Just look if there are other components which may do what you like to achieve or use QDeclarativeItem/QGraphicsItem to write yur own component(s). That enables full access to QFontMetrics and all of Qt. You could also go with tge easy way to just export a qreal fontBaseline(QString, QFont) and do the offser calc/positioning in QML.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Tip of the day: Speed up `locate` by jaggedsoft</title>
		<link>http://majewsky.wordpress.com/2011/04/04/tip-of-the-day-speed-up-locate/#comment-1577</link>
		<dc:creator><![CDATA[jaggedsoft]]></dc:creator>
		<pubDate>Wed, 15 Aug 2012 06:41:09 +0000</pubDate>
		<guid isPermaLink="false">http://majewsky.wordpress.com/?p=705#comment-1577</guid>
		<description><![CDATA[Just wanted to thank you for this. I have a directory with 3.6 million files in it and growing. I tried the &#039;find&#039; command and it took 2 days. I set up a cron to updatedb at midnight and that took several minutes to get the contents of the folder.
Using your method, (and excluding all my other unnecessary folders) now looping through 3.6 million files takes not 3 minutes, but 2 seconds!]]></description>
		<content:encoded><![CDATA[<p>Just wanted to thank you for this. I have a directory with 3.6 million files in it and growing. I tried the &#8216;find&#8217; command and it took 2 days. I set up a cron to updatedb at midnight and that took several minutes to get the contents of the folder.<br />
Using your method, (and excluding all my other unnecessary folders) now looping through 3.6 million files takes not 3 minutes, but 2 seconds!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
