Changeset View
Changeset View
Standalone View
Standalone View
tests/barcode.qml
Show All 40 Lines | 39 | // backgroundColor: "green" | |||
---|---|---|---|---|---|
41 | 41 | | |||
42 | RowLayout { | 42 | RowLayout { | ||
43 | Label { | 43 | Label { | ||
44 | text: "1D: " + (barcode.dimensions == Prison.Barcode.OneDimension) | 44 | text: "1D: " + (barcode.dimensions == Prison.Barcode.OneDimension) | ||
45 | } | 45 | } | ||
46 | Label { | 46 | Label { | ||
47 | text: "2D: " + (barcode.dimensions == 2) | 47 | text: "2D: " + (barcode.dimensions == 2) | ||
48 | } | 48 | } | ||
49 | Label { | ||||
50 | text: "Min size: " + barcode.minimumWidth + "x" + barcode.minimumHeight | ||||
51 | } | ||||
49 | } | 52 | } | ||
50 | } | 53 | } | ||
51 | } | 54 | } |