Browse Source

Add list of available configurations to AutoConfiguration

This is the main item it needs to display.

Contributes to issue CURA-5876.
Ghostkeeper 6 years ago
parent
commit
87a0dc65e1
1 changed files with 10 additions and 0 deletions
  1. 10 0
      resources/qml/Menus/ConfigurationMenu/AutoConfiguration.qml

+ 10 - 0
resources/qml/Menus/ConfigurationMenu/AutoConfiguration.qml

@@ -5,6 +5,7 @@ import QtQuick 2.7
 import QtQuick.Controls 2.0
 
 import UM 1.3 as UM
+import Cura 1.0 as Cura
 
 Item
 {
@@ -26,4 +27,13 @@ Item
             right: parent.right
         }
     }
+
+    ConfigurationListView
+    {
+        anchors.top: header.bottom
+        anchors.topMargin: UM.Theme.getSize("default_margin").width
+        width: parent.width
+
+        outputDevice: Cura.MachineManager.printerOutputDevices.length >= 1 ? Cura.MachineManager.printerOutputDevices[0] : null
+    }
 }