[PyKDE] Borderless Windows

David Boddie david at boddie.org.uk
Wed Aug 10 13:48:20 BST 2005


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




More information about the PyQt mailing list