<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Le 18/09/11 15:19, <a class="moz-txt-link-abbreviated" href="mailto:admin@mbnoimi.net">admin@mbnoimi.net</a> a écrit :
<blockquote cite="mid:4E75EFF5.8030600@mbnoimi.net" type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
<p>Hi,</p>
<p><br>
</p>
<p>Where can I find QPlastiqueStyle class?</p>
<p><br>
</p>
<p>I tried to use</p>
<pre>from PyQt4.QtGui import QPlastiqueStyle</pre>
<p>and</p>
<pre><pre>app.setStyle(<font class="pastecode" color="#008b00">"Plastique"</font>)
sty = QPlastiqueStyle()
app.setPalette(sty.standardPalette())</pre></pre>
<p>but I got import error. what's wrong?<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Best Regards,
Muhmmad Bashir Al-Noimi
Desktop/Embedded developer
TAIBA SOFT co.
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://taiba-soft.com">http://taiba-soft.com</a>
Aleppo - Syria</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
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>
<br>
<div class="moz-signature">-- <br>
Vincent V.V.<br>
<a href="https://launchpad.net/oqapy">Oqapy</a> . <a
href="https://launchpad.net/qarte+7">Qarte+7</a> . <a
href="https://launchpad.net/paqager">PaQager</a></div>
</body>
</html>