EmptyViewMenuComponent.qml 633 B

12345678910111213141516171819202122232425262728
  1. // Copyright (c) 2019 Ultimaker B.V.
  2. // Cura is released under the terms of the LGPLv3 or higher.
  3. import QtQuick 2.10
  4. import QtQuick.Controls 2.3
  5. import QtGraphicalEffects 1.0 // For the dropshadow
  6. import UM 1.2 as UM
  7. // Empty placeholder
  8. Rectangle
  9. {
  10. color: UM.Theme.getColor("disabled")
  11. DropShadow
  12. {
  13. id: shadow
  14. // Don't blur the shadow
  15. radius: 0
  16. anchors.fill: parent
  17. source: parent
  18. verticalOffset: 2
  19. visible: true
  20. color: UM.Theme.getColor("action_button_shadow")
  21. // Should always be drawn behind the background.
  22. z: parent.z - 1
  23. }
  24. }