Welcome to mirror list, hosted at ThFree Co, Russian Federation.

UnsupportedProfileIndication.qml « Recommended « PrintSetupSelector « qml « resources - github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ff12fa9307abf293e98ede91ca552c073c115b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//Copyright (c) 2022 Ultimaker B.V.
//Cura is released under the terms of the LGPLv3 or higher.

import QtQuick 2.15

import Cura 1.6 as Cura
import UM 1.6 as UM

//Message showing the user that the configuration they have selected has no profiles.
Column
{
    spacing: UM.Theme.getSize("default_margin").height

    Row
    {
        width: parent.width

        spacing: UM.Theme.getSize("thin_margin").width

        UM.StatusIcon
        {
            width: UM.Theme.getSize("notification_icon").width
            status: UM.StatusIcon.Status.ERROR
        }

        UM.Label
        {
            width: parent.width

            font: UM.Theme.getFont("default_bold")
            text: catalog.i18nc("@error", "Configuration not supported")
        }
    }

    UM.Label
    {
        width: parent.width

        text: catalog.i18nc("@message:text %1 is the name the printer uses for 'nozzle'.", "No profiles are available for the selected material/%1 configuration. Please change your configuration."
            ).arg(Cura.MachineManager.activeDefinitionVariantsName)
    }

    Cura.TertiaryButton
    {
        anchors.right: parent.right

        text: catalog.i18nc("@button:label", "Learn more")
        textFont: UM.Theme.getFont("default")
        iconSource: UM.Theme.getIcon("LinkExternal")
        isIconOnRightSide: true

        onClicked: Qt.openUrlExternally("https://support.ultimaker.com/hc/en-us/articles/360012909099")
    }
}