On Fri, Sep 12, 2008 at 18:26, Scott Frankel <[EMAIL PROTECTED]> wrote: > > When I call setWindowFlags(QtCore.Qt.Window), the dialog is presented with > only the maximize button enabled; the close and minimize buttons are > disabled. > > From the docs, it looks like the flags are combinable. However, none of the > combinations I've tried enable the close and minimize buttons. eg: > > form.setWindowFlags(QtCore.Qt.Window | > QtCore.Qt.WindowMinimizeButtonHint) > > For my current purposes, I'm most interested in the close button, though I > haven't found the hint that provides access to it.
You can't remove/disable close button because its handled by the window manager, Qt can't do anything there. Regards, ismail _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
