<?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: Qt Stylesheets Tutorial</title>
	<atom:link href="http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/</link>
	<description>Your blog is probably better than mine.</description>
	<lastBuildDate>Sun, 05 Feb 2012 05:18:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dave</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-2/#comment-160337</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 14 Dec 2011 13:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-160337</guid>
		<description>Rooney,

You need to call this in C++:

myCheckBox-&gt;setObjectName(&quot;myCheckBox&quot;);

That&#039;s how the style sheet system will identify the widget.</description>
		<content:encoded><![CDATA[<p>Rooney,</p>
<p>You need to call this in C++:</p>
<p>myCheckBox->setObjectName(&#8220;myCheckBox&#8221;);</p>
<p>That&#8217;s how the style sheet system will identify the widget.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rooney</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-2/#comment-160288</link>
		<dc:creator>Rooney</dc:creator>
		<pubDate>Wed, 14 Dec 2011 07:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-160288</guid>
		<description>Upps, found the error... It may help others as well.

It works if the object name is set in code. Obviously this is not done automatically if building the user interface directly in C++. 

myCheckBox -&gt;setObjectName(&quot;myCheckBox &quot;);</description>
		<content:encoded><![CDATA[<p>Upps, found the error&#8230; It may help others as well.</p>
<p>It works if the object name is set in code. Obviously this is not done automatically if building the user interface directly in C++. </p>
<p>myCheckBox -&gt;setObjectName(&#8220;myCheckBox &#8220;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rooney</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-2/#comment-160285</link>
		<dc:creator>Rooney</dc:creator>
		<pubDate>Wed, 14 Dec 2011 07:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-160285</guid>
		<description>Hello Dave!

I&#039;m having similar problems as Linda (see 2010-02-01).

I use a global style sheet for my application and it works as it should if I use the Qt types like
QCheckBox {
     spacing: 5px; 
}

I don&#039;t use the Qt Designer at all, building my user interface directly in C++. If I want to apply a style to a specified checkbox using its name, does not work. Do you have any idea? I&#039;m using Qt 4.7.4.

#myCheckBox {
     spacing: 5px; 
}

myCheckBox = new QCheckBox(tr(&quot;Hello World&quot;));

I even tried to reload the style sheet immediately after the checkbox has been created, but this doesn&#039;t succeed either.

Regards,
Rooney</description>
		<content:encoded><![CDATA[<p>Hello Dave!</p>
<p>I&#8217;m having similar problems as Linda (see 2010-02-01).</p>
<p>I use a global style sheet for my application and it works as it should if I use the Qt types like<br />
QCheckBox {<br />
     spacing: 5px;<br />
}</p>
<p>I don&#8217;t use the Qt Designer at all, building my user interface directly in C++. If I want to apply a style to a specified checkbox using its name, does not work. Do you have any idea? I&#8217;m using Qt 4.7.4.</p>
<p>#myCheckBox {<br />
     spacing: 5px;<br />
}</p>
<p>myCheckBox = new QCheckBox(tr(&#8220;Hello World&#8221;));</p>
<p>I even tried to reload the style sheet immediately after the checkbox has been created, but this doesn&#8217;t succeed either.</p>
<p>Regards,<br />
Rooney</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-2/#comment-155722</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sat, 19 Nov 2011 00:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-155722</guid>
		<description>Mouha: Does your mainFrame have rounded corners, or is it just a solid white rectangle with no border, shape or color?

Also, are you compiling your stylesheet using a .qrc file? That would explain why you have to recompile your application to get it to take effect.</description>
		<content:encoded><![CDATA[<p>Mouha: Does your mainFrame have rounded corners, or is it just a solid white rectangle with no border, shape or color?</p>
<p>Also, are you compiling your stylesheet using a .qrc file? That would explain why you have to recompile your application to get it to take effect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mouha</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-2/#comment-155473</link>
		<dc:creator>mouha</dc:creator>
		<pubDate>Thu, 17 Nov 2011 16:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-155473</guid>
		<description>Hi Dave,

this is for sure a reference tutorial, still now.

Nevertheless, I have spent hours to figure out why the mainfraime allways stay in white with no border. This is strange as when I copy paste your code in the &quot;stylesheet&quot; designe editor, this is fine. But at runtime the frame is rounded and white, no border.

If you have any idea, for my brain&#039;s sake

PS : I also found that  I need to do a &quot;recompile&quot; instead of compile to have changes applied from my outside stylesheet.</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>this is for sure a reference tutorial, still now.</p>
<p>Nevertheless, I have spent hours to figure out why the mainfraime allways stay in white with no border. This is strange as when I copy paste your code in the &#8220;stylesheet&#8221; designe editor, this is fine. But at runtime the frame is rounded and white, no border.</p>
<p>If you have any idea, for my brain&#8217;s sake</p>
<p>PS : I also found that  I need to do a &#8220;recompile&#8221; instead of compile to have changes applied from my outside stylesheet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thierry08</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-2/#comment-153437</link>
		<dc:creator>Thierry08</dc:creator>
		<pubDate>Sun, 06 Nov 2011 11:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-153437</guid>
		<description>thanks a lot from France.
Every tutorial I read make me think that Qt is a great tool</description>
		<content:encoded><![CDATA[<p>thanks a lot from France.<br />
Every tutorial I read make me think that Qt is a great tool</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-2/#comment-149224</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 07 Oct 2011 12:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-149224</guid>
		<description>There&#039;s definitely something wrong with your .qrc configuration somewhere.</description>
		<content:encoded><![CDATA[<p>There&#8217;s definitely something wrong with your .qrc configuration somewhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cheyanne</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-2/#comment-149181</link>
		<dc:creator>cheyanne</dc:creator>
		<pubDate>Fri, 07 Oct 2011 04:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-149181</guid>
		<description>i mean added the prefix already 

  </description>
		<content:encoded><![CDATA[<p>i mean added the prefix already</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cheyanne</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-2/#comment-149180</link>
		<dc:creator>cheyanne</dc:creator>
		<pubDate>Fri, 07 Oct 2011 04:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-149180</guid>
		<description>changed it to this, but its still not working. everything is displayed except for the image.


  
    image/kinect.png
  
</description>
		<content:encoded><![CDATA[<p>changed it to this, but its still not working. everything is displayed except for the image.</p>
<p>    image/kinect.png</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-2/#comment-149174</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 07 Oct 2011 04:08:41 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-149174</guid>
		<description>That looks incorrect, because you are referring to the image as :/Qt_robotino/image/kinect.png, which would mean that you need a prefix of &quot;Qt_robotino&quot; in your .qrc file.</description>
		<content:encoded><![CDATA[<p>That looks incorrect, because you are referring to the image as :/Qt_robotino/image/kinect.png, which would mean that you need a prefix of &#8220;Qt_robotino&#8221; in your .qrc file.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

