Re: [PyQt] deriving a style in pyqt

2007-08-02 Thread Phil Thompson
On Friday 03 August 2007 12:53 am, Peter Shinners wrote: > Is it possible to derive a custom QStyle class from the built in > "windows" theme with PyQt? I remember playing with this idea early in > some Qt4 transitioning and didn't get too far. I may not have known what > I was doing. > > Thought I

Re: [PyQt] Re: About setting a pixmap as background

2007-08-02 Thread Gustavo A. Dí­az
Hi David! Thanks for you Tips. I am afraid that didnt worked, i wrote:     self.centralwidget = QtGui.QWidget()     palette = self.centralwidget.palette()     bgPixmap = QtGui.QPixmap(":/Pixmaps/pixmaps/oc_clientBg.svg")     brush = QtGui.QBrush()     brush.setTextu

[PyQt] deriving a style in pyqt

2007-08-02 Thread Peter Shinners
Is it possible to derive a custom QStyle class from the built in "windows" theme with PyQt? I remember playing with this idea early in some Qt4 transitioning and didn't get too far. I may not have known what I was doing. Thought I would ask before venturing into this agani. My goal is to basi

Re: [PyQt] Re: About setting a pixmap as background

2007-08-02 Thread David Boddie
On Thu Aug 2 14:50:11 BST 2007, Gustavo A. Díaz wrote: > Anyone with a Tip for me with this? :$ > > Anyway, i am still trying to figure out how to do it, and i was reading > about stylesheets which i saw is a little more easy to implement a own style > for an app than using QStyle. You don't nee

[PyQt] Re: About setting a pixmap as background

2007-08-02 Thread Gustavo A. Díaz
Hi Guys! Anyone with a Tip for me with this? :$ Anyway, i am still trying to figure out how to do it, and i was reading about stylesheets which i saw is a little more easy to implement a own style for an app than using QStyle. So, this is not working: http://opencoffee.lnxteam.org/trac/browser/

Re: [PyQt] Can't load UI files under Turkish locale

2007-08-02 Thread Giovanni Bajo
On 8/2/2007 1:08 PM, Ismail Dönmez wrote: uic/properties.py line 220 says : getattr(widget, "set%s%s" % (propname[0].upper(), propname[1:]))( The propname[0].upper() part is problematic for Turkish locale, because uppercase of "i" is not "I" in Turkish locale but its i-with-a-dot-above (İ) .

[PyQt] Can't load UI files under Turkish locale

2007-08-02 Thread Ismail Dönmez
Hi all, uic/properties.py line 220 says : getattr(widget, "set%s%s" % (propname[0].upper(), propname[1:]))( The propname[0].upper() part is problematic for Turkish locale, because uppercase of "i" is not "I" in Turkish locale but its i-with-a-dot-above (İ) . So trying to load a UI file result

Re: [PyQt] Re: [PyKDE] Re: Use of enum in a namespace with SIP

2007-08-02 Thread Phil Thompson
On Thursday 02 August 2007 9:41 am, Diez B. Roggisch wrote: > Hi, > > I found this 2 year old post: > > Phil Thompson schrieb: > > On Tuesday 03 May 2005 10:34 pm, Claus, Richard wrote: > >> Hello, > >> > >> The following sip code does not produce compilable code with sip 4.2 > >> (4.2rc2-28

[PyQt] Re: [PyKDE] Re: Use of enum in a namespace with SIP

2007-08-02 Thread Diez B. Roggisch
Hi, I found this 2 year old post: Phil Thompson schrieb: > On Tuesday 03 May 2005 10:34 pm, Claus, Richard wrote: >> Hello, >> >> The following sip code does not produce compilable code with sip 4.2 >> (4.2rc2-289, Windows XP SP2). >> >> %Module MyTest >> >> namespace MyNamespace { >> >> enum