widgets: refactor the ProgressDialog to avoid overriding Qt methods
commitcf8d760066224fb9c198f1d19b8b24525b91ccbf
authorDavid Aguilar <davvid@gmail.com>
Mon, 13 Mar 2023 07:24:45 +0000 (13 00:24 -0700)
committerDavid Aguilar <davvid@gmail.com>
Mon, 13 Mar 2023 10:24:16 +0000 (13 03:24 -0700)
treea401993c15499bfa021559fcf515be231d9b139e
parentc0726325d2b98d5443c8f81232e021bb2cad4327
widgets: refactor the ProgressDialog to avoid overriding Qt methods

Allow show(), hide(), refresh() and thread() to retain their original Qt
implementations.

Move the custom guts of show() and hide() into separate start() and
stop() functions.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/qtutils.py
cola/widgets/standard.py