[PyQt] QDialog window buttons
ismail at namtrac.org
Fri Sep 12 16:33:27 BST 2008
On Fri, Sep 12, 2008 at 18:26, Scott Frankel <frankel at circlesfx.com> wrote:
> When I call setWindowFlags(QtCore.Qt.Window), the dialog is presented with
> only the maximize button enabled; the close and minimize buttons are
> 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 |
> 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.
More information about the PyQt