@@ -120,7 +120,7 @@ Loader {
120120 smooth: false
121121
122122 sourceSize .width : width
123- sourceSize .height : height
123+ sourceSize .height : ( selectorBarcodes . currentMode === " 2d " ) ? height : height / 4
124124 fillMode: Image .PreserveAspectFit
125125
126126 source: {
@@ -382,17 +382,18 @@ Loader {
382382 id: lmSelectorBarcodes_zintqml
383383
384384 // matrix
385- ListElement { idx: 0 ; type: " 2d" ; txt: " QrCode " ; format: " qrcode" ; maxnum: 0 ; maxchar: 4296 ; maxbytes: 2953 ; ecc: 4 ; }
385+ ListElement { idx: 0 ; type: " 2d" ; txt: " QR Code " ; format: " qrcode" ; maxnum: 0 ; maxchar: 4296 ; maxbytes: 2953 ; ecc: 4 ; }
386386 ListElement { idx: 1 ; type: " 2d" ; txt: " µQrCode" ; format: " microqrcode" ; maxnum: 0 ; maxchar: 21 ; maxbytes: 256 ; ecc: 4 ; }
387387 ListElement { idx: 2 ; type: " 2d" ; txt: " rect. µQrCode" ; format: " rmqr" ; maxnum: 0 ; maxchar: 21 ; maxbytes: 256 ; ecc: 4 ; }
388- ListElement { idx: 3 ; type: " 2d" ; txt: " Aztec" ; format: " aztec" ; maxnum: 0 ; maxchar: 3067 ; maxbytes: 3067 ; ecc: 8 ; }
388+ ListElement { idx: 3 ; type: " 2d" ; txt: " Aztec Code" ; format: " aztec" ; maxnum: 0 ; maxchar: 3067 ; maxbytes: 3067 ; ecc: 8 ; }
389+ // ListElement { idx: 4; type: "2d"; txt: "Aztec Rune"; format: "aztecrune"; maxnum: 0; maxchar: 3067; maxbytes: 3067; ecc: 8; }
389390 ListElement { idx: 4 ; type: " 2d" ; txt: " DataMatrix" ; format: " datamatrix" ; maxnum: 0 ; maxchar: 2335 ; maxbytes: 1556 ; ecc: 0 ; }
390391 ListElement { idx: 5 ; type: " 2d" ; txt: " PDF417" ; format: " pdf417" ; maxnum: 0 ; maxchar: 1850 ; maxbytes: 1108 ; ecc: 8 ; }
391392 ListElement { idx: 6 ; type: " 2d" ; txt: " µPDF417" ; format: " micropdf417" ; maxnum: 0 ; maxchar: 256 ; maxbytes: 1108 ; ecc: 8 ; }
392393 ListElement { idx: 7 ; type: " 2d" ; txt: " GridMatrix" ; format: " gridmatrix" ; maxnum: 0 ; maxchar: 2335 ; maxbytes: 1556 ; ecc: 0 ; }
393394 // esoteric (but fun)
394- ListElement { idx: 8 ; type: " 2d" ; txt: " DotCode" ; format: " dotcode" ; maxnum: 0 ; maxchar: 2335 ; maxbytes: 1556 ; ecc: 0 ; }
395- ListElement { idx: 9 ; type: " 2d" ; txt: " MaxiCode" ; format: " maxicode" ; maxnum: 0 ; maxchar: 2335 ; maxbytes: 1556 ; ecc: 0 ; }
395+ ListElement { idx: 8 ; type: " 2d" ; txt: " DotCode" ; format: " dotcode" ; maxnum: 0 ; maxchar: 2335 ; maxbytes: 1556 ; ecc: 0 ; }
396+ ListElement { idx: 9 ; type: " 2d" ; txt: " MaxiCode" ; format: " maxicode" ; maxnum: 0 ; maxchar: 2335 ; maxbytes: 1556 ; ecc: 0 ; }
396397 ListElement { idx: 10 ; type: " 2d" ; txt: " UltraCode" ; format: " ultracode" ; maxnum: 0 ; maxchar: 2335 ; maxbytes: 1556 ; ecc: 0 ; }
397398 ListElement { idx: 11 ; type: " 2d" ; txt: " Code One" ; format: " codeone" ; maxnum: 0 ; maxchar: 2335 ; maxbytes: 1556 ; ecc: 0 ; }
398399 // esoteric (but not particularly fun)
@@ -406,16 +407,17 @@ Loader {
406407
407408 // matrix
408409 ListElement { idx: 0 ; type: " 2d" ; txt: " QR Code" ; format: " qrcode" ; maxchar: 4296 ; maxbytes: 2953 ; ecc: 4 ; }
409- ListElement { idx: 1 ; type: " 2d" ; txt: " Aztec" ; format: " aztec" ; maxchar: 3067 ; maxbytes: 3067 ; ecc: 8 ; }
410+ ListElement { idx: 1 ; type: " 2d" ; txt: " Aztec Code" ; format: " aztec" ; maxchar: 3067 ; maxbytes: 3067 ; ecc: 8 ; }
411+ // ListElement { idx: 2; type: "2d"; txt: "Aztec Rune"; format: "aztecrune"; maxchar: 3067; maxbytes: 3067; ecc: 8; }
410412 ListElement { idx: 2 ; type: " 2d" ; txt: " DataMatrix" ; format: " datamatrix" ; maxchar: 2335 ; maxbytes: 1556 ; ecc: 0 ; }
411413 // linear
412- ListElement { idx: 3 ; type: " 1d" ; txt: " Codabar" ; format: " codabar" ; maxnum: 12 ; }
413- ListElement { idx: 4 ; type: " 1d" ; txt: " EAN 13" ; format: " ean13" ; maxnum: 12 ; }
414- ListElement { idx: 5 ; type: " 1d" ; txt: " EAN 8" ; format: " ean8" ; maxnum: 7 ; }
415- ListElement { idx: 6 ; type: " 1d" ; txt: " UPC-A" ; format: " upca" ; maxnum: 11 ; }
416- ListElement { idx: 7 ; type: " 1d" ; txt: " UPC-E" ; format: " upce" ; maxnum: 7 ; }
417- ListElement { idx: 8 ; type: " 1d" ; txt: " Code 39" ; format: " code39" ; maxnum: 39 ; }
418- ListElement { idx: 9 ; type: " 1d" ; txt: " Code 93" ; format: " code93" ; maxnum: 93 ; }
414+ ListElement { idx: 3 ; type: " 1d" ; txt: " Codabar" ; format: " codabar" ; maxnum: 12 ; }
415+ ListElement { idx: 4 ; type: " 1d" ; txt: " EAN 13" ; format: " ean13" ; maxnum: 12 ; }
416+ ListElement { idx: 5 ; type: " 1d" ; txt: " EAN 8" ; format: " ean8" ; maxnum: 7 ; }
417+ ListElement { idx: 6 ; type: " 1d" ; txt: " UPC-A" ; format: " upca" ; maxnum: 11 ; }
418+ ListElement { idx: 7 ; type: " 1d" ; txt: " UPC-E" ; format: " upce" ; maxnum: 7 ; }
419+ ListElement { idx: 8 ; type: " 1d" ; txt: " Code 39" ; format: " code39" ; maxnum: 39 ; }
420+ ListElement { idx: 9 ; type: " 1d" ; txt: " Code 93" ; format: " code93" ; maxnum: 93 ; }
419421 ListElement { idx: 10 ; type: " 1d" ; txt: " Code 128" ; format: " code128" ; maxnum: 128 ; }
420422 ListElement { idx: 11 ; type: " 1d" ; txt: " ITF" ; format: " itf" ; maxnum: 10 ; }
421423 }
@@ -496,7 +498,9 @@ Loader {
496498
497499 currentSelection: 0
498500 model: {
499- if (barcodeAdvanced .format === " aztec" ) return lmBarcodeEccAz
501+ if (barcodeAdvanced .format === " aztec" ||
502+ barcodeAdvanced .format === " azteccode" ||
503+ barcodeAdvanced .format === " aztecrune" ) return lmBarcodeEccAz
500504 if (barcodeAdvanced .format === " datamatrix" ) return lmBarcodeEccDM
501505 if (barcodeAdvanced .format === " qrcode" ||
502506 barcodeAdvanced .format === " microqrcode" ||
@@ -514,7 +518,9 @@ Loader {
514518 currentSelection = index
515519
516520 var vvv = 0
517- if (barcodeAdvanced .format === " aztec" ) vvv = lmBarcodeEccAz .get (index).ecc
521+ if (barcodeAdvanced .format === " aztec" ||
522+ barcodeAdvanced .format === " azteccode" ||
523+ barcodeAdvanced .format === " aztecrune" ) vvv = lmBarcodeEccAz .get (index).ecc
518524 if (barcodeAdvanced .format === " datamatrix" ) vvv = lmBarcodeEccDM .get (index).ecc
519525 if (barcodeAdvanced .format === " qrcode" ||
520526 barcodeAdvanced .format === " microqrcode" ||
0 commit comments