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

List:       pykde
Subject:    Re: [PyKDE] Borderless Windows
From:       "David Boddie" <david () boddie ! org ! uk>
Date:       2005-08-10 12:48:20
Message-ID: 200508100548.AA21561460 () boddie ! org ! uk
[Download RAW message or body]

On Tue, 9 Aug 2005 11:02:56 +0530, The Abattoir[!] wrote: 
 
> I want help with trying to make windows borderless. 
> For example, in the file pyKHTMLPart.py, in the examples folder 
> of the PyKDE package, I changed the constructor call from 
> 
> parts=pyPartsMW(None,"pyParts") 
> 
> to 
> 
> parts=pyPartsMW(None,"Window",Qt.WStyle_NoBorder) 
> (i imported Qt from qt). 
> 
> But still it does not work. I also tried 
> setWFlags(self.WStyle_NoBorder), 
> but that also does not seem to work. 
 
You can also try using QWidget::setMask() to mask the window 
frame. Alternatively, a better solution might be to use 
KWin::setType() to set the window type to NET::Override. 
 
Good luck, 
 
David 


___________________________________________________________
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com

_______________________________________________
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