MessageDialog.qml 455 B

1234567891011121314151617181920
  1. // Copyright (c) 2022 Ultimaker B.V.
  2. // Cura is released under the terms of the LGPLv3 or higher.
  3. import UM 1.5 as UM
  4. import Cura 1.5 as Cura
  5. // Wrapper around the UM.MessageBox with the primary/secondarybuttons
  6. // set to Cura.PrimaryButton and Cura.SecondaryButton respectively
  7. UM.MessageDialog
  8. {
  9. primaryButton: Cura.PrimaryButton
  10. {
  11. text: model.text
  12. }
  13. secondaryButton: Cura.TertiaryButton
  14. {
  15. text: model.text
  16. }
  17. }