[PyQt] StandardButtonBox: move from QMainWindow to each tab

michael h michaelkenth at gmail.com
Thu Jan 26 04:55:03 GMT 2017


>
>
>   If I delete that QDialogButtonBox, and place OK and Cancel buttons in
> each
> notebook tab, how do I specify their default behaviors? The Properties
> Manager does not display any signals and slots for these buttons.
>
>
Depends on what you want the buttons to do, but you can use the
signal/slots editor to connect these to a common action, or just connect to
the signals in code.

You should not be editing the generated file. That is almost always the
wrong way to use designer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170125/c69b83f7/attachment.html>


More information about the PyQt mailing list