mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-29 15:25:02 +08:00
20 lines
455 B
QML
20 lines
455 B
QML
// Copyright (c) 2022 Ultimaker B.V.
|
|
// Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
import UM 1.5 as UM
|
|
import Cura 1.5 as Cura
|
|
|
|
// Wrapper around the UM.MessageBox with the primary/secondarybuttons
|
|
// set to Cura.PrimaryButton and Cura.SecondaryButton respectively
|
|
UM.MessageDialog
|
|
{
|
|
primaryButton: Cura.PrimaryButton
|
|
{
|
|
text: model.text
|
|
}
|
|
|
|
secondaryButton: Cura.TertiaryButton
|
|
{
|
|
text: model.text
|
|
}
|
|
} |