<?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>Tue, 07 Sep 2010 02:05:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Dave</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-1/#comment-109433</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 24 Aug 2010 17:42:40 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-109433</guid>
		<description>Jimh: Yes indeed. That is true, but you cannot see those styles while editing in Designer. Hence, the feature request.</description>
		<content:encoded><![CDATA[<p>Jimh: Yes indeed. That is true, but you cannot see those styles while editing in Designer. Hence, the feature request.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimh</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-1/#comment-109432</link>
		<dc:creator>Jimh</dc:creator>
		<pubDate>Tue, 24 Aug 2010 17:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-109432</guid>
		<description>While you can&#039;t specifically include files, it should be noted that when you add widgets to widgets the styles are inherited. So if you apply a master global style to the main app widget, it will style mostly everything in the app that is parented, and you can apply the same master global style to unparented objects.</description>
		<content:encoded><![CDATA[<p>While you can&#8217;t specifically include files, it should be noted that when you add widgets to widgets the styles are inherited. So if you apply a master global style to the main app widget, it will style mostly everything in the app that is parented, and you can apply the same master global style to unparented objects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan-Christopher</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-1/#comment-107503</link>
		<dc:creator>Jan-Christopher</dc:creator>
		<pubDate>Thu, 05 Aug 2010 17:44:29 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-107503</guid>
		<description>Thank you very much! You helped me to understand how i can use stylesheets with (py)qt4</description>
		<content:encoded><![CDATA[<p>Thank you very much! You helped me to understand how i can use stylesheets with (py)qt4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugh</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-1/#comment-102824</link>
		<dc:creator>Hugh</dc:creator>
		<pubDate>Fri, 04 Jun 2010 17:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-102824</guid>
		<description>Dave,

Thanks for this, I was banging my head against a wall, wondering why app.setStyleSheet(&quot;:/path/to/mysheet.qss&quot;) wasn&#039;t working. But at least you can do:

./my_qt_app -stylesheet path/to/mysheet.qss</description>
		<content:encoded><![CDATA[<p>Dave,</p>
<p>Thanks for this, I was banging my head against a wall, wondering why app.setStyleSheet(&#8220;:/path/to/mysheet.qss&#8221;) wasn&#8217;t working. But at least you can do:</p>
<p>./my_qt_app -stylesheet path/to/mysheet.qss</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-1/#comment-101726</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 30 Apr 2010 03:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-101726</guid>
		<description>Alberto, yes this is possible. If you create a style like this in Designer:

QPushButton {
...
}

Then, even dynamically created buttons (i.e., buttons created with C++ code) should also use the style.

Alternatively, you can write your stylesheet code in C++ using the setStyleSheet() method on any QWidget.</description>
		<content:encoded><![CDATA[<p>Alberto, yes this is possible. If you create a style like this in Designer:</p>
<p>QPushButton {<br />
&#8230;<br />
}</p>
<p>Then, even dynamically created buttons (i.e., buttons created with C++ code) should also use the style.</p>
<p>Alternatively, you can write your stylesheet code in C++ using the setStyleSheet() method on any QWidget.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-1/#comment-100660</link>
		<dc:creator>Alberto</dc:creator>
		<pubDate>Thu, 01 Apr 2010 09:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-100660</guid>
		<description>Hi! My name is Alberto. I&#039;ve seen that you use the QtDesign to add style sheet. I&#039;ve been surfed trying to get a way of doing style sheet by code. I mean... my problem is that I&#039;m trying to do dynamics buttons(they are created when the program is running), but I would like to change their styles... changing colors, adding borders, etc. 

Is it possible to do it without using the QtDesign? 
Where should I add the style sheet ?

Thanks in advnce!</description>
		<content:encoded><![CDATA[<p>Hi! My name is Alberto. I&#8217;ve seen that you use the QtDesign to add style sheet. I&#8217;ve been surfed trying to get a way of doing style sheet by code. I mean&#8230; my problem is that I&#8217;m trying to do dynamics buttons(they are created when the program is running), but I would like to change their styles&#8230; changing colors, adding borders, etc. </p>
<p>Is it possible to do it without using the QtDesign?<br />
Where should I add the style sheet ?</p>
<p>Thanks in advnce!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-1/#comment-99980</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 16 Mar 2010 13:50:18 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-99980</guid>
		<description>Tommy,

You can use @import in your stylesheet code just like #include in your C++ code like this:

@import(:/style.css)

Assuming you applied that patch and rebuilt Qt.

You may need quotes. Can&#039;t remember right now. But seriously, this is not standard right now and rebuilding Qt just for this feature is a big job and I don&#039;t recommend it unless you think you really need it.</description>
		<content:encoded><![CDATA[<p>Tommy,</p>
<p>You can use @import in your stylesheet code just like #include in your C++ code like this:</p>
<p>@import(:/style.css)</p>
<p>Assuming you applied that patch and rebuilt Qt.</p>
<p>You may need quotes. Can&#8217;t remember right now. But seriously, this is not standard right now and rebuilding Qt just for this feature is a big job and I don&#8217;t recommend it unless you think you really need it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-1/#comment-99959</link>
		<dc:creator>Tommy</dc:creator>
		<pubDate>Tue, 16 Mar 2010 07:20:27 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-99959</guid>
		<description>Thanks for your kindly quick response!! 
It really helps a lot.

If it&#039;s not bothering...can you tell me that:
How to include the external qss file in different forms, and where should I 
put &quot;@import&quot; at?

Many thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks for your kindly quick response!!<br />
It really helps a lot.</p>
<p>If it&#8217;s not bothering&#8230;can you tell me that:<br />
How to include the external qss file in different forms, and where should I<br />
put &#8220;@import&#8221; at?</p>
<p>Many thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-1/#comment-99957</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 16 Mar 2010 06:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-99957</guid>
		<description>Oh, I see. That patch just makes it so you can include external stylesheets files using @import in your style sheets in Designer. That way, you can have a single style sheet for all your forms, and still have a nice graphical environment in Designer.</description>
		<content:encoded><![CDATA[<p>Oh, I see. That patch just makes it so you can include external stylesheets files using @import in your style sheets in Designer. That way, you can have a single style sheet for all your forms, and still have a nice graphical environment in Designer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy</title>
		<link>http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/comment-page-1/#comment-99955</link>
		<dc:creator>Tommy</dc:creator>
		<pubDate>Tue, 16 Mar 2010 06:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=327#comment-99955</guid>
		<description>Oh, I got it, just insert those code into that .cpp file!  
Thanks!!

But, still do not know how to use it..</description>
		<content:encoded><![CDATA[<p>Oh, I got it, just insert those code into that .cpp file!<br />
Thanks!!</p>
<p>But, still do not know how to use it..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
