<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF"
text="#000000">
On 18/09/2011 04:27 م, Vincent Vande Vyvre wrote:
<blockquote cite="mid:4E75F1C4.5030404@swing.be" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Le 18/09/11 15:19, <a moz-do-not-send="true"
class="moz-txt-link-abbreviated" href="mailto:admin@mbnoimi.net">admin@mbnoimi.net</a>
a écrit : Hi,<br>
<br>
No specific import is required for style<br>
<br>
<br>
app = QtGui.QApplication(sys.argv)<br>
app.setStyle(QtGui.QStyleFactory.create("plastique"))<br>
</blockquote>
Actually I want to use default palette of Platique style for that
I've to create a new object from QPlastiqueStyle then call
setPallete function as I mentioned below<br>
<pre><pre><font class="pastecode" color="#0000CD">sty</font> = QPlastiqueStyle()
<font class="pastecode" color="#0000CD">app</font>.setPalette(sty.standardPalette())</pre></pre>
<br>
<p><br>
</p>
<br>
<pre class="moz-signature" cols="72">--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: <a class="moz-txt-link-freetext" href="http://mbnoimi.net">http://mbnoimi.net</a></pre>
</body>
</html>