Or you can use styleSheets ;)<br><br><div class="gmail_quote">2009/7/25 Erik Janssens <span dir="ltr"><<a href="mailto:Erik.Janssens@conceptive.be">Erik.Janssens@conceptive.be</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
><br>
> Message: 2<br>
> Date: Fri, 24 Jul 2009 17:56:32 -0500<br>
> From: Robert Kern <<a href="mailto:robert.kern@gmail.com">robert.kern@gmail.com</a>><br>
> Subject: [PyQt] Re: QStyle manipulations<br>
> To: <a href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a><br>
> Message-ID: <h4de70$pg8$<a href="mailto:1@ger.gmane.org">1@ger.gmane.org</a>><br>
> Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<div class="im">><br>
> On 2009-07-24 10:26, Phil Thompson wrote:<br>
> > On Fri, 24 Jul 2009 01:03:47 +0200, "Hans-Peter Jansen"<<a href="mailto:hpj@urpla.net">hpj@urpla.net</a>><br>
> > wrote:<br>
> >> Hi,<br>
> >><br>
> >> I've some layout issues with customized widgets on the Mac, and now, I<br>
> >> would<br>
> >> like to _intercept_ a single QStyle method:<br>
> > layoutSpacingImplementation(),<br>
> >> but how? I can create a style with QtGui.QStyleFactory.create(), but how<br>
> > do<br>
> >> I intercept such a method? PyQt forbids me to subclass the style object,<br>
> >> returned from factory (Phil, shouldn't these derive from QCommonStyle,<br>
> > and<br>
> >> been able to subclass? [1]) and the "dirty as hell" - patch it into the<br>
> >> object - approach seem to not work either. Any more ideas?<br>
> >><br>
> >> BTW, Phil, you don't wrap the style classes directly, because they may be<br>
> ><br>
> >> plug-ins, but what's the technical reason behind this? Aren't there hosts<br>
> ><br>
> >> of other plug-ins (sql drivers, image formats, etc..) in use today?<br>
> ><br>
> > Yes, but you don't access them directly - PyQt knows nothing about them.<br>
><br>
> Do you have an answer for his main question? I am interested, too.<br>
><br>
> --<br>
> Robert Kern<br>
><br>
<br>
</div>I'd like to be able to use the dotnet style for windows users<br>
(our being able to reimplement it in python)<br>
<br>
<a href="http://labs.trolltech.com/blogs/2007/07/06/dotnet-style-with-office-flavor/" target="_blank">http://labs.trolltech.com/blogs/2007/07/06/dotnet-style-with-office-flavor/</a><br>
<br>
somebody has experience with this ?<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Gustavo A. Díaz<br>GDNet Projects<br><a href="http://www.gdnet.com.ar">www.gdnet.com.ar</a><br>