File: ModelChecker.qml

package info (click to toggle)
cura 5.0.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 122,888 kB
  • sloc: python: 44,572; sh: 81; xml: 32; makefile: 16
file content (21 lines) | stat: -rw-r--r-- 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.

import QtQuick 2.2
import UM 1.5 as UM


UM.SimpleButton
{
    id: modelCheckerButton

    visible: manager.hasWarnings
    onClicked: manager.showWarnings()

    width: UM.Theme.getSize("save_button_specs_icons").width
    height: UM.Theme.getSize("save_button_specs_icons").height
    iconSource: Qt.resolvedUrl("model_checker.svg")
    anchors.verticalCenter: parent ? parent.verticalCenter : undefined
    color: UM.Theme.getColor("text_scene")
    hoverColor: UM.Theme.getColor("text_scene_hover")
}