[PyKDE] Window Flags not working

Ismail Donmez ismail at pardus.org.tr
Sat Apr 8 13:27:40 BST 2006


Cumartesi 8 Nisan 2006 15:25 tarihinde, Chakkaradeep C C şunları yazmıştı: 
> hi all,
>
> am using qt-3.3 and PyQt. Am trying to remove the close button,maximize
> button and have minimize button only.I changed the window flags in the
> QDialog constructor as ,
>
> class NetAccess(QDialog):
>     def __init__(self,parent = None,name = None,modal = 0,f=
> Qt.WStyle_Customize |Qt.WStyle_Title|Qt.WStyle_Minimize):
>         QDialog.__init__(self,parent,name,modal,f)
>
> But i dont get reflected :(.

Respecting them is up to window manager running and for example KWin won't let 
you remove some of those buttons.

Regards,
ismail

-- 
<Terwou> \\o \o> <o/ o//
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060408/a2a3731d/attachment.bin


More information about the PyQt mailing list