[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Re: QScrollBar, fixed width
From:       "Patrick Stinson" <patrickkidd () gmail ! com>
Date:       2006-03-27 19:16:52
Message-ID: 94ef510603271116h75d97e08qd94092af6d01f81d () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Right that makes sense. we like consistent python extensions.

It loks like we've run into a problem then, since I am (for example) unable
to set a scrollbar width. I wonder if we can use QStyle and some

class MyStyle(QApplication.instance.style().__class__):
   def looknice(self):
        pass

or something similar (I understand the work-in-progress, and maybe later
bit...)


On 3/27/06, Phil Thompson <phil@riverbankcomputing.co.uk> wrote:
>
> On Wednesday 22 March 2006 8:02 pm, Patrick Stinson wrote:
> > I got a reply from qt-interest regarding this. What is the state of
> QStyle
> > sub-classes in pyqt4? is there a reason that they are not included?
>
> Mainly because they might be plugins, in which case PyQt won't see them.
> You
> then end up with an application that depends on how the user has build
> their
> Qt, which is not good.
>
> Phil
>
> _______________________________________________
> PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>



--
Patrick Kidd Stinson
http://www.patrickkidd.com/
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/

[Attachment #5 (text/html)]

Right that makes sense. we like consistent python extensions. <br>
<br>
It loks like we've run into a problem then, since I am (for example)
unable to set a scrollbar width. I wonder if we can use QStyle and some
<br>
<br>
class MyStyle(QApplication.instance.style().__class__):<br>
&nbsp;&nbsp; def looknice(self):<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pass<br>
<br>
or something similar (I understand the work-in-progress, and maybe later bit...)<br>
<br><br><div><span class="gmail_quote">On 3/27/06, <b class="gmail_sendername">Phil \
Thompson</b> &lt;<a href="mailto:phil@riverbankcomputing.co.uk">phil@riverbankcomputing.co.uk</a>&gt; \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> On Wednesday 22 March 2006 \
8:02 pm, Patrick Stinson wrote:<br>&gt; I got a reply from qt-interest regarding \
this. What is the state of QStyle<br>&gt; sub-classes in pyqt4? is there a reason \
that they are not included?<br> <br>Mainly because they might be plugins, in which \
case PyQt won't see them. You<br>then end up with an application that depends on how \
the user has build their<br>Qt, which is not \
good.<br><br>Phil<br><br>_______________________________________________ <br>PyKDE \
mailing list&nbsp;&nbsp;&nbsp;&nbsp;<a \
href="mailto:PyKDE@mats.imk.fraunhofer.de">PyKDE@mats.imk.fraunhofer.de</a><br><a \
href="http://mats.imk.fraunhofer.de/mailman/listinfo/pykde">http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
 </a><br></blockquote></div><br><br clear="all"><br>-- <br>Patrick Kidd Stinson<br><a \
href="http://www.patrickkidd.com/">http://www.patrickkidd.com/</a><br><a \
href="http://pkaudio.sourceforge.net/">http://pkaudio.sourceforge.net/ </a><br><a \
href="http://pksampler.sourceforge.net/">http://pksampler.sourceforge.net/</a>



_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic