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

UMOUpgradeSelectionMachineAction.qml « UltimakerMachineActions « plugins - github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3d7b4a054f0de77b5d991cd25260cd8b1c45d2e8 (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
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.

import QtQuick 2.10
import QtQuick.Controls 2.3

import UM 1.5 as UM
import Cura 1.1 as Cura


Cura.MachineAction
{
    UM.I18nCatalog { id: catalog; name: "cura"; }
    anchors.fill: parent

    Item
    {
        id: upgradeSelectionMachineAction
        anchors.fill: parent
        anchors.topMargin: UM.Theme.getSize("default_margin").width * 5
        anchors.leftMargin: UM.Theme.getSize("default_margin").width * 4

        Label
        {
            id: pageDescription
            anchors.top: parent.top
            anchors.topMargin: UM.Theme.getSize("default_margin").height
            width: parent.width
            wrapMode: Text.WordWrap
            text: catalog.i18nc("@label","Please select any upgrades made to this Ultimaker Original")
            font: UM.Theme.getFont("medium")
            color: UM.Theme.getColor("text")
            renderType: Text.NativeRendering
        }

        UM.CheckBox
        {
            anchors.top: pageDescription.bottom
            anchors.topMargin: UM.Theme.getSize("default_margin").height

            text: catalog.i18nc("@label", "Heated Build Plate (official kit or self-built)")
            checked: manager.hasHeatedBed
            onClicked: manager.setHeatedBed(checked)
        }
    }
}