Cura/cura/UI
Kostas Karmas 669dcc62dd Add extra "AddPrinterPagesModel" without the cancel button
This commit adds an additional AddPrinterPagesModel in Cura that does
not have the "Cancel" button in the "Add Printer" page. To achieve
that, the AddPrinterPagesModel is modified so that its initialize
function decides whether or not it will add the cancel button.

If Cura ends up in a state without an active machine, the AddPrinters
dialog will open up using the showAddPrintersUncancellableDialog signal
and display the new "Uncancellable" (is this a word?)
AddPrinterPagesModel, so that the dialog cannot be dismissed.

If Cura is closed at that point, the next time it is initiated, if the
user is logged in and there is no ActiveMachine, then instead of
displaying the entire WelcomePages wizard, it will show the
uncancellable AddPrinterPagesModel, forcing the user to add a printer.

CURA-7454
2020-06-09 15:20:15 +02:00
..
__init__.py WIP: Add Welcome Page and use CTRL+Alt+D to trigger 2019-02-27 12:45:28 +01:00
AddPrinterPagesModel.py Add extra "AddPrinterPagesModel" without the cancel button 2020-06-09 15:20:15 +02:00
CuraSplashScreen.py Make animation time instead of update dependant 2019-12-24 12:53:19 +01:00
MachineActionManager.py Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
MachineSettingsManager.py Remove use of deprecated extruders property 2020-06-02 11:54:10 +02:00
ObjectsModel.py Convert remaining doxygen to rst 2020-05-28 17:13:44 +02:00
PrintInformation.py Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
RecommendedMode.py Change import 2019-05-21 15:17:04 +02:00
TextManager.py Gracefully handle the sitation if the changelog was not found 2020-03-18 11:17:23 +01:00
WelcomePagesModel.py Add is_final_page attribute and mark the "Add Cloud Printers" page as final 2020-04-29 11:37:42 +02:00
WhatsNewPagesModel.py Remove hack in WelcomePagesModel and add WhatsNewPagesModel 2019-04-12 12:11:09 +02:00