WIP: Show full name of network printer types

This commit is contained in:
Lipu Fei 2019-03-13 13:03:41 +01:00
parent de9f6f47bd
commit 764f7281c2
4 changed files with 30 additions and 7 deletions

View file

@ -57,11 +57,15 @@ Item
anchors.rightMargin: 10
outputDevice: modelData.device
printerTypeLabelAutoFit: true
updatePrinterTypesFunction: updateMachineTypes
// show printer type as it is
printerTypeLabelConversionFunction: function(value) { return value }
function updateMachineTypes()
{
printerTypesList = [ modelData.machine_type_with_spaces ]
printerTypesList = [ modelData.readable_machine_type ]
}
checkable: false