Re: [PyQt] Rounded corners

2012-04-10 Thread Alfredo Junior
Thank you man. Works very well! =) - Original Message - From: Vincent Vande Vyvre To: pyqt@riverbankcomputing.com Cc: Sent: Monday, April 9, 2012 9:45 PM Subject: Re: [PyQt] Rounded corners Le 09/04/12 20:24, Alfredo Junior a écrit : > Hi people, > > I'm trying t

Re: [PyQt] Rounded corners

2012-04-09 Thread Vincent Vande Vyvre
Le 09/04/12 20:24, Alfredo Junior a écrit : > Hi people, > > I'm trying to convert some QGraphicsView pictures. The conversion was to > round the corners of the image. > > I tried to make it on three forms below and do not succeed in any of them. > > http://pastebin.com/CwnxpueK > > > I supose tha

[PyQt] Rounded corners

2012-04-09 Thread Alfredo Junior
Hi people, I'm trying to convert some QGraphicsView pictures. The conversion was to round the corners of the image. I tried to make it on three forms below and do not succeed in any of them. http://pastebin.com/CwnxpueK I supose that the best way is using setMask(), but I could not do somethi

Re: [PyQt] rounded corners on a qlabel used as a top level window

2010-02-11 Thread Victor Noagbodji
thanks Henning, i thought the example was specific to splashscreen, but it worked. now i need to get the exact shape. -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] rounded corners on a qlabel used as a top level window

2010-02-11 Thread Henning Schröder
On Thu, Feb 11, 2010 at 10:42 PM, Victor Noagbodji wrote: > > hello all, > > if you visit http://jsgrowl.com/, you will see nice modal and > semi-modal windows. the idea is to reproduce them using pyqt. i > started with a qlabel. used html for the content. set the window flag > to Qt.SplashScreen.

[PyQt] rounded corners on a qlabel used as a top level window

2010-02-11 Thread Victor Noagbodji
hello all, if you visit http://jsgrowl.com/, you will see nice modal and semi-modal windows. the idea is to reproduce them using pyqt. i started with a qlabel. used html for the content. set the window flag to Qt.SplashScreen. and applied my stylesheet. but the squared corner is not going way. t