Remake Save function

Operating system: 10
Slicer version: 5.2.1

Hi, slicer users,

I want to recreate the currently implemented save function with python.
Is it correct that the current implementation of the save function is made in C++ and qt?

I’m trying to override this with a function that requires some additional conditions to be met when the save button is pressed in order to save. Is it possible to access the save widget with Python?

My first attempt was to overriding the hotkey (“Ctrl+s”), but I can’t seem to override the existing hotkey.

Yes, sure, you can override the custom save dialog, donwhat vér you need to do, and then if you want you can also call the default dialog. I think the details were asked and described on this forum but if you cannot find it then let us know.

1 Like