PrintCoreConfiguration.qml 763 B

123456789101112131415161718192021222324252627282930313233
  1. import QtQuick 2.2
  2. import QtQuick.Controls 1.4
  3. import QtQuick.Controls.Styles 1.4
  4. import UM 1.2 as UM
  5. Item
  6. {
  7. id: extruderInfo
  8. property var printCoreConfiguration
  9. width: parent.width / 2
  10. height: childrenRect.height
  11. Label
  12. {
  13. id: materialLabel
  14. text: printCoreConfiguration.material.material + " (" + printCoreConfiguration.material.color + ")"
  15. elide: Text.ElideRight
  16. width: parent.width
  17. font: UM.Theme.getFont("very_small")
  18. }
  19. Label
  20. {
  21. id: printCoreLabel
  22. text: printCoreConfiguration.print_core_id
  23. anchors.top: materialLabel.bottom
  24. elide: Text.ElideRight
  25. width: parent.width
  26. font: UM.Theme.getFont("very_small")
  27. opacity: 0.5
  28. }
  29. }