ModelChecker.qml 604 B

123456789101112131415161718192021
  1. // Copyright (c) 2018 Ultimaker B.V.
  2. // Cura is released under the terms of the LGPLv3 or higher.
  3. import QtQuick 2.2
  4. import UM 1.5 as UM
  5. UM.SimpleButton
  6. {
  7. id: modelCheckerButton
  8. visible: manager.hasWarnings
  9. onClicked: manager.showWarnings()
  10. width: UM.Theme.getSize("save_button_specs_icons").width
  11. height: UM.Theme.getSize("save_button_specs_icons").height
  12. iconSource: Qt.resolvedUrl("model_checker.svg")
  13. anchors.verticalCenter: parent ? parent.verticalCenter : undefined
  14. color: UM.Theme.getColor("text_scene")
  15. hoverColor: UM.Theme.getColor("text_scene_hover")
  16. }