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//
pgpVBMAhdKWbo.pgp
Description: PGP signature
_______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
