WIP: Implement add machine from network device

This commit is contained in:
Lipu Fei 2019-03-13 12:04:52 +01:00
parent f7f5123fea
commit de9f6f47bd
5 changed files with 80 additions and 8 deletions

View file

@ -57,6 +57,13 @@ Item
anchors.rightMargin: 10
outputDevice: modelData.device
updatePrinterTypesFunction: updateMachineTypes
function updateMachineTypes()
{
printerTypesList = [ modelData.machine_type_with_spaces ]
}
checkable: false
selected: ListView.view.currentIndex == model.index
onClicked: