[PyQt] StandardButtonBox: move from QMainWindow to each tab
michaelkenth at gmail.com
Thu Jan 26 04:55:03 GMT 2017
> If I delete that QDialogButtonBox, and place OK and Cancel buttons in
> 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...
More information about the PyQt