Quote:
Originally Posted by kovidgoyal
from calibre.constants import DEBUG
if DEBUG:
print (whatever)
|
Great! Is there something that will work with 'calibre -v' too? What about some GUI feedback?
Quote:
See the documentation for QDialogButtonBox, you can add as many types of buttons as you like.
|
But I didn't define the QDialogButtonBox for the config dialog. As far as I can see that is defined in calibre/customize/__init__.py:
Code:
button_box = QDialogButtonBox(QDialogButtonBox.Ok | QDialogButtonBox.Cancel)
Can I access from my plugin the QDialogButtonBox that is defined in the standard do_user_config procedure?