I just tried my plugin again - as a normal user would use it.
When I Esc or Close-window-with-x-button, I get the same result as I do when I press the Cancel button of the QProgressDialog widget.
In my case it is copying images from calibre to a directory on a connected reader. The copying stops when any of the 3 actions is taken. The files already copied seem to be useable.
It is also apparent from the logging info I am collecting that dlg.wasCanceled() = True when tested by the calling program.
|