mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 21:15:52 +08:00
OnExitCallbackManager.py: Improve docstring layout
- Reduce line length. - More logical line breaks.
This commit is contained in:
parent
6298bb50ce
commit
62d05f2350
@ -10,10 +10,13 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# This class manages all registered upon-exit checks that need to be performed when the application tries to exit.
|
# This class manages all registered upon-exit checks
|
||||||
# For example, show a confirmation dialog when there is USB printing in progress. All callbacks will be called
|
# that need to be performed when the application tries to exit.
|
||||||
# in the order of when they were registered. If all callbacks "pass", that is, for example, if the user clicks "yes"
|
# For example, show a confirmation dialog when there is USB printing in progress.
|
||||||
# on the exit confirmation dialog and nothing is blocking the exit, then the application will quit.
|
# All callbacks will be called in the order of when they were registered.
|
||||||
|
# If all callbacks "pass", for example:
|
||||||
|
# if the user clicks "yes" on the exit confirmation dialog
|
||||||
|
# and nothing else is blocking the exit, then the application will quit.
|
||||||
#
|
#
|
||||||
class OnExitCallbackManager:
|
class OnExitCallbackManager:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user