I gave complete examples for both customizing the application close behavior (using event filter) and creating a custom save dialog (by adding a new file dialog class). For an optimal user experience probably you want to customize both.
lassoan
(Andras Lasso)
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Warning when closing scene | 1 | 246 | August 18, 2023 | |
| triggering main window exit when exiting from qdialog window | 2 | 366 | July 5, 2023 | |
| How to disable the Add Data Dialog when dragging and dropping an .mrml file into Slicer? | 3 | 371 | February 6, 2020 | |
| Custom Slicer build - Save button does not bring up "Save Data" widget, does not load NRRD files | 10 | 538 | March 12, 2020 | |
| Stop module exit | 3 | 594 | June 7, 2021 |