[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Re: Re: QStyle manipulations
From: Gustavo_A._Díaz <gustavo.diaz () gmail ! com>
Date: 2009-07-25 20:30:35
Message-ID: 64c123920907251330s3c3faec4x20ecda644cc51845 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Or you can use styleSheets ;)
2009/7/25 Erik Janssens <Erik.Janssens@conceptive.be>
>
> >
> > Message: 2
> > Date: Fri, 24 Jul 2009 17:56:32 -0500
> > From: Robert Kern <robert.kern@gmail.com>
> > Subject: [PyQt] Re: QStyle manipulations
> > To: pyqt@riverbankcomputing.com
> > Message-ID: <h4de70$pg8$1@ger.gmane.org>
> > Content-Type: text/plain; charset=UTF-8; format=flowed
> >
> > On 2009-07-24 10:26, Phil Thompson wrote:
> > > On Fri, 24 Jul 2009 01:03:47 +0200, "Hans-Peter Jansen"<hpj@urpla.net>
> > > wrote:
> > >> Hi,
> > >>
> > >> I've some layout issues with customized widgets on the Mac, and now, I
> > >> would
> > >> like to _intercept_ a single QStyle method:
> > > layoutSpacingImplementation(),
> > >> but how? I can create a style with QtGui.QStyleFactory.create(), but
> how
> > > do
> > >> I intercept such a method? PyQt forbids me to subclass the style
> object,
> > >> returned from factory (Phil, shouldn't these derive from QCommonStyle,
> > > and
> > >> been able to subclass? [1]) and the "dirty as hell" - patch it into
> the
> > >> object - approach seem to not work either. Any more ideas?
> > >>
> > >> BTW, Phil, you don't wrap the style classes directly, because they may
> be
> > >
> > >> plug-ins, but what's the technical reason behind this? Aren't there
> hosts
> > >
> > >> of other plug-ins (sql drivers, image formats, etc..) in use today?
> > >
> > > Yes, but you don't access them directly - PyQt knows nothing about
> them.
> >
> > Do you have an answer for his main question? I am interested, too.
> >
> > --
> > Robert Kern
> >
>
> I'd like to be able to use the dotnet style for windows users
> (our being able to reimplement it in python)
>
> http://labs.trolltech.com/blogs/2007/07/06/dotnet-style-with-office-flavor/
>
> somebody has experience with this ?
>
> _______________________________________________
> PyQt mailing list PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
--
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar
[Attachment #5 (text/html)]
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>
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic