[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,6 +2,6 @@
<service name="tar_git">
<param name="url">https://github.com/monich/sailfish-barcode.git</param>
<param name="branch">master</param>
- <param name="revision">675c5c4</param>
+ <param name="revision">226869b</param>
</service>
</services>
\ No newline at end of file
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/aztec_240.png
^
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/code-128_240.png
^
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/code-39_240.png
^
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/code-93_240.png
^
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/codebar_240.png
^
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/datamatrix_240.png
^
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/ean-13_240.png
^
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/ean-8_240.png
^
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/interleaved_240.png
^
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/pdf417_240.png
^
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/qr-code_240.png
^
|
|
Deleted |
_service:tar_git:harbour-barcode-1.0.44.tar.bz2/qml/pages/img/upc_240.png
^
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/README.md
^
|
@@ -13,7 +13,7 @@
The MIT License (MIT)
Copyright (c) 2014 Steffen Förster\
-Copyright (c) 2018-2021 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/harbour-barcode.pro
^
|
@@ -10,7 +10,7 @@
LIBS += -ldl
isEmpty(VERSION) {
- VERSION = 1.0.44
+ VERSION = 1.0.45
message("VERSION is unset, assuming $$VERSION")
}
@@ -31,6 +31,7 @@
}
SOURCES += \
+ src/BarcodeFormatModel.cpp \
src/BarcodeUtils.cpp \
src/Database.cpp \
src/DGCertModel.cpp \
@@ -48,6 +49,7 @@
src/scanner/ImageSource.cpp
HEADERS += \
+ src/BarcodeFormatModel.h \
src/BarcodeUtils.h \
src/Database.h \
src/DGCertModel.h \
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/components/LabelText.qml
^
|
@@ -2,7 +2,7 @@
The MIT License (MIT)
Copyright (c) 2014 Steffen Förster
-Copyright (c) 2018-2021 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -53,6 +53,7 @@
width: parent.width
font.pixelSize: Theme.fontSizeSmall
wrapMode: Text.Wrap
+ visible: text.text.length > 0
}
Label {
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/js/Utils.js
^
|
@@ -2,7 +2,7 @@
The MIT License (MIT)
Copyright (c) 2014 Steffen Förster
-Copyright (c) 2018-2020 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -89,45 +89,3 @@
return removeLineBreak(value)
}
}
-
-function barcodeFormat(format) {
- if (format === "AZTEC") {
- return "Aztec"
- } else if (format === "CODABAR") {
- return "Codabar"
- } else if (format === "CODE_39") {
- return "Code 39"
- } else if (format === "CODE_93") {
- return "Code 93"
- } else if (format === "CODE_128") {
- return "Code 128"
- } else if (format === "DATA_MATRIX") {
- return "Data Matrix"
- } else if (format === "EAN_8") {
- return "EAN-8"
- } else if (format === "EAN_13") {
- return "EAN-13"
- } else if (format === "ITF") {
- return "ITF-14"
- } else if (format === "MAXICODE") {
- return "MaxiCode"
- } else if (format === "PDF_417") {
- return "PDF417"
- } else if (format === "QR_CODE") {
- return "QR Code"
- } else if (format === "RSS_14") {
- return "RSS-14"
- } else if (format === "RSS_EXPANDED") {
- return "RSS"
- } else if (format === "UPC_A") {
- return "UPC-A"
- } else if (format === "UPC_E") {
- return "UPC-E"
- } else if (format === "UPC_EAN_EXTENSION") {
- return "EAN"
- } else if (format === "ASSUME_GS1") {
- return "GS1"
- } else {
- return ""
- }
-}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/AboutPage.qml
^
|
@@ -2,7 +2,7 @@
The MIT License (MIT)
Copyright (c) 2014 Steffen Förster
-Copyright (c) 2018-2021 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -25,8 +25,10 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
+import harbour.barcode 1.0
import "../components"
+import "../harbour"
Page {
id: aboutPage
@@ -139,9 +141,6 @@
//: About page label
//% "Supported 1D/2D bar codes"
label: qsTrId("about-supported_codes-label")
- //: About page text
- //% "Image source: %1"
- text: qsTrId("about-supported_codes-text").arg("http://wikipedia.org")
separator: false
}
@@ -157,86 +156,42 @@
columns: Math.max(Math.floor((width + spacing)/(Theme.itemSizeExtraLarge + spacing)), 1)
Repeater {
- model: ListModel {
- ListElement {
- name: "QR code"
- imgSrc: "qr-code_240.png"
- }
- ListElement {
- name: "Aztec"
- imgSrc: "aztec_240.png"
- }
- ListElement {
- name: "Data Matrix"
- imgSrc: "datamatrix_240.png"
- }
- ListElement {
- name: "Code 39"
- imgSrc: "code-39_240.png"
- }
- ListElement {
- name: "Code 93"
- imgSrc: "code-93_240.png"
- }
- ListElement {
- name: "Code 128"
- imgSrc: "code-128_240.png"
- }
- ListElement {
- name: "EAN 8"
- imgSrc: "ean-8_240.png"
- }
- ListElement {
- name: "EAN 13"
- imgSrc: "ean-13_240.png"
- }
- ListElement {
- name: "Interleaved 2/5"
- imgSrc: "interleaved_240.png"
- }
- ListElement {
- name: "UPC"
- imgSrc: "upc_240.png"
- }
- ListElement {
- name: "Codebar"
- imgSrc: "codebar_240.png"
- }
- ListElement {
- name: "PDF417"
- imgSrc: "pdf417_240.png"
- }
- }
-
- delegate: ShaderEffectSource {
+ model: BarcodeFormatModel { }
+ delegate: Item {
width: grid.cellWidth
height: grid.cellHeight
- sourceItem: Item {
- width: grid.cellWidth
- height: grid.cellHeight
-
- Rectangle {
- color: "white"
- anchors.fill: parent
- }
- Image {
- source: "img/" + model.imgSrc
- width: parent.width - 2 * Theme.paddingSmall
- anchors.centerIn: parent
- fillMode: Image.PreserveAspectFit
- smooth: true
- }
+ Rectangle {
+ color: "white"
+ anchors.fill: parent
+ }
- Text {
- text: name;
- font.pixelSize: Theme.fontSizeTiny
- color: "black"
- anchors {
- horizontalCenter: parent.horizontalCenter
- baselineOffset: -Theme.paddingSmall
- baseline: parent.bottom
- }
+ HarbourHighlightIcon {
+ anchors {
+ horizontalCenter: parent.horizontalCenter
+ top: parent.top
+ topMargin: Theme.paddingSmall
+ bottom: formatName.top
+ }
+ width: parent.width - 2 * Theme.paddingSmall
+ source: "img/sample-" + model.sample + ".svg"
+ highlightColor: "black"
+ sourceSize.height: height
+ fillMode: Image.PreserveAspectFit
+ verticalAlignment: Image.AlignTop
+ horizontalAlignment: Image.AlignHCenter
+ smooth: true
+ }
+
+ Text {
+ id: formatName
+
+ text: model.name
+ font.pixelSize: Theme.fontSizeTiny
+ color: "black"
+ anchors {
+ horizontalCenter: parent.horizontalCenter
+ bottom: parent.bottom
}
}
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/CodeItem.qml
^
|
@@ -2,7 +2,7 @@
The MIT License (MIT)
Copyright (c) 2014 Steffen Förster
-Copyright (c) 2018-2021 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -130,7 +130,7 @@
PageHeader {
id: pageHeader
- title: Utils.barcodeFormat(codeItem.format)
+ title: BarcodeUtils.barcodeFormatName(codeItem.format)
description: HistoryModel.formatTimestamp(codeItem.timestamp)
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/HistoryItem.qml
^
|
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
-Copyright (c) 2019-2020 Slava Monich
+Copyright (c) 2019-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -77,7 +77,7 @@
}
color: Theme.highlightColor
font.pixelSize: Theme.fontSizeExtraSmall
- text: Utils.barcodeFormat(item.format)
+ text: BarcodeUtils.barcodeFormatName(item.format)
}
}
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/ScanPage.qml
^
|
@@ -2,7 +2,7 @@
The MIT License (MIT)
Copyright (c) 2014 Steffen Förster
-Copyright (c) 2018-2021 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -243,6 +243,7 @@
markerColor: AppSettings.markerColor
rotation: orientationAngle()
canGrab: (!galleryImage || !galleryImage.moving) && !galleryScanTimer.running
+ decodingHints: AppSettings.decodingHints
onDecodingFinished: {
if (result.ok) {
@@ -909,7 +910,7 @@
width: parent.width
color: resultItem.highlighted ? Theme.secondaryHighlightColor : Theme.secondaryColor
font.pixelSize: Theme.fontSizeExtraSmall
- text: Utils.barcodeFormat(clickableResult.format)
+ text: BarcodeUtils.barcodeFormatName(clickableResult.format)
truncationMode: TruncationMode.Fade
}
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/SettingsPage.qml
^
|
@@ -2,7 +2,7 @@
The MIT License (MIT)
Copyright (c) 2014 Steffen Förster
-Copyright (c) 2018-2021 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -107,6 +107,49 @@
PageHeader { title: qsTrId("settings-title") }
//: Section header
+ //% "Barcode formats"
+ SectionHeader { text: qsTrId("settings-formats-section") }
+
+ Label {
+ x: Theme.horizontalPageMargin
+ width: parent.width - x*2
+ wrapMode: Text.Wrap
+ font.pixelSize: Theme.fontSizeExtraSmall
+ color: Theme.secondaryColor
+ //: Section description
+ //% "Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type."
+ text: qsTrId("settings-formats-description")
+ }
+
+ Grid {
+ id: formatsGrid
+
+ width: parent.width
+ columns: landscapeLayout ? 4 : 2
+
+ readonly property real columnWidth: Math.floor(width/columns)
+ readonly property int portraitColumns: Math.max(1, Math.min(2, width/Theme.itemSizeHuge))
+ readonly property int landscapeColumns: Math.max(2, Math.min(4, width/Theme.itemSizeHuge))
+
+ Repeater {
+ model: BarcodeFormatModel { hints: AppSettings.decodingHints }
+ delegate: TextSwitch {
+ text: model.name
+ width: formatsGrid.columnWidth
+ automaticCheck: false
+ checked: model.enabled
+ onClicked: {
+ if (checked) {
+ AppSettings.clearDecodingHint(model.hint)
+ } else {
+ AppSettings.setDecodingHint(model.hint)
+ }
+ }
+ }
+ }
+ }
+
+ //: Section header
//% "Display"
SectionHeader { text: qsTrId("settings-display-section") }
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-aztec.svg
^
|
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="100"
+ height="100"
+ viewBox="0 0 26.458333 26.458334"
+ version="1.1"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
+ sodipodi:docname="sample-aztec.svg">
+ <g
+ transform="translate(-44.676412,-155.76219)">
+ <path
+ style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.0526315"
+ d="m 47.461499,179.43543 h -1.392543 v 1.39254 h -1.392544 v -4.17763 h 1.392544 v 1.39255 h 1.392543 v -4.17763 h -2.785087 v -1.39255 h 1.392544 v -1.39255 h 2.785088 v -1.39253 h 1.392544 v 1.39253 h -1.392544 v 1.39255 h 2.785087 v -4.17763 h -4.177632 v 1.39255 h -2.785087 v -1.39255 h 2.785087 v -1.39255 h -1.392543 v -2.78508 h 4.177632 v -1.39255 h -1.392544 v -4.17763 h 2.785087 v 2.78509 h 1.392544 v 1.39254 h 1.392544 v -1.39254 h 1.392544 v -2.78509 h -1.392544 v -1.39254 h 1.392544 v 1.39254 h 2.785087 v 1.39255 h -1.392543 v 1.39254 h -1.392544 v 1.39254 h 2.785087 v -1.39254 h 1.392545 v -1.39254 h 1.392544 v 1.39254 h 1.392543 v 1.39254 h 1.392544 v -2.78508 h -1.392544 v -1.39255 h -2.785087 v -1.39254 h 1.392544 v -1.39254 h 4.17763 v 1.39254 h -1.392543 v 2.78509 h 1.392543 v 4.17763 h 1.392545 v -2.78509 h 1.392544 v -1.39254 h 1.392543 v -2.78509 h -1.392543 v 1.39254 h -1.392544 v -1.39254 h 1.392544 v -1.39254 h 1.392543 v 1.39254 h 1.392544 v 2.78509 h -1.392544 v 1.39254 h -1.392543 v 2.78509 h 1.392543 v -1.39255 h 1.392544 v 8.35526 h -1.392544 v 1.39255 h 1.392544 v 2.78508 h -1.392544 v 1.39255 h -1.392543 v -1.39255 h -1.392544 v 2.7851 h 1.392544 v 2.78508 h -1.392544 v 1.39255 h -1.392545 v -1.39255 h -1.392543 v 1.39255 h -2.785087 v -1.39255 h 2.785087 v -1.39254 h 1.392543 v -1.39254 h -2.785087 v 1.39254 H 58.60185 v 1.39254 h 1.392545 v 1.39255 H 58.60185 v -1.39255 h -1.392543 v -1.39254 h -1.392544 v -1.39254 h -1.392544 v 1.39254 h -1.392544 v 1.39254 h -1.392544 v -1.39254 h -1.392543 v -1.39254 h -2.785089 v 1.39254 h 1.392545 v 2.78509 h -1.392545 z m 19.495615,0 h -1.392545 v 1.39254 h 1.392545 z m -8.355264,-1.39254 h -1.392543 v 1.39254 h 1.392543 z m -5.570175,-2.7851 h -1.392544 v -1.39253 h -1.392543 v 4.17763 h 2.785087 z m 12.532894,0 h 1.392545 v -1.39253 h -1.392545 v -1.39255 h -1.392543 v 1.39255 h 1.392543 v 1.39253 h -8.355262 v 1.39255 h 8.355262 z m 4.177632,-2.78508 h -1.392543 v 2.78508 h 1.392543 z m -6.962719,-8.35526 h -9.747807 v 9.74781 h 9.747807 z M 54.424219,165.51 h 6.96272 v 6.96271 h -6.96272 z m 5.570176,1.39253 h -4.177632 v 4.17763 h 4.177632 z m -2.785088,1.39255 h 1.392543 v 1.39255 h -1.392543 z m 12.532894,1.39255 h -4.177632 v -2.7851 h -1.392543 v 1.39255 1.39255 h 1.392543 v 1.39253 h 4.177632 z M 68.349658,165.51 h -1.392544 v 2.78508 h 1.392544 z M 51.639131,164.11745 H 50.246588 V 165.51 h -1.392544 v 1.39253 h 2.785087 z m 13.925438,0 H 64.172026 V 165.51 h 1.392543 z m -11.14035,16.71052 h 1.392544 v 1.39255 h -1.392544 z m 15.317982,-1.39254 h 1.392544 v 1.39254 H 69.742201 Z M 46.068956,161.33236 h -1.392544 v -1.39254 h 1.392544 v 1.39254 h 1.392543 v 1.39254 h -1.392543 z m -1.392544,-5.57017 h 5.570176 v 1.39254 h -4.177632 v 1.39254 h -1.392544 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"/>
+ </g>
+</svg>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-codabar.svg
^
|
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.0"
+ width="546.42859"
+ height="100"
+ sodipodi:docname="sample-codabar.svg"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
+ <g
+ transform="matrix(1.0204082,0,0,1.0204082,-52.12515,-35.036106)"
+ style="fill:#ffffff;fill-opacity:1">
+ <path
+ d="M 57.082645,132.33538 V 34.335383 h 6 v 97.999997 z m -6,0 V 34.335383 h 2 v 97.999997 z m 18.25,0 V 34.335383 h 2 v 97.999997 z m 15.6,0 V 34.335383 h 6 v 97.999997 z m -7.85,0 V 34.335383 h 2 v 97.999997 z m 22.033587,0 0.466413,-97.999997 h 2.000005 l -0.46641,97.999997 z m 5.716418,0 V 34.335383 h 2 v 97.999997 z m 5.25,0 V 34.335383 h 2 v 97.999997 z m 14.25,0 V 34.335383 h 2 v 97.999997 z m 5.54999,0 V 34.335383 h 6 v 97.999997 z m 33.85,0 V 34.335383 h 6 v 97.999997 z m -44.99999,0 V 34.335383 h 2 v 97.999997 z m 25.35,0 V 34.335383 h 2 v 97.999997 z m 8.64999,0 V 34.335383 h 2 v 97.999997 z m 5.5,0 V 34.335383 h 2 v 97.999997 z m 19.65,0 V 34.335383 h 2.00001 v 97.999997 z m 20.00001,0 V 34.335383 h 6 v 97.999997 z m 38.7,0 V 34.335383 h 6 v 97.999997 z m -50.10001,0 V 34.335383 h 2 v 97.999997 z m 5.60001,0 V 34.335383 h 2 v 97.999997 z m 20.25048,0 -4.8e-4,-97.999997 h 2 v 97.999997 z m 8.50951,0 V 34.335383 h 2 v 97.999997 z m 10.24001,0 V 34.335383 h 2 v 97.999997 z m 15,0 V 34.335383 h 2 v 97.999997 z m 8.5,0 V 34.335383 h 2.03514 l -0.0703,97.999997 z m 21.3951,0 V 34.335383 h 5.79019 l 0.4196,97.999997 z m -15.8951,0 V 34.335383 h 2 v 97.999997 z m 5.5,0 V 34.335383 h 2 v 97.999997 z m 22.8,0 V 34.335383 h 2 v 97.999997 z m 11.2,0 V 34.335383 h 6 v 97.999997 z m 22.5,0 V 34.335383 h 6 v 97.999997 z m -28.2,0 V 34.335383 h 2 v 97.999997 z m 19.7,0 V 34.335383 h 1.5 v 97.999997 z m 28.5,0 V 34.335383 h 2 v 97.999997 z m -5.7,0 V 34.335383 h 2 v 97.999997 z m 11.2,0 V 34.335383 h 2 v 97.999997 z m 8.5,0 V 34.335383 h 2 v 97.999997 z m 5.6,0 V 34.335383 h 2 v 97.999997 z m 15.9,0 V 34.335383 h 6 v 97.999997 z m 33.69999,0 V 34.335383 h 6 v 97.999997 z m -39.19999,0 V 34.335383 h 2 v 97.999997 z m 17.69999,0 V 34.335383 h 2 v 97.999997 z m 5.60001,0 V 34.335383 h 2 v 97.999997 z m 5.7,0 V 34.335383 h 2 v 97.999997 z m 22.5,0 V 34.335383 h 2 v 97.999997 z m 21.75,0 V 34.335383 h 6 v 97.999997 z m 12,0 V 34.335383 h 6 v 97.999997 z m -23.25,0 V 34.335383 h 2 v 97.999997 z m 5.69999,0 V 34.335383 h 2 v 97.999997 z m 67.15001,0 V 34.335383 h 5.99999 v 97.999997 z m -35.35,0 V 34.335383 h 2 v 97.999997 z m 5.5,0 V 34.335383 h 2 v 97.999997 z m 5.64999,0 V 34.335383 h 2 v 97.999997 z m 8.60001,0 V 34.335383 h 2 v 97.999997 z m 10.5,0 V 34.335383 h 2 v 97.999997 z m 23.24999,0 V 34.335383 h 6 v 97.999997 z m -8.69999,0 V 34.335383 h 2 v 97.999997 z m 17.69999,0 V 34.335383 h 2 v 97.999997 z m 6,0 V 34.335383 h 2 v 97.999997 z m 10.2,0 V 34.335383 h 2 v 97.999997 z m 8.60001,0 V 34.335383 h 2 v 97.999997 z m 7.69999,0 V 34.335383 h 2 v 97.999997 z m 14,0 V 34.335383 h 6 v 97.999997 z m -5.1,0 V 34.335383 h 2 v 97.999997 z"
+ style="opacity:1;fill:#ffffff;fill-opacity:1"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"/>
+ </g>
+</svg>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-code128.svg
^
|
@@ -0,0 +1,206 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ x="0.0000mm"
+ y="0.0000mm"
+ width="294"
+ height="100"
+ viewBox="0 0 77.787502 26.458334"
+ version="1.1"
+ sodipodi:docname="sample-code128.svg"
+ style="shape-rendering:crispEdges"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
+ <g
+ transform="scale(1.3107)"
+ style="fill:#ffffff;fill-opacity:1">
+ <rect
+ x="0"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="1.5875"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="3.175"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="5.8209"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="7.4084001"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="10.0542"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="11.6417"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="13.2292"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="14.2876"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="17.462601"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="19.0501"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="20.6376"
+ y="0"
+ width="2.1167"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="23.283501"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="25.9293"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="26.9877"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="29.1043"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="31.221"
+ y="0"
+ width="2.1166999"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="33.8669"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="34.925201"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="37.571"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="39.1586"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="40.7461"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="41.8044"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="43.921101"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="46.566898"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="49.212799"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="50.2711"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="52.3878"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="55.0336"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="57.1503"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-code39.svg
^
|
@@ -0,0 +1,260 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ x="0.0000mm"
+ y="0.0000mm"
+ width="333"
+ height="100"
+ viewBox="0 0 88.106245 26.458334"
+ version="1.1"
+ sodipodi:docname="sample-code39.svg"
+ style="shape-rendering:crispEdges"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
+ <g
+ transform="scale(1.310701)"
+ style="fill:#ffffff;fill-opacity:1">
+ <rect
+ x="0"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="2.1167"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="3.175"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="5.2917"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="7.4083"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="8.4666004"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="10.5833"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="12.7"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="14.8166"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="15.875"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="16.9333"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="19.05"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="20.1083"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="22.2249"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="24.3416"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="25.4"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="26.4583"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="27.5166"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="30.691601"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="31.7499"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="33.8666"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="35.9832"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="37.0416"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="40.2166"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="41.2749"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="42.3332"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="44.4499"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="47.624901"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="48.683201"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="49.741501"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-code93.svg
^
|
@@ -0,0 +1,224 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ x="0.0000mm"
+ y="0.0000mm"
+ width="262"
+ height="100"
+ viewBox="0 0 69.320831 26.458333"
+ version="1.1"
+ sodipodi:docname="sample-code93.svg"
+ style="shape-rendering:crispEdges"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
+ <g
+ transform="scale(1.3107009)"
+ style="fill:#ffffff;fill-opacity:1">
+ <rect
+ x="0"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="1.0583"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="2.1167"
+ y="0"
+ width="2.1167"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="4.7625"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="6.35"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="8.4667"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="9.5251"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="11.1126"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="12.1709"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="14.2876"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="16.404301"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="17.462601"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="19.0501"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="21.1668"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="22.7543"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="23.8127"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="25.4002"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="26.4585"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="28.5752"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="31.221"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="32.2794"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="33.3377"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="34.3961"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="37.041901"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="38.100201"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="40.2169"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="41.804401"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="42.862801"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="43.921101"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="46.0378"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-datamatrix.svg
^
|
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="100"
+ height="100"
+ viewBox="0 0 26.458331 26.458334"
+ version="1.1"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
+ sodipodi:docname="sample-datamatrix.svg">
+ <g
+ transform="translate(-90.183333,-153.79166)">
+ <path
+ style="fill:#ffffff;stroke-width:0.18373843;fill-opacity:1"
+ d="m 90.183333,153.79165 h 1.469908 v 2.93982 h 1.469908 v -2.93982 h 1.469907 v 2.93982 h -1.469907 v 1.46991 h 1.469907 v 1.46991 h 1.469907 v -1.46991 h 1.46991 v -1.46991 h -1.46991 v -2.93982 h 1.46991 v 1.46991 h 1.469903 v -1.46991 h 1.469914 v 2.93982 h 4.40972 v -2.93982 h 1.4699 v 1.46991 h 1.46991 v -1.46991 h 1.46991 v 1.46991 h 1.4699 v -1.46991 h 1.46991 v 2.93982 h 1.46991 v 1.46991 h 2.93982 v 1.46991 h -2.93982 v 1.46991 h -1.46991 v 1.4699 h 1.46991 v 1.46991 h 2.93982 v 1.46991 h -4.40973 v 1.4699 h -2.93981 v 1.46991 h 4.40972 v -1.46991 h 2.93982 v 1.46991 h -2.93982 v 1.46991 h -1.46991 v 1.4699 h 1.46991 v 1.46991 h 2.93982 v 1.46991 h -2.93982 v 1.46991 h 2.93982 v 1.46991 h -2.93982 v 1.46991 h 2.93982 v 1.4699 H 90.183333 Z m 4.409723,23.51853 h 1.469907 v -1.46991 h -4.409722 v 1.46991 h 1.469908 v 1.46991 h 1.469907 z m 5.879634,-1.46991 h -1.469914 v -1.46991 h -1.469903 v 1.46991 h 1.469903 v 1.46991 h -1.469903 v 1.46991 h 2.939817 z m 4.40972,-1.46991 h 2.93981 v 1.46991 h -1.46991 v 1.46991 h 1.46991 v 1.46991 h 4.40972 v -1.46991 h -4.40972 v -1.46991 h 2.93981 v -2.93982 h -1.4699 v 1.46991 h -1.46991 v -4.40972 h 1.46991 v 1.4699 h 1.4699 v -1.4699 h -1.4699 v -1.46991 h -1.46991 v -1.46991 h -1.46991 v -1.4699 h -2.93981 v -1.46991 h 1.46991 v -1.46991 h 1.4699 v 1.46991 h 1.46991 v 1.46991 h 1.46991 v -1.46991 h 1.4699 v 1.46991 h 1.46991 v -2.93982 h -1.46991 v -2.93981 h 2.93982 v -1.46991 h -2.93982 v -1.46991 h -1.4699 v -1.46991 h -1.46991 v 1.46991 h -1.46991 v 1.46991 h -2.93981 v 1.46991 h -1.46991 v -1.46991 h -1.4699 v -1.46991 h -1.469914 v 2.93982 h -2.939813 v 4.40972 h -2.939814 v 1.46991 h 2.939814 v 1.4699 h -1.469907 v 1.46991 h -1.469907 v -1.46991 h -1.469908 v 1.46991 h 1.469908 v 1.46991 h -1.469908 v 1.4699 h 1.469908 v 1.46991 h -1.469908 v 1.46991 h 4.409722 v -1.46991 h 1.46991 v -1.46991 h -1.46991 v 1.46991 h -1.469907 v -1.46991 h -1.469907 v -1.4699 h 2.939814 v -2.93982 h 1.46991 v 2.93982 h 1.469903 v 1.4699 h 4.409724 v 1.46991 h -2.93981 v 1.46991 h 1.4699 1.46991 v 1.46991 h -1.46991 v 1.46991 h 1.46991 v 1.46991 h 1.46991 z m -1.46991,-1.46991 h 1.46991 v 1.46991 h -1.46991 z m 1.46991,-2.93981 h 1.4699 v 1.4699 h -1.4699 z m -4.40972,-2.93982 h -1.469914 v -2.93981 h -1.469903 v 1.46991 h -1.46991 v -1.46991 h 1.46991 v -1.46991 h 1.469903 v -1.4699 h 1.469914 v -1.46991 h 1.4699 v 2.93981 h -1.4699 v 1.46991 h 1.4699 v 1.46991 h 1.46991 v 1.4699 h 1.46991 v 1.46991 h -1.46991 v -1.46991 h -1.46991 v 1.46991 h -1.4699 z m 1.4699,-1.4699 h -1.4699 v 1.4699 h 1.4699 z m 5.87963,-2.93982 h 1.46991 v 1.46991 h -1.46991 z m -2.93981,-2.93981 h 1.4699 v 1.46991 h -1.4699 z m 2.93981,-2.93982 h 1.46991 v 1.46991 h -1.46991 z m -13.229164,2.93982 h -1.469907 v -1.46991 h -1.469908 v 1.46991 h 1.469908 v 1.46991 h 1.469907 z m 20.578704,10.28935 h 1.46991 v 1.4699 h -1.46991 z m 0,-8.81944 h 1.46991 v 0.73495 0.73495 h -1.46991 z m 0,-5.87964 h -1.46991 v -1.46991 h 1.46991 v 1.46991 h 1.46991 v 1.46991 h -1.46991 z m -13.22917,-1.46991 h 1.46991 v 1.46991 h -1.46991 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"/>
+ </g>
+</svg>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-ean13.svg
^
|
@@ -0,0 +1,246 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ x="0.0000mm"
+ y="0.0000mm"
+ width="226"
+ height="100"
+ viewBox="0 0 59.79583 26.458333"
+ version="1.1"
+ sodipodi:docname="sample-ean13.svg"
+ style="shape-rendering:crispEdges"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
+ <g
+ style="fill:#ffffff;fill-opacity:1"
+ transform="matrix(1.0000028,0,0,1.0000028,-4.9787031e-6,2.6183258e-4)">
+ <rect
+ x="5.8207998"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="6.8792"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="8.5073996"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="10.0949"
+ y="0"
+ width="1.0176"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="11.6417"
+ y="0"
+ width="2.1166999"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="14.2875"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="15.875"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="17.991699"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="19.0501"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="21.6959"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="24.3417"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="25.400101"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="27.028299"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="29.145"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="30.1626"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="31.2209"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="32.279301"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="33.866798"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="35.983398"
+ y="0"
+ width="1.1"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="38.100101"
+ y="0"
+ width="1.1"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="39.687599"
+ y="0"
+ width="1.1"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="41.275101"
+ y="0"
+ width="1.1"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="43.3918"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="46.037601"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="47.096"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="48.154301"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="50.8"
+ y="0"
+ width="1.1"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="52.3876"
+ y="0"
+ width="1.1"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="54.504299"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="55.562698"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ </g>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-ean8.svg
^
|
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ x="0.0000mm"
+ y="0.0000mm"
+ width="162"
+ height="100"
+ viewBox="0 0 42.862501 26.458333"
+ version="1.1"
+ sodipodi:docname="sample-ean8.svg"
+ style="shape-rendering:crispEdges"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
+ <g
+ style="fill:#ffffff;fill-opacity:1"
+ transform="translate(0,3.3307076e-4)">
+ <rect
+ x="3.7041"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="4.7624"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="6.3906"
+ y="0"
+ width="1.0176"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="8.5073"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="10.0948"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="11.6822"
+ y="0"
+ width="1.0176"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="13.229"
+ y="0"
+ width="2.1166"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="15.8748"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="16.9331"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="19.049801"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="20.6373"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="21.695601"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="22.753901"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="24.3414"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="26.458"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="27.5163"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="30.1621"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="32.278801"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="33.8663"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="36.5121"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="37.5704"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="38.6287"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ </g>
+ <g
+ style="fill:#ffffff;fill-opacity:1">
+ <g>
+ <path
+ d="M 7.1160521,25.282101 V 24.860424 H 8.1054758 V 21.872861 L 7.2290504,22.498485 V 22.029956 L 8.1468166,21.39882 h 0.4575051 v 3.461604 h 0.9453268 v 0.421677 z"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ d="m 10.109128,25.282101 v -0.350019 q 0.140558,-0.322459 0.34175,-0.567748 0.203948,-0.248044 0.427189,-0.44648 0.22324,-0.201192 0.440969,-0.372068 0.220484,-0.170875 0.396871,-0.341751 0.176388,-0.170875 0.283874,-0.358287 0.110242,-0.187411 0.110242,-0.424432 0,-0.319702 -0.187411,-0.49609 -0.187412,-0.176388 -0.520895,-0.176388 -0.316946,0 -0.52365,0.173632 -0.203948,0.170875 -0.239777,0.48231 l -0.507114,-0.04685 q 0.05512,-0.465774 0.394116,-0.741379 0.341751,-0.275606 0.876425,-0.275606 0.58704,0 0.90123,0.278362 0.316946,0.275605 0.316946,0.785476 0,0.225996 -0.10473,0.449236 -0.101974,0.223241 -0.305922,0.446481 -0.203948,0.223241 -0.779963,0.69177 -0.316947,0.259069 -0.504358,0.468529 -0.187412,0.206704 -0.270094,0.399628 h 2.025701 v 0.421677 z"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ d="m 15.855502,24.209995 q 0,0.537431 -0.341751,0.832329 -0.341751,0.294898 -0.975644,0.294898 -0.589795,0 -0.94257,-0.264581 -0.350019,-0.267338 -0.416164,-0.788232 l 0.512626,-0.04685 q 0.09922,0.689014 0.846108,0.689014 0.374824,0 0.58704,-0.184656 0.214972,-0.184656 0.214972,-0.548455 0,-0.316946 -0.245288,-0.493334 -0.242533,-0.179143 -0.702794,-0.179143 h -0.281118 v -0.429945 h 0.270093 q 0.407896,0 0.631137,-0.176387 0.225996,-0.179144 0.225996,-0.493334 0,-0.311434 -0.184655,-0.490578 -0.1819,-0.1819 -0.542943,-0.1819 -0.327971,0 -0.531919,0.16812 -0.201192,0.168119 -0.234264,0.474041 l -0.498846,-0.03859 q 0.05512,-0.476797 0.394116,-0.744134 0.34175,-0.267338 0.876425,-0.267338 0.584284,0 0.906742,0.27285 0.325215,0.270093 0.325215,0.755159 0,0.372067 -0.209461,0.606332 -0.206704,0.231508 -0.603576,0.31419 v 0.01102 q 0.435457,0.04685 0.67799,0.292142 0.242533,0.245289 0.242533,0.617356 z"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ d="m 18.53163,24.402919 v 0.879182 h -0.468529 v -0.879182 h -1.83002 v -0.385847 l 1.777655,-2.618252 h 0.520894 v 2.612739 h 0.545699 v 0.39136 z m -0.468529,-2.44462 q -0.0055,0.01654 -0.07717,0.146071 -0.07166,0.129534 -0.107486,0.181899 l -0.994935,1.466221 -0.148827,0.203948 -0.0441,0.05512 h 1.372515 z"
+ style="fill:#ffffff;fill-opacity:1"/>
+ </g>
+ <g>
+ <path
+ d="m 26.521433,24.017072 q 0,0.6146 -0.366555,0.967375 -0.363799,0.352775 -1.011472,0.352775 -0.542943,0 -0.876426,-0.237021 -0.333482,-0.237021 -0.421676,-0.686258 l 0.501602,-0.05788 q 0.157095,0.576016 0.807524,0.576016 0.399628,0 0.625624,-0.239777 0.225997,-0.242533 0.225997,-0.664209 0,-0.366556 -0.228753,-0.592552 -0.225996,-0.225996 -0.611844,-0.225996 -0.201192,0 -0.374823,0.06339 -0.173632,0.06339 -0.347263,0.214972 h -0.485066 l 0.129535,-2.089089 h 2.2076 v 0.421676 H 24.53983 l -0.07441,1.231956 q 0.322459,-0.248045 0.802012,-0.248045 0.57326,0 0.912254,0.336239 0.341751,0.336239 0.341751,0.876426 z"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ d="m 29.649555,24.011559 q 0,0.614601 -0.333482,0.970132 -0.333483,0.355531 -0.920523,0.355531 -0.655941,0 -1.003204,-0.487822 -0.347263,-0.487822 -0.347263,-1.419368 0,-1.008716 0.361044,-1.548903 0.361043,-0.540187 1.028008,-0.540187 0.879182,0 1.107934,0.790988 l -0.474041,0.08544 q -0.146071,-0.474042 -0.639405,-0.474042 -0.424432,0 -0.658697,0.396872 -0.231509,0.394116 -0.231509,1.143763 0.135047,-0.250801 0.380336,-0.380336 0.245289,-0.13229 0.562235,-0.13229 0.537431,0 0.851621,0.336238 0.316946,0.336239 0.316946,0.903986 z m -0.504358,0.02205 q 0,-0.421676 -0.206704,-0.650429 -0.206704,-0.228753 -0.576015,-0.228753 -0.347263,0 -0.562236,0.203948 -0.212216,0.201192 -0.212216,0.556724 0,0.449236 0.220485,0.735866 0.22324,0.28663 0.570503,0.28663 0.358287,0 0.562235,-0.239777 0.203948,-0.242533 0.203948,-0.664209 z"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ d="m 32.752873,21.801204 q -0.595308,0.909498 -0.840597,1.42488 -0.245289,0.515382 -0.369311,1.016984 -0.121267,0.501602 -0.121267,1.039033 H 30.90356 q 0,-0.744135 0.31419,-1.565439 0.316947,-0.824061 1.055569,-1.896166 H 30.186986 V 21.39882 h 2.565887 z"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ d="m 35.955408,23.339082 q 0,0.972887 -0.344507,1.485514 -0.341751,0.512626 -1.011472,0.512626 -0.669721,0 -1.00596,-0.50987 -0.336239,-0.50987 -0.336239,-1.48827 0,-1.000448 0.325215,-1.499294 0.32797,-0.498846 1.03352,-0.498846 0.686258,0 1.011472,0.504358 0.327971,0.504358 0.327971,1.493782 z m -0.504358,0 q 0,-0.840597 -0.19568,-1.218176 -0.192924,-0.37758 -0.639405,-0.37758 -0.457505,0 -0.658697,0.372068 -0.198436,0.372067 -0.198436,1.223688 0,0.826817 0.201192,1.209908 0.203948,0.383092 0.644917,0.383092 0.438213,0 0.642161,-0.39136 0.203948,-0.39136 0.203948,-1.20164 z"
+ style="fill:#ffffff;fill-opacity:1"/>
+ </g>
+ </g>
+</svg>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-itf14.svg
^
|
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.0"
+ width="368.5499"
+ height="100"
+ sodipodi:docname="sample-itf14.svg"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
+ <g
+ transform="matrix(0.4253219,0,0,0.4253219,-0.39258193,13.792738)"
+ style="fill:#ffffff;fill-opacity:1">
+ <path
+ d="M 0.98946414,-32.428938 H 867.37666 l 0.0663,235.116038 H 0.92302308 Z M 86.180614,-5.2581479 H 28.445228 V 175.04263 h 57.735386 z m 11.498151,0 c -2.120239,0 -4.240478,0 -6.360718,0 V 175.04263 c 2.12024,0 4.240479,0 6.360718,0 z m 11.498145,0 c -2.12023,0 -4.24047,0 -6.36071,0 V 175.04263 c 2.12024,0 4.24048,0 6.36071,0 z m 20.30521,0 c -4.97438,0 -9.94876,0 -14.92314,0 V 175.04263 c 4.97438,0 9.94876,0 14.92314,0 z m 20.30522,0 c -2.1202,0 -4.2404,0 -6.3606,0 V 175.04263 c 2.1202,0 4.2404,0 6.3606,0 z m 11.49815,0 c -2.1202,0 -4.24041,0 -6.3606,0 V 175.04263 c 2.12019,0 4.2404,0 6.3606,0 z m 28.86775,0 c -4.97438,0 -9.94875,0 -14.92314,0 V 175.04263 c 4.97439,0 9.94876,0 14.92314,0 z m 11.49815,0 c -2.12024,0 -4.24048,0 -6.36071,0 V 175.04263 c 2.12023,0 4.24047,0 6.36071,0 z m 11.49815,0 c -2.12023,0 -4.24048,0 -6.36071,0 V 175.04263 c 2.12023,0 4.24048,0 6.36071,0 z m 20.30521,0 c -4.97439,0 -9.94876,0 -14.92314,0 V 175.04263 c 4.97438,0 9.94875,0 14.92314,0 z m 20.30522,0 c -5.05593,0 -10.11185,0 -15.16778,0 V 175.04263 c 5.05593,0 10.11185,0 15.16778,0 z m 20.06057,0 c -2.1202,0 -4.24041,0 -6.36061,0 V 175.04263 c 2.1202,0 4.24041,0 6.36061,0 z m 20.30532,0 c -2.12023,0 -4.24048,0 -6.36071,0 V 175.04263 c 2.12023,0 4.24048,0 6.36071,0 z m 20.30522,0 h -6.36072 V 175.04263 h 6.36072 z m 11.49814,0 h -6.36071 V 175.04263 h 6.36071 z m 28.86765,0 H 339.87372 V 175.04263 h 14.92315 z m 11.49814,0 H 359.9343 V 175.04263 h 6.36071 z m 20.06058,0 h -14.6784 V 175.04263 h 14.6784 z m 20.30533,0 h -6.11609 V 175.04263 h 6.11609 z m 28.86763,0 H 420.60541 V 175.04263 h 14.92314 z m 11.49814,0 h -6.11607 V 175.04263 h 6.11607 z m 11.74279,0 h -6.36071 V 175.04263 h 6.36071 z m 20.06058,0 H 463.90692 V 175.04263 h 14.92314 z m 20.30521,0 h -6.3606 V 175.04263 h 6.3606 z m 11.49815,0 h -6.11596 V 175.04263 h 6.11596 z m 20.30533,0 H 516.0156 V 175.04263 h 14.92315 z m 20.30521,0 H 536.32082 V 175.04263 h 14.92314 z m 20.06057,0 h -6.11608 V 175.04263 h 6.11608 z m 11.49815,0 H 576.6866 V 175.04263 h 6.11608 z m 28.86764,0 H 596.99193 V 175.04263 h 14.67839 z m 11.74289,0 H 617.0525 V 175.04263 h 6.36071 z m 20.06059,0 h -6.11609 V 175.04263 h 6.11609 z m 20.3052,0 H 648.85586 V 175.04263 H 663.779 Z m 28.86764,0 H 677.72361 V 175.04263 h 14.92303 z m 20.30533,0 H 698.02882 V 175.04263 h 14.92315 z m 11.49814,0 h -6.11607 V 175.04263 h 6.11607 z m 11.49816,0 h -6.11609 V 175.04263 h 6.11609 z m 20.30521,0 h -6.36072 V 175.04263 h 6.36072 z m 20.3052,0 h -6.36071 V 175.04263 h 6.36071 z m 63.3621,0 H 781.69613 V 175.04263 h 58.22465 z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:1.15907884"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"/>
+ </g>
+</svg>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-pdf417.svg
^
|
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ x="0.0000mm"
+ y="0.0000mm"
+ width="444"
+ height="100"
+ viewBox="0 0 117.475 26.458334"
+ version="1.1"
+ sodipodi:docname="sample-pdf417.svg"
+ style="shape-rendering:crispEdges"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
+ <g
+ transform="scale(1.8517849)"
+ style="fill:#ffffff;fill-opacity:1">
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="M 0,0 C 0,18.000651 0,36.001302 0,54.001953 H 16 C 16,36.001302 16,18.000651 16,0 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 18,0 c 0,18.000651 0,36.001302 0,54.001953 h 2 C 20,36.001302 20,18.000651 20,0 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 22,0 c 0,18.000651 0,36.001302 0,54.001953 h 2 C 24,36.001302 24,18.000651 24,0 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 26,0 c 0,18.000651 0,36.001302 0,54.001953 h 2 C 28,36.001302 28,18.000651 28,0 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ transform="scale(0.26458334)"
+ d="m 34,0 v 18 18.001953 9 9 h 10 v -9 h -2 v -9 h -2 v 9 h -2 v -9 H 36 V 18 h 2 v 18.001953 h 2 V 18 h 2 V 0 Z m 8,18 v 9 9.001953 h 2 v 9 h 2 v 9 h 2 v -9 h 2 v -9 V 27 h 4 v 9.001953 h 6 v 9 9 h 4 v -9 h -2 v -9 V 27 H 56 V 18 H 50 V 9 0 h -2 v 9 9 9 h -4 v -9 z m 2,0 h 2 V 9 0 h -2 v 9 z m 6,27.001953 v 9 h 8 v -9 z M 52,0 v 9 h 6 v 9 h 2 V 9 0 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"
+ inkscape:connector-curvature="0"/>
+ <path
+ sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 68,0 v 54.001953 h 2 v -18 h 2 V 27 h 4 v 9.001953 18 h 6 v -9 h 2 v 9 h 4 v -9 -9 H 82 V 18 h 2 V 9 H 80 V 0 h -2 v 9 h -2 v 9 H 74 V 9 h -2 v 9 H 70 V 9 h 2 V 0 Z m 6,9 h 2 V 0 h -2 z m 10,9 v 9 h 4 v 9.001953 h 4 V 27 h -2 c 0,-6 0,-12 0,-18 h -2 v 9 z m 6,-9 h 4 V 0 h -4 z m -12,9 h 2 v 27.001953 h -2 z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="ccccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 102,0 c 0,18.436701 0,38.011923 0,54.001953 h 2 C 104,39.001302 104,24.000651 104,9 h 2 V 0 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 114,0 v 9 h 4 V 0 Z m 4,9 v 9 h 2 V 9 Z m 2,0 h 2 V 0 h -2 z m 2,0 v 9 h 4 v 9 h -2 v 9.001953 h -4 V 27 h -6 v -9 h -2 v 9 9.001953 h 4 v 9 h 2 v 9 h 2 v -9 h 6 v -9 h 6 V 27 h 2 c 0,-6 0,-12 0,-18 h -8 V 0 h -2 v 9 z m 10,27.001953 v 9 h -2 v 9 h 4 v -9 -9 z m -16,9 h -6 v 9 h 6 z m -6,0 v -9 h -2 V 27 h -2 c 0,6.000651 0,12.001302 0,18.001953 z M 112,18 V 9 h -4 v 9 z m 8,9 h 2 v -9 h -2 z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 136,0 c 0,18.000651 0,36.001302 0,54.001953 h 2 v -9 h 2 v 9 h 10 v -9 h 2 C 152,39.001302 152,33.000651 152,27 h -2 v -9 h -6 v 9 h 2 v 9.001953 h 2 v 9 h -2 v -9 h -2 v 9 h -2 C 142,33.001302 142,21.000651 142,9 h 2 V 0 Z m 16,45.001953 v 9 h 6 v -9 z m 6,0 h 2 v -9 h -2 z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <rect
+ height="2.3813"
+ width="0.5292"
+ y="0"
+ x="38.6292"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ height="2.3813"
+ width="1.0583"
+ y="0"
+ x="39.6875"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ sodipodi:nodetypes="cccccccccccccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 158,0 c 0,6 0,12 0,18 h 2 v 9 h 2 v 9.001953 h 2 V 27 h 4 c 0,-9 0,-18 0,-27 z m 6,9 h 2 v 9 h -2 z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 170,0 c 0,18.000651 0,36.001302 0,54.001953 h 8 v -9 h -2 v -9 h -2 V 27 h -2 v -9 h 2 v 9 h 2 v -9 h 2 v 9 h 2 v -9 h 2 V 9 h -2 V 0 Z m 12,9 h 2 V 0 h -2 z m 2,0 v 9 h 2 V 9 Z m 2,0 h 2 V 0 h -2 z m 2,0 v 9 9 h 4 c 0,6.000651 0,12.001302 0,18.001953 h -4 C 188,39.001302 188,33.000651 188,27 h -8 v 9.001953 h 2 v 9 h 2 v 9 h 10 v -9 h 2 v -9 h 6 V 27 h -6 v -9 h 2 V 9 h 2 V 0 h -10 v 9 h 2 v 9 h -2 V 9 Z m 8,36.001953 v 9 h 4 v -9 z m -14,0 h -2 v 9 h 2 z m -2,0 v -9 h -2 v 9 z m -2,-9 V 27 h -2 v 9.001953 z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 204,0 c 0,18.000651 0,36.001302 0,54.001953 h 14 C 218,36.001302 218,18.000651 218,0 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 220,0 c 0,18.000651 0,36.001302 0,54.001953 h 2 C 222,36.001302 222,18.000651 222,0 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 228,0 c 0,18.000651 0,36.001302 0,54.001953 h 2 C 230,36.001302 230,18.000651 230,0 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 232,0 c 0,18.000651 0,36.001302 0,54.001953 h 2 C 234,36.001302 234,18.000651 234,0 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ transform="scale(0.26458334)"
+ d="m 238,0 c 0,18.000651 0,36.001302 0,54.001953 h 2 C 240,36.001302 240,18.000651 240,0 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"/>
+ <rect
+ height="2.3813"
+ width="1.0583"
+ y="2.3813"
+ x="40.216702"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ height="2.3813"
+ width="0.5292"
+ y="4.7627"
+ x="25.929199"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ height="2.3813"
+ width="0.5292"
+ y="4.7627"
+ x="41.275002"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ height="2.3813"
+ width="0.5292"
+ y="7.1440"
+ x="40.7458"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ transform="scale(0.26458334)"
+ d="m 94,36.001953 v 9 h -2 v 9 h 6 v -9 h -2 v -9 z"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:3.77952743"
+ inkscape:connector-curvature="0"/>
+ <rect
+ height="2.3813"
+ width="1.0583"
+ y="11.9067"
+ x="42.862499"
+ style="fill:#ffffff;fill-opacity:1"/>
+ </g>
+</svg>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-qrcode.svg
^
|
@@ -0,0 +1,305 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ width="100"
+ height="100"
+ viewBox="0 0 100 100"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
+ sodipodi:docname="sample-qrcode.svg">
+ <g
+ transform="scale(0.43103448)">
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 0,0 c 0,20.106665 0,37.213703 0,56 19.385661,0 40.037297,0 56,0 C 56,35.119172 56,18.936309 56,0 35.820767,0 18.798507,0 0,0 Z m 8,8 c 14.776094,0 26.142134,0 40,0 0,13.39343 0,28.041927 0,40 C 34.60657,48 19.958073,48 8,48 8,33.223906 8,21.857866 8,8 Z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccccccccc"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 0,72 c 0,5.333333 0,10.666667 0,16 h 8 v -8 h 8 V 72 C 10.666667,72 5.3333333,72 0,72 Z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccc"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 16,88 v 8 H 8 v 8 H 0 c 0,8 0,16 0,24 h 8 v 8 h 8 c 0,-5.33333 0,-10.66667 0,-16 H 8 v -8 h 8 v -8 c 5.333333,0 10.666667,0 16,0 v -8 h -8 v -8 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccccccccc"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 0,144 c 0,5.33333 0,10.66667 0,16 5.3333333,0 10.666667,0 16,0 v -8 h 8 v 8 h 8 v -8 h 8 v -8 c -13.39343,0 -28.041927,0 -40,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccc"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 0,176 c 0,19.84898 0,37.25621 0,56 19.385661,0 40.037297,0 56,0 0,-19.38566 0,-40.0373 0,-56 -19.821602,0 -36.615707,0 -56,0 z m 8,8 c 13.611095,0 28.156312,0 40,0 0,13.72589 0,28.59894 0,40 -14.205045,0 -26.384384,0 -40,0 0,-13.77313 0,-28.76275 0,-40 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccccccccc"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 16,16 c 0,8.054707 0,16.875713 0,24 8.712801,0 15.440427,0 24,0 0,-8 0,-16 0,-24 -8.054707,0 -16.875713,0 -24,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc"/>
+ <rect
+ x="16"
+ y="112"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="16"
+ y="160"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 16,192 c 0,8 0,16 0,24 8,0 16,0 24,0 0,-8 0,-16 0,-24 -8,0 -16,0 -24,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 40,104 v 8 h -8 v 8 h -8 v 8 c 8,0 16,0 24,0 v -8 h 8 v -8 h -8 v -8 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccc"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 32,64 c 0,5.333333 0,10.666667 0,16 h 8 v 8 h 8 8 v -8 h -8 v -8 c 5.333333,0 10.666667,0 16,0 v -8 c -11.776985,0 -20.749561,0 -32,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccccccccccc"/>
+ <rect
+ x="32"
+ y="88"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 40,152 v 8 h -8 v 8 c 11.776985,0 20.749561,0 32,0 v -8 c -5.333333,0 -10.666667,0 -16,0 v -8 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccc"/>
+ <rect
+ x="40"
+ y="136"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 64,40 c 0,8 0,16 0,24 h 8 c 0,5.333333 0,10.666667 0,16 h -8 v 8 h -8 v 8 h -8 v 8 h 8 v 8 h 8 v -8 h 8 v -8 h 8 v -8 h 8 v -8 h -8 c 0,-8.712801 0,-15.440427 0,-24 h -8 v -8 h 8 v -8 c -5.333333,0 -10.666667,0 -16,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccccccccccccccccc"/>
+ <rect
+ x="48"
+ y="128"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 80,104 c 0,5.33333 0,10.66667 0,16 h -8 v -8 h -8 v 8 h -8 v 8 h 8 v 8 h 8 v 8 c -8,0 -16,0 -24,0 v 8 c 5.333333,0 10.666667,0 16,0 v 8 h 8 v 8 h -8 c 0,10.83383 0,22.52101 0,32 5.333333,0 10.666667,0 16,0 v -8 c 5.333333,0 10.666667,0 16,0 v -8 c -8,0 -16,0 -24,0 v -8 c 13.39343,0 28.04193,0 40,0 v -8 h 8 v -8 h -8 v -8 c -5.33333,0 -10.66667,0 -16,0 v 8 h 8 v 8 c -8,0 -16,0 -24,0 v -8 h 8 c 0,-5.33333 0,-10.66667 0,-16 h -8 v -8 c 5.333333,0 10.666667,0 16,0 v -8 h -8 c 0,-8 0,-16 0,-24 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccc"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 72,0 v 8 h -8 v 8 h 8 c 0,5.333333 0,10.666667 0,16 h 8 v -8 h 8 V 16 H 80 V 8 h 8 V 0 C 82.666667,0 77.333333,0 72,0 Z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccccc"/>
+ <rect
+ x="72"
+ y="216"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 88,24 v 8 h -8 v 8 h 8 v 8 h 8 c 0,-5.333333 0,-10.666667 0,-16 h 8 v -8 c -5.333333,0 -10.666667,0 -16,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccc"/>
+ <rect
+ x="80"
+ y="48"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 96,192 v 8 h -8 v 8 h -8 v 8 c 5.333333,0 10.666667,0 16,0 v 8 c 5.33333,0 10.66667,0 16,0 v -8 h -8 v -8 c 11.77699,0 20.74956,0 32,0 v -8 h -8 v -8 h -8 v 8 c -5.33333,0 -10.66667,0 -16,0 v -8 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccccccccccc"/>
+ <rect
+ x="88"
+ y="8"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 144,24 v 8 h -8 v 8 h -8 v -8 h -8 v 8 h -16 v 8 h 8 v 16 h 8 V 48 h 8 v 16 h -8 v 8 h -8 v -8 h -8 V 48 h -8 v 8 h -8 v 8 h 8 v 8 h 8 v 8 h -8 v 16 h 8 v -8 h 8 v -8 h 16 v -8 h 8 V 48 h 8 v -8 h 8 V 24 Z m 8,40 v 8 h -8 v 8 h 8 v 8 h -8 v 8 h -8 v 8 h -8 v 8 h 8 v 8 h -8 c 0,5.33333 0,10.66667 0,16 5.33333,0 10.66667,0 16,0 0,-10.92143 0,-22.90602 0,-32 h 8 v -8 h 8 v 8 h 8 c 0,5.33333 0,10.66667 0,16 h 8 v 8 h 8 c 0,-5.33333 0,-10.66667 0,-16 h 8 c 0,5.33333 0,10.66667 0,16 h -8 v 8 h 8 v 8 h 8 c 0,-5.33333 0,-10.66667 0,-16 h 8 c 0,-5.33333 0,-10.66667 0,-16 h 8 v -8 h -8 c 0,-5.333333 0,-10.666667 0,-16 h -8 v -8 h -8 c 0,-5.333333 0,-10.666667 0,-16 -5.33333,0 -10.66667,0 -16,0 v 8 h 8 v 8 h -8 v 8 8 h 8 v -8 h 8 v 8 h 8 v 8 h -8 v -8 h -8 v 8 h -8 v -8 h -8 v -8 h -8 c 0,-5.333333 0,-10.666667 0,-16 h 8 v -8 c -5.33333,0 -10.66667,0 -16,0 z m -8,24 v -8 h -8 v 8 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"/>
+ <rect
+ x="88"
+ y="96"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="96"
+ y="0"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 104,96 c 0,5.33333 0,10.66667 0,16 h -8 v 8 h 8 c 0,8.7128 0,15.44043 0,24 h 8 v 8 c 5.33333,0 10.66667,0 16,0 0,-5.33333 0,-10.66667 0,-16 -5.33333,0 -10.66667,0 -16,0 v -8 h 8 v -8 h -8 c 0,-5.33333 0,-10.66667 0,-16 h 8 v -8 c -5.33333,0 -10.66667,0 -16,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccccccccc"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 112,0 v 8 h -8 v 8 c 5.33333,0 10.66667,0 16,0 V 8 h 8 V 0 c -5.33333,0 -10.66667,0 -16,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccc"/>
+ <rect
+ x="112"
+ y="24"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 120,168 v 8 h -8 c 0,5.33333 0,10.66667 0,16 h 8 v -8 h 8 c 0,-5.33333 0,-10.66667 0,-16 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccc"/>
+ <rect
+ x="112"
+ y="224"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 120,88 v 8 c 5.33333,0 10.66667,0 16,0 v -8 c -5.33333,0 -10.66667,0 -16,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc"/>
+ <rect
+ x="120"
+ y="112"
+ width="8"
+ height="8"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ style="fill:#ffffff;fill-opacity:1"
+ d="m 152,0 v 8 c -8,0 -16,0 -24,0 v 8 h 8 v 8 h 8 v -8 c 5.33333,0 10.66667,0 16,0 V 8 h 8 V 0 c -5.33333,0 -10.66667,0 -16,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccc"/>
+ <rect
+ x="128"
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-upca.svg
^
|
@@ -0,0 +1,259 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ x="0.0000mm"
+ y="0.0000mm"
+ width="226"
+ height="100"
+ viewBox="0 0 59.79583 26.458333"
+ version="1.1"
+ sodipodi:docname="sample-upca.svg"
+ style="shape-rendering:crispEdges"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
+ <g
+ style="fill:#ffffff;fill-opacity:1"
+ transform="translate(0,3.3307075e-4)">
+ <rect
+ x="4.7625"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="5.8208"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="7.9375"
+ y="0"
+ width="1.0583"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="9.525"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="11.1532"
+ y="0"
+ width="1.0177"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="13.27"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="14.8574"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="16.444901"
+ y="0"
+ width="1.0176"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="17.9917"
+ y="0"
+ width="2.1167"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="20.6376"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="21.6959"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="23.8126"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="25.4"
+ y="0"
+ width="1.0583"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="28.0459"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="29.1042"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="30.1626"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="31.2209"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="32.279301"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="34.925098"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="37.041801"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="38.6293"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="40.216801"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="42.3335"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="44.4501"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="46.037601"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="48.683498"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="49.741798"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="51.3293"
+ y="0"
+ width="1.5875"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="53.446"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="54.5043"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ </g>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/qml/pages/img/sample-upce.svg
^
|
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ x="0.0000mm"
+ y="0.0000mm"
+ width="134"
+ height="100"
+ viewBox="0 0 35.45417 26.458333"
+ version="1.1"
+ sodipodi:docname="sample-upce.svg"
+ style="shape-rendering:crispEdges"
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
+ <g
+ style="fill:#ffffff;fill-opacity:1">
+ <rect
+ x="4.7624998"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="5.8207998"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="6.8383999"
+ y="0"
+ width="1.099"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="8.9551"
+ y="0"
+ width="1.099"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="11.1532"
+ y="0"
+ width="0.4885"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="12.7406"
+ y="0"
+ width="1.0176"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="14.2874"
+ y="0"
+ width="2.1167"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="16.9333"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="18.5207"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="20.6374"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="21.6957"
+ y="0"
+ width="1.5875"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="24.3416"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="25.3999"
+ y="0"
+ width="0.5292"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="26.4582"
+ y="0"
+ width="2.1167"
+ height="20.1864"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="29.104"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="30.1624"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <rect
+ x="31.220699"
+ y="0"
+ width="0.5292"
+ height="23.0371"
+ style="fill:#ffffff;fill-opacity:1"/>
+ </g>
+ <g>
+ <g>
+ <path
+ d="m 3.7302889,23.339082 q 0,0.972887 -0.3445069,1.485514 -0.3417508,0.512626 -1.0114721,0.512626 -0.6697213,0 -1.0059599,-0.50987 -0.3362387,-0.50987 -0.3362387,-1.48827 0,-1.000448 0.3252144,-1.499294 0.3279706,-0.498846 1.0335206,-0.498846 0.6862576,0 1.0114721,0.504358 0.3279705,0.504358 0.3279705,1.493782 z m -0.504358,0 q 0,-0.840597 -0.1956799,-1.218176 -0.1929239,-0.37758 -0.6394047,-0.37758 -0.4575051,0 -0.6586971,0.372068 -0.198436,0.372067 -0.198436,1.223688 0,0.826817 0.201192,1.209908 0.2039481,0.383092 0.6449168,0.383092 0.4382128,0 0.6421608,-0.39136 0.2039481,-0.39136 0.2039481,-1.20164 z"
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1"/>
+ </g>
+ <g>
+ <path
+ d="M 8.7395048,25.282101 V 24.860424 H 9.7289284 V 21.872861 L 8.852503,22.498485 V 22.029956 L 9.7702692,21.39882 h 0.4575048 v 3.461604 h 0.945327 v 0.421677 z"
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ d="m 11.73258,25.282101 v -0.350019 q 0.140559,-0.322459 0.341751,-0.567748 0.203948,-0.248044 0.427188,-0.44648 0.223241,-0.201192 0.440969,-0.372068 0.220485,-0.170875 0.396872,-0.341751 0.176388,-0.170875 0.283874,-0.358287 0.110242,-0.187411 0.110242,-0.424432 0,-0.319702 -0.187412,-0.49609 -0.187412,-0.176388 -0.520894,-0.176388 -0.316946,0 -0.523651,0.173632 -0.203948,0.170875 -0.239776,0.48231 l -0.507114,-0.04685 q 0.05512,-0.465774 0.394115,-0.741379 0.341751,-0.275606 0.876426,-0.275606 0.58704,0 0.90123,0.278362 0.316946,0.275605 0.316946,0.785476 0,0.225996 -0.10473,0.449236 -0.101974,0.223241 -0.305922,0.446481 -0.203948,0.223241 -0.779964,0.69177 -0.316946,0.259069 -0.504358,0.468529 -0.187411,0.206704 -0.270093,0.399628 h 2.0257 v 0.421677 z"
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ d="m 17.478954,24.209995 q 0,0.537431 -0.34175,0.832329 -0.341751,0.294898 -0.975644,0.294898 -0.589796,0 -0.942571,-0.264581 -0.350019,-0.267338 -0.416164,-0.788232 l 0.512626,-0.04685 q 0.09922,0.689014 0.846109,0.689014 0.374824,0 0.58704,-0.184656 0.214972,-0.184656 0.214972,-0.548455 0,-0.316946 -0.245289,-0.493334 -0.242533,-0.179143 -0.702794,-0.179143 H 15.734372 V 23.09104 h 0.270093 q 0.407896,0 0.631137,-0.176387 0.225996,-0.179144 0.225996,-0.493334 0,-0.311434 -0.184656,-0.490578 -0.181899,-0.1819 -0.542942,-0.1819 -0.327971,0 -0.531919,0.16812 -0.201192,0.168119 -0.234265,0.474041 l -0.498846,-0.03859 q 0.05512,-0.476797 0.394116,-0.744134 0.341751,-0.267338 0.876426,-0.267338 0.584283,0 0.906742,0.27285 0.325214,0.270093 0.325214,0.755159 0,0.372067 -0.20946,0.606332 -0.206704,0.231508 -0.603576,0.31419 v 0.01102 q 0.435457,0.04685 0.677989,0.292142 0.242533,0.245289 0.242533,0.617356 z"
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ d="m 20.155083,24.402919 v 0.879182 h -0.468529 v -0.879182 h -1.830021 v -0.385847 l 1.777656,-2.618252 h 0.520894 v 2.612739 h 0.545699 v 0.39136 z m -0.468529,-2.44462 q -0.0055,0.01654 -0.07717,0.146071 -0.07166,0.129534 -0.107486,0.181899 l -0.994936,1.466221 -0.148827,0.203948 -0.0441,0.05512 h 1.372516 z"
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ d="m 23.768271,24.017072 q 0,0.6146 -0.366555,0.967375 -0.363799,0.352775 -1.011472,0.352775 -0.542943,0 -0.876426,-0.237021 -0.333482,-0.237021 -0.421676,-0.686258 l 0.501602,-0.05788 q 0.157095,0.576016 0.807524,0.576016 0.399628,0 0.625624,-0.239777 0.225997,-0.242533 0.225997,-0.664209 0,-0.366556 -0.228753,-0.592552 -0.225996,-0.225996 -0.611844,-0.225996 -0.201192,0 -0.374823,0.06339 -0.173632,0.06339 -0.347263,0.214972 H 21.20514 l 0.129535,-2.089089 h 2.2076 v 0.421676 h -1.755607 l -0.07441,1.231956 q 0.322459,-0.248045 0.802012,-0.248045 0.57326,0 0.912254,0.336239 0.341751,0.336239 0.341751,0.876426 z"
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1"/>
+ <path
+ d="m 26.896394,24.011559 q 0,0.614601 -0.333483,0.970132 -0.333482,0.355531 -0.920522,0.355531 -0.655941,0 -1.003204,-0.487822 -0.347263,-0.487822 -0.347263,-1.419368 0,-1.008716 0.361043,-1.548903 0.361043,-0.540187 1.028009,-0.540187 0.879181,0 1.107934,0.790988 l -0.474042,0.08544 q -0.146071,-0.474042 -0.639404,-0.474042 -0.424433,0 -0.658698,0.396872 -0.231508,0.394116 -0.231508,1.143763 0.135047,-0.250801 0.380335,-0.380336 0.245289,-0.13229 0.562236,-0.13229 0.53743,0 0.85162,0.336238 0.316947,0.336239 0.316947,0.903986 z m -0.504358,0.02205 q 0,-0.421676 -0.206704,-0.650429 -0.206704,-0.228753 -0.576016,-0.228753 -0.347263,0 -0.562235,0.203948 -0.212216,0.201192 -0.212216,0.556724 0,0.449236 0.220484,0.735866 0.223241,0.28663 0.570504,0.28663 0.358287,0 0.562235,-0.239777 0.203948,-0.242533 0.203948,-0.664209 z"
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1"/>
+ </g>
+ <g>
+ <path
+ d="m 35.216978,24.017072 q 0,0.6146 -0.366555,0.967375 -0.3638,0.352775 -1.011473,0.352775 -0.542942,0 -0.876425,-0.237021 -0.333483,-0.237021 -0.421676,-0.686258 l 0.501602,-0.05788 q 0.157095,0.576016 0.807524,0.576016 0.399628,0 0.625624,-0.239777 0.225997,-0.242533 0.225997,-0.664209 0,-0.366556 -0.228753,-0.592552 -0.225996,-0.225996 -0.611844,-0.225996 -0.201192,0 -0.374824,0.06339 -0.173631,0.06339 -0.347262,0.214972 h -0.485066 l 0.129535,-2.089089 h 2.207599 v 0.421676 h -1.755607 l -0.07441,1.231956 q 0.322458,-0.248045 0.802012,-0.248045 0.573259,0 0.912254,0.336239 0.341751,0.336239 0.341751,0.876426 z"
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1"/>
+ </g>
+ </g>
+</svg>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/BarcodeFormatModel.cpp
^
|
@@ -0,0 +1,174 @@
+/*
+The MIT License (MIT)
+
+Copyright (c) 2022 Slava Monich
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+#include "BarcodeFormatModel.h"
+
+#include <zxing/BarcodeFormat.h>
+#include <zxing/DecodeHints.h>
+
+#include "HarbourDebug.h"
+
+// Bits that are not really being used:
+// MAXICODE
+// UPC_EAN_EXTENSION
+// RSS_14
+// RSS_EXPANDED
+#define ALL_FORMATS(f) \
+ f(QR_CODE,"qrcode","QR Code") \
+ f(AZTEC,"aztec","Aztec") \
+ f(DATA_MATRIX,"datamatrix","Data Matrix") \
+ f(PDF_417,"pdf417","PDF417") \
+ f(CODABAR,"codabar","Codabar") \
+ f(CODE_39,"code39","Code 39") \
+ f(CODE_93,"code93","Code 93") \
+ f(CODE_128,"code128","Code 128") \
+ f(EAN_8,"ean8","EAN-8") \
+ f(EAN_13,"ean13","EAN-13") \
+ f(UPC_A,"upca","UPC-A") \
+ f(UPC_E,"upce","UPC-E") \
+ f(ITF,"itf14","ITF-14")
+
+// ==========================================================================
+// BarcodeFormatModel::Private
+// ==========================================================================
+
+class BarcodeFormatModel::Private
+{
+public:
+ struct Format {
+ uint hint;
+ const QString ident;
+ const QString sample;
+ const QString name;
+ };
+
+ enum Role {
+ HintRole = Qt::UserRole,
+ EnabledRole,
+ IdentifierRole,
+ SampleRole,
+ NameRole
+ };
+
+ static const Format FORMATS[];
+ static const int FORMAT_COUNT;
+
+ Private() : iHints(zxing::DecodeHints::DEFAULT_HINT.getHints()) { }
+
+public:
+ zxing::DecodeHintType iHints;
+};
+
+const BarcodeFormatModel::Private::Format BarcodeFormatModel::Private::FORMATS[] = {
+ #define FORMAT_(ID,sample,name) { zxing::DecodeHints::ID##_HINT, \
+ QString(QLatin1String(zxing::BarcodeFormat::barcodeFormatNames[zxing::BarcodeFormat::ID])), \
+ QString(QLatin1String(sample)),QString(QLatin1String(name))},
+ ALL_FORMATS(FORMAT_)
+ #undef FORMAT_
+};
+
+const int BarcodeFormatModel::Private::FORMAT_COUNT =
+ sizeof(BarcodeFormatModel::Private::FORMATS)/
+ sizeof(BarcodeFormatModel::Private::FORMATS[0]);
+
+// ==========================================================================
+// BarcodeFormatModel
+// ==========================================================================
+
+BarcodeFormatModel::BarcodeFormatModel(QObject* aParent) :
+ QAbstractListModel(aParent),
+ iPrivate(new Private)
+{
+}
+
+BarcodeFormatModel::~BarcodeFormatModel()
+{
+ delete iPrivate;
+}
+
+const QString BarcodeFormatModel::formatName(QString aIdent)
+{
+ for (int i = 0; i < Private::FORMAT_COUNT; i++) {
+ const Private::Format* format = Private::FORMATS + i;
+ if (aIdent == format->ident) {
+ return format->name;
+ }
+ }
+ return QString();
+}
+
+QHash<int,QByteArray> BarcodeFormatModel::roleNames() const
+{
+ QHash<int,QByteArray> roles;
+ roles.insert(Private::HintRole, "hint");
+ roles.insert(Private::EnabledRole, "enabled");
+ roles.insert(Private::IdentifierRole, "identifier");
+ roles.insert(Private::SampleRole, "sample");
+ roles.insert(Private::NameRole, "name");
+ return roles;
+}
+
+int BarcodeFormatModel::rowCount(const QModelIndex& aParent) const
+{
+ return Private::FORMAT_COUNT;
+}
+
+QVariant BarcodeFormatModel::data(const QModelIndex& aIndex, int aRole) const
+{
+ const int row = aIndex.row();
+ if (row >=0 && row < Private::FORMAT_COUNT) {
+ const Private::Format* format = Private::FORMATS + row;
+ switch ((Private::Role)aRole) {
+ case Private::HintRole: return format->hint;
+ case Private::EnabledRole: return (iPrivate->iHints & format->hint) != 0;
+ case Private::IdentifierRole: return format->ident;
+ case Private::SampleRole: return format->sample;
+ case Private::NameRole: return format->name;
+ }
+ }
+ return QVariant();
+}
+
+uint BarcodeFormatModel::getHints() const
+{
+ return iPrivate->iHints;
+}
+
+void BarcodeFormatModel::setHints(uint aHints)
+{
+ HDEBUG(hex << aHints);
+ if (iPrivate->iHints != aHints) {
+ const uint oldHints = iPrivate->iHints;
+ iPrivate->iHints = aHints;
+ const QVector<int> role(1, Private::EnabledRole);
+ for (int row = 0; row < Private::FORMAT_COUNT; row++) {
+ const Private::Format* format = Private::FORMATS + row;
+ if ((oldHints & format->hint) != (aHints & format->hint)) {
+ const QModelIndex modelIndex(index(row));
+ Q_EMIT dataChanged(modelIndex, modelIndex, role);
+ }
+ }
+ Q_EMIT hintsChanged();
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/BarcodeFormatModel.h
^
|
@@ -0,0 +1,57 @@
+/*
+The MIT License (MIT)
+
+Copyright (c) 2022 Slava Monich
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+#ifndef BARCODE_FORMAT_MODEL_H
+#define BARCODE_FORMAT_MODEL_H
+
+#include <QAbstractListModel>
+
+class BarcodeFormatModel : public QAbstractListModel {
+ Q_OBJECT
+ Q_PROPERTY(uint hints READ getHints WRITE setHints NOTIFY hintsChanged)
+
+public:
+ BarcodeFormatModel(QObject* aParent = Q_NULLPTR);
+ ~BarcodeFormatModel();
+
+ static const QString formatName(QString aIdent);
+
+ uint getHints() const;
+ void setHints(uint aHints);
+
+ // QAbstractItemModel
+ QHash<int,QByteArray> roleNames() const Q_DECL_OVERRIDE;
+ int rowCount(const QModelIndex& aParent = QModelIndex()) const Q_DECL_OVERRIDE;
+ QVariant data(const QModelIndex& aIndex, int aRole) const Q_DECL_OVERRIDE;
+
+Q_SIGNALS:
+ void hintsChanged();
+
+private:
+ class Private;
+ Private* iPrivate;
+};
+
+
+#endif // BARCODE_FORMAT_MODEL_H
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/BarcodeUtils.cpp
^
|
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
-Copyright (c) 2020 Slava Monich
+Copyright (c) 2020-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,7 @@
*/
#include "BarcodeUtils.h"
+#include "BarcodeFormatModel.h"
BarcodeUtils::BarcodeUtils(QObject* aParent) :
QObject(aParent)
@@ -43,3 +44,8 @@
QUrl(aText, QUrl::StrictMode).scheme() :
QString();
}
+
+const QString BarcodeUtils::barcodeFormatName(QString aIdent)
+{
+ return BarcodeFormatModel::formatName(aIdent);
+}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/BarcodeUtils.h
^
|
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
-Copyright (c) 2020 Slava Monich
+Copyright (c) 2020-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -38,9 +38,10 @@
BarcodeUtils(QObject* aParent = Q_NULLPTR);
// Callback for qmlRegisterSingletonType<BarcodeUtils>
- static QObject* createSingleton(QQmlEngine* aEngine, QJSEngine* aScript);
+ static QObject* createSingleton(QQmlEngine*, QJSEngine*);
- Q_INVOKABLE static QString urlScheme(QString aText);
+ Q_INVOKABLE static QString urlScheme(QString text);
+ Q_INVOKABLE static const QString barcodeFormatName(QString ident);
};
#endif // BARCODE_UTILS_H
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/Settings.cpp
^
|
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
-Copyright (c) 2018-2020 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -24,9 +24,11 @@
#include "Settings.h"
+#include <zxing/DecodeHints.h>
+
#include <MGConfItem>
-#define DCONF_PATH "/apps/harbour-barcode/"
+#define DCONF_PATH_(x) "/apps/harbour-barcode/" x
// New keys (the ones that have only been in dconf)
#define KEY_BUZZ_ON_SCAN "buzz_on_scan"
@@ -35,6 +37,7 @@
#define KEY_ORIENTATION "orientation"
#define KEY_MAX_DIGITAL_ZOOM "max_digital_zoom"
#define KEY_VOLUME_ZOOM "volume_zoom"
+#define KEY_DECODING_HINTS "decoding_hints"
#define DEFAULT_SOUND false
#define DEFAULT_BUZZ_ON_SCAN true
@@ -48,7 +51,8 @@
#define DEFAULT_SAVE_IMAGES true
#define DEFAULT_VOLUME_ZOOM true
#define DEFAULT_WIDE_MODE false
-#define DEFAULT_ORIENTATION (Settings::OrientationAny)
+#define DEFAULT_DECODING_HINTS zxing::DecodeHints::DEFAULT_HINT.getHints()
+#define DEFAULT_ORIENTATION Settings::OrientationAny
// ==========================================================================
// Settings::Private
@@ -73,25 +77,27 @@
MGConfItem* iSaveImages;
MGConfItem* iVolumeZoom;
MGConfItem* iWideMode;
+ MGConfItem* iDecodingHints;
MGConfItem* iOrientation;
};
-const QString Settings::Private::HINTS_ROOT(DCONF_PATH "hints/");
+const QString Settings::Private::HINTS_ROOT(DCONF_PATH_("hints/"));
Settings::Private::Private(Settings* aSettings) :
- iSound(new MGConfItem(DCONF_PATH KEY_SOUND, aSettings)),
- iBuzzOnScan(new MGConfItem(DCONF_PATH KEY_BUZZ_ON_SCAN, aSettings)),
- iDigitalZoom(new MGConfItem(DCONF_PATH KEY_DIGITAL_ZOOM, aSettings)),
- iMaxDigitalZoom(new MGConfItem(DCONF_PATH KEY_MAX_DIGITAL_ZOOM, aSettings)),
- iScanDuration(new MGConfItem(DCONF_PATH KEY_SCAN_DURATION, aSettings)),
- iResultViewDuration(new MGConfItem(DCONF_PATH KEY_RESULT_VIEW_DURATION, aSettings)),
- iMarkerColor(new MGConfItem(DCONF_PATH KEY_MARKER_COLOR, aSettings)),
- iHistorySize(new MGConfItem(DCONF_PATH KEY_HISTORY_SIZE, aSettings)),
- iScanOnStart(new MGConfItem(DCONF_PATH KEY_SCAN_ON_START, aSettings)),
- iSaveImages(new MGConfItem(DCONF_PATH KEY_SAVE_IMAGES, aSettings)),
- iVolumeZoom(new MGConfItem(DCONF_PATH KEY_VOLUME_ZOOM, aSettings)),
- iWideMode(new MGConfItem(DCONF_PATH KEY_WIDE_MODE, aSettings)),
- iOrientation(new MGConfItem(DCONF_PATH KEY_ORIENTATION, aSettings))
+ iSound(new MGConfItem(DCONF_PATH_(KEY_SOUND), aSettings)),
+ iBuzzOnScan(new MGConfItem(DCONF_PATH_(KEY_BUZZ_ON_SCAN), aSettings)),
+ iDigitalZoom(new MGConfItem(DCONF_PATH_(KEY_DIGITAL_ZOOM), aSettings)),
+ iMaxDigitalZoom(new MGConfItem(DCONF_PATH_(KEY_MAX_DIGITAL_ZOOM), aSettings)),
+ iScanDuration(new MGConfItem(DCONF_PATH_(KEY_SCAN_DURATION), aSettings)),
+ iResultViewDuration(new MGConfItem(DCONF_PATH_(KEY_RESULT_VIEW_DURATION), aSettings)),
+ iMarkerColor(new MGConfItem(DCONF_PATH_(KEY_MARKER_COLOR), aSettings)),
+ iHistorySize(new MGConfItem(DCONF_PATH_(KEY_HISTORY_SIZE), aSettings)),
+ iScanOnStart(new MGConfItem(DCONF_PATH_(KEY_SCAN_ON_START), aSettings)),
+ iSaveImages(new MGConfItem(DCONF_PATH_(KEY_SAVE_IMAGES), aSettings)),
+ iVolumeZoom(new MGConfItem(DCONF_PATH_(KEY_VOLUME_ZOOM), aSettings)),
+ iWideMode(new MGConfItem(DCONF_PATH_(KEY_WIDE_MODE), aSettings)),
+ iDecodingHints(new MGConfItem(DCONF_PATH_(KEY_DECODING_HINTS), aSettings)),
+ iOrientation(new MGConfItem(DCONF_PATH_(KEY_ORIENTATION), aSettings))
{
connect(iSound, SIGNAL(valueChanged()), aSettings, SIGNAL(soundChanged()));
connect(iBuzzOnScan, SIGNAL(valueChanged()), aSettings, SIGNAL(buzzOnScanChanged()));
@@ -105,6 +111,7 @@
connect(iSaveImages, SIGNAL(valueChanged()), aSettings, SIGNAL(saveImagesChanged()));
connect(iVolumeZoom, SIGNAL(valueChanged()), aSettings, SIGNAL(volumeZoomChanged()));
connect(iWideMode, SIGNAL(valueChanged()), aSettings, SIGNAL(wideModeChanged()));
+ connect(iDecodingHints, SIGNAL(valueChanged()), aSettings, SIGNAL(decodingHintsChanged()));
connect(iOrientation, SIGNAL(valueChanged()), aSettings, SIGNAL(orientationChanged()));
}
@@ -248,6 +255,32 @@
iPrivate->iWideMode->set(aValue);
}
+uint Settings::decodingHints() const
+{
+ return iPrivate->iDecodingHints->value(DEFAULT_DECODING_HINTS).toUInt();
+}
+
+void Settings::setDecodingHints(uint aValue)
+{
+ iPrivate->iDecodingHints->set(aValue);
+}
+
+void Settings::setDecodingHint(uint aValue)
+{
+ const uint hints = decodingHints();
+ if ((hints & aValue) != aValue) {
+ iPrivate->iDecodingHints->set(hints | aValue);
+ }
+}
+
+void Settings::clearDecodingHint(uint aValue)
+{
+ const uint hints = decodingHints();
+ if ((hints & aValue) != 0) {
+ iPrivate->iDecodingHints->set(hints & ~aValue);
+ }
+}
+
Settings::Orientation Settings::orientation() const
{
return (Orientation)iPrivate->iOrientation->value((int)DEFAULT_ORIENTATION).toInt();
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/Settings.h
^
|
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
-Copyright (c) 2018-2021 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -54,6 +54,7 @@
Q_PROPERTY(bool saveImages READ saveImages WRITE setSaveImages NOTIFY saveImagesChanged)
Q_PROPERTY(bool volumeZoom READ volumeZoom WRITE setVolumeZoom NOTIFY volumeZoomChanged)
Q_PROPERTY(bool wideMode READ wideMode WRITE setWideMode NOTIFY wideModeChanged)
+ Q_PROPERTY(uint decodingHints READ decodingHints WRITE setDecodingHints NOTIFY decodingHintsChanged)
Q_PROPERTY(Orientation orientation READ orientation WRITE setOrientation NOTIFY orientationChanged)
Q_ENUMS(Orientation)
Q_ENUMS(Constants)
@@ -113,6 +114,11 @@
bool wideMode() const;
void setWideMode(bool aValue);
+ uint decodingHints() const;
+ void setDecodingHints(uint aValue);
+ Q_INVOKABLE void setDecodingHint(uint aValue);
+ Q_INVOKABLE void clearDecodingHint(uint aValue);
+
Orientation orientation() const;
void setOrientation(Orientation aValue);
@@ -129,6 +135,7 @@
void saveImagesChanged();
void volumeZoomChanged();
void wideModeChanged();
+ void decodingHintsChanged();
void orientationChanged();
private:
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/harbour-barcode.cpp
^
|
@@ -2,7 +2,7 @@
The MIT License (MIT)
Copyright (c) 2014 Steffen Förster
-Copyright (c) 2018-2021 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -44,6 +44,7 @@
#include "HarbourTemporaryFile.h"
#include "HarbourSystemInfo.h"
+#include "BarcodeFormatModel.h"
#include "BarcodeUtils.h"
#include "Plugins.h"
#include "Database.h"
@@ -70,6 +71,7 @@
qmlRegisterType<HarbourTemporaryFile>(uri, v1, v2, "TemporaryFile");
qmlRegisterSingletonType<HarbourSystemInfo>(uri, v1, v2, "SystemInfo", HarbourSystemInfo::createSingleton);
qmlRegisterSingletonType<HarbourProcessState>(uri, v1, v2, "ProcessState", HarbourProcessState::createSingleton);
+ qmlRegisterType<BarcodeFormatModel>(uri, v1, v2, "BarcodeFormatModel");
qmlRegisterType<BarcodeScanner>(uri, v1, v2, "BarcodeScanner");
qmlRegisterType<DGCertModel>(uri, v1, v2, "DGCertModel");
qmlRegisterType<DGCertRecognizer>(uri, v1, v2, "DGCertRecognizer");
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/scanner/BarcodeScanner.cpp
^
|
@@ -2,7 +2,7 @@
The MIT License (MIT)
Copyright (c) 2014 Steffen Förster
-Copyright (c) 2018-2021 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -27,6 +27,8 @@
#include "ImageSource.h"
#include "Decoder.h"
+#include <zxing/DecodeHints.h>
+
#include "HarbourDebug.h"
#include <QtConcurrent>
@@ -102,6 +104,7 @@
QRect iViewFinderRect;
QColor iMarkerColor;
+ uint iDecodingHints;
};
BarcodeScanner::Private::Private(BarcodeScanner* aParent) :
@@ -116,7 +119,8 @@
iLastKnownState(Idle),
iViewFinderItem(NULL),
iScanTimeout(new QTimer(this)),
- iMarkerColor(QColor(0, 255, 0)) // default green
+ iMarkerColor(QColor(0, 255, 0)), // default green
+ iDecodingHints(zxing::DecodeHints::DEFAULT_HINT.getHints())
{
iScanTimeout->setSingleShot(true);
connect(iScanTimeout, SIGNAL(timeout()), SLOT(onScanningTimeout()));
@@ -271,6 +275,8 @@
emit needImage();
int rotation;
QRect viewFinderRect;
+ zxing::DecodeHints hints;
+
while (iCaptureImage.isNull() && !iAbortScan) {
iDecodingEvent.wait(&iDecodingMutex);
}
@@ -282,6 +288,7 @@
}
viewFinderRect = iViewFinderRect;
rotation = iRotation;
+ hints = iDecodingHints;
iDecodingMutex.unlock();
if (!image.isNull()) {
@@ -394,6 +401,7 @@
#endif // HARBOUR_DEBUG
HDEBUG("decoding screenshot ...");
+ decoder.setHints(hints);
result = decoder.decode(sourceRef);
if (!result.isValid()) {
@@ -610,4 +618,19 @@
return iPrivate->iGrabbing;
}
+uint BarcodeScanner::decodingHints() const
+{
+ return iPrivate->iDecodingHints;
+}
+
+void BarcodeScanner::setDecodingHints(uint aValue)
+{
+ if (iPrivate->iDecodingHints != aValue) {
+ iPrivate->iDecodingMutex.lock();
+ iPrivate->iDecodingHints = aValue;
+ iPrivate->iDecodingMutex.unlock();
+ Q_EMIT decodingHintsChanged();
+ }
+}
+
#include "BarcodeScanner.moc"
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/scanner/BarcodeScanner.h
^
|
@@ -2,7 +2,7 @@
The MIT License (MIT)
Copyright (c) 2014 Steffen Förster
-Copyright (c) 2018-2020 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -41,6 +41,7 @@
Q_PROPERTY(ScanState scanState READ scanState NOTIFY scanStateChanged)
Q_PROPERTY(bool canGrab READ canGrab WRITE setCanGrab NOTIFY canGrabChanged)
Q_PROPERTY(bool grabbing READ grabbing NOTIFY grabbingChanged)
+ Q_PROPERTY(uint decodingHints READ decodingHints WRITE setDecodingHints NOTIFY decodingHintsChanged)
Q_ENUMS(ScanState)
class Private;
@@ -78,6 +79,9 @@
bool grabbing() const;
+ uint decodingHints() const;
+ void setDecodingHints(uint aValue);
+
Q_SIGNALS:
void decodingFinished(QImage image, QVariantMap result);
void viewFinderItemChanged();
@@ -87,6 +91,7 @@
void scanStateChanged();
void canGrabChanged();
void grabbingChanged();
+ void decodingHintsChanged();
private:
Private* iPrivate;
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/scanner/Decoder.cpp
^
|
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
-Copyright (c) 2018-2020 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -29,7 +29,6 @@
#include <QAtomicInt>
-#include <zxing/DecodeHints.h>
#include <zxing/MultiFormatReader.h>
#include <zxing/Binarizer.h>
#include <zxing/BinaryBitmap.h>
@@ -200,3 +199,8 @@
return Result();
}
}
+
+void Decoder::setHints(const zxing::DecodeHints& aHints)
+{
+ iPrivate->iHints = aHints;
+}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/scanner/Decoder.h
^
|
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
-Copyright (c) 2018 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -30,6 +30,7 @@
#include <QString>
#include <QMetaType>
+#include <zxing/DecodeHints.h>
#include <zxing/BarcodeFormat.h>
#include <zxing/LuminanceSource.h>
#include <zxing/common/Counted.h>
@@ -45,6 +46,7 @@
Result decode(QImage aImage);
Result decode(zxing::Ref<zxing::LuminanceSource> aSource);
+ void setHints(const zxing::DecodeHints& aHints);
private:
class Private;
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/scanner/ImageSource.cpp
^
|
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
-Copyright (c) 2018-2020 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -24,29 +24,87 @@
#include "ImageSource.h"
-#include <zxing/common/GlobalHistogramBinarizer.h>
+#include "HarbourDebug.h"
+
+class ImageSource::Private {
+public:
+ static QImage gray(const QImage& aImage);
+ static bool isGray(const QImage& aImage);
+ static const QVector<QRgb> grayColorTable();
+ static const QVector<QRgb> gGrayColorTable;
+};
+
+const QVector<QRgb> ImageSource::Private::gGrayColorTable(ImageSource::Private::grayColorTable());
+
+const QVector<QRgb> ImageSource::Private::grayColorTable()
+{
+ QVector<QRgb> colors;
+ colors.reserve(256);
+ for (int i = 0; i < 256; i++) {
+ colors.append(qRgb(i, i, i));
+ }
+ return colors;
+}
+
+bool ImageSource::Private::isGray(const QImage& aImage)
+{
+ if (aImage.format() == QImage::Format_Indexed8) {
+ const int n = gGrayColorTable.count();
+ if (aImage.colorCount() == n) {
+ const QVector<QRgb> ct = aImage.colorTable();
+ const QRgb* data1 = ct.constData();
+ const QRgb* data2 = gGrayColorTable.constData();
+ // Most of the time pointers would match
+ if (data1 == data2 || !memcmp(data1, data2, sizeof(QRgb)*n)) {
+ return true;
+ }
+ }
+ }
+ return false;
+}
-ImageSource::ImageSource(QImage aImage) :
- zxing::LuminanceSource(aImage.width(), aImage.height())
+QImage ImageSource::Private::gray(const QImage& aImage)
{
- if (aImage.depth() == 32) {
- iImage = aImage;
+ if (isGray(aImage) || aImage.isNull()) {
+ return aImage;
+ } else if (aImage.depth() != 32) {
+ return gray(aImage.convertToFormat(QImage::Format_RGB32));
} else {
- iImage = aImage.convertToFormat(QImage::Format_RGB32);
+ const int w = aImage.width();
+ const int h = aImage.height();
+ QImage gray(w, h, QImage::Format_Indexed8);
+ gray.setColorTable(gGrayColorTable);
+
+ const uchar* idata = aImage.constBits();
+ const uint istride = aImage.bytesPerLine();
+ uchar* odata = gray.bits();
+ const uint ostride = gray.bytesPerLine();
+
+ for (int y = 0; y < h; y++, idata += istride, odata += ostride) {
+ uchar* dest = odata;
+ const QRgb* src = (const QRgb*)idata;
+ for (int x = 0; x < w; x++) {
+ const QRgb rgb = *src++;
+ // *dest++ = qGray(rgb);
+ // This is significantly faster than gGray() but is
+ // just as good for our purposes:
+ *dest++ = (uchar)((((rgb & 0x00ff0000) >> 16) +
+ ((rgb & 0x0000ff00) >> 8) +
+ (rgb & 0xff))/3);
+ }
+ }
+ return gray;
}
+}
- const int height = getHeight();
- iGrayRows = new zxing::byte*[height];
- memset(iGrayRows, 0, sizeof(iGrayRows[0]) * height);
+ImageSource::ImageSource(const QImage& aImage) :
+ zxing::LuminanceSource(aImage.width(), aImage.height()),
+ iImage(Private::gray(aImage))
+{
}
ImageSource::~ImageSource()
{
- const int height = iImage.height();
- for (int i = 0; i < height; i++) {
- delete [] iGrayRows [i];
- }
- delete [] iGrayRows;
}
zxing::ArrayRef<zxing::byte> ImageSource::getRow(int aY, zxing::ArrayRef<zxing::byte> aRow) const
@@ -76,38 +134,14 @@
const zxing::byte* ImageSource::getGrayRow(int aY) const
{
- if (!iGrayRows[aY]) {
- const int width = iImage.width();
- zxing::byte* row = new zxing::byte[width];
- const QRgb* pixels = (const QRgb*)iImage.constScanLine(aY);
- for (int x = 0; x < width; x++) {
- const QRgb rgb = *pixels++;
- // This is significantly faster than gGray() but is
- // just as good for our purposes
- row[x] = (zxing::byte)((((rgb & 0x00ff0000) >> 16) +
- ((rgb & 0x0000ff00) >> 8) +
- (rgb & 0xff))/3);
- }
- iGrayRows[aY] = row;
- }
- return iGrayRows[aY];
+ return iImage.constBits() + aY * iImage.bytesPerLine();
}
-QImage ImageSource::grayscaleImage() const
-{
- const int w = iImage.width();
- const int h = iImage.height();
- QRgb* buf = (QRgb*)malloc(w * h * sizeof(QRgb));
- QRgb* ptr = buf;
- for (int y = 0; y < h; y++) {
- const zxing::byte* src = getGrayRow(y);
- for (int x = 0; x < w; x++) {
- int g = *src++;
- *ptr++ = qRgb(g, g, g);
- }
- }
- return QImage((uchar*)buf, w, h, QImage::Format_ARGB32, free, buf);
-}
+// Strictly for debugging
+
+#if HARBOUR_DEBUG
+
+#include <zxing/common/GlobalHistogramBinarizer.h>
QImage ImageSource::bwImage()
{
@@ -138,3 +172,5 @@
return QImage();
}
}
+
+#endif // HARBOUR_DEBUG
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/scanner/ImageSource.h
^
|
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
-Copyright (c) 2018-2020 Slava Monich
+Copyright (c) 2018-2022 Slava Monich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -32,13 +32,17 @@
class ImageSource : public zxing::LuminanceSource
{
Q_DISABLE_COPY(ImageSource)
+ class Private;
public:
- ImageSource(QImage aImage);
+ ImageSource(const QImage& aImage);
~ImageSource();
- QImage grayscaleImage() const;
+ const QImage& grayscaleImage() const { return iImage; }
+
+#if HARBOUR_DEBUG
QImage bwImage();
+#endif // HARBOUR_DEBUG
zxing::ArrayRef<zxing::byte> getRow(int aY, zxing::ArrayRef<zxing::byte> aRow) const Q_DECL_OVERRIDE;
zxing::ArrayRef<zxing::byte> getMatrix() const Q_DECL_OVERRIDE;
@@ -48,8 +52,6 @@
private:
QImage iImage;
- mutable zxing::byte** iGrayRows;
- mutable zxing::ArrayRef<zxing::byte> iGrayImage;
};
#endif // BARCODE_IMAGESOURCE_H
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/zxing/zxing/DecodeHints.cpp
^
|
@@ -41,8 +41,10 @@
const zxing::DecodeHintType DecodeHints::MAXICODE_HINT = 1 << BarcodeFormat::MAXICODE;
const zxing::DecodeHintType DecodeHints::PDF_417_HINT = 1 << BarcodeFormat::PDF_417;
const zxing::DecodeHintType DecodeHints::QR_CODE_HINT = 1 << BarcodeFormat::QR_CODE;
+#ifdef SUPPORT_RSS
const zxing::DecodeHintType DecodeHints::RSS_14_HINT = 1 << BarcodeFormat::RSS_14;
const zxing::DecodeHintType DecodeHints::RSS_EXPANDED_HINT = 1 << BarcodeFormat::RSS_EXPANDED;
+#endif
const zxing::DecodeHintType DecodeHints::UPC_A_HINT = 1 << BarcodeFormat::UPC_A;
const zxing::DecodeHintType DecodeHints::UPC_E_HINT = 1 << BarcodeFormat::UPC_E;
const zxing::DecodeHintType DecodeHints::UPC_EAN_EXTENSION_HINT = 1 << BarcodeFormat::UPC_EAN_EXTENSION;
@@ -51,11 +53,13 @@
const zxing::DecodeHintType DecodeHints::CHARACTER_SET = 1 << 30;
const zxing::DecodeHints DecodeHints::PRODUCT_HINT(
+#ifdef SUPPORT_RSS
+ DecodeHints::RSS_14_HINT |
+#endif
DecodeHints::UPC_A_HINT |
DecodeHints::UPC_E_HINT |
DecodeHints::EAN_13_HINT |
- DecodeHints::EAN_8_HINT |
- DecodeHints::RSS_14_HINT
+ DecodeHints::EAN_8_HINT
);
const zxing::DecodeHints DecodeHints::ONED_HINT(
@@ -75,17 +79,17 @@
DecodeHints::PDF_417_HINT
);
-DecodeHints::DecodeHints() {
- hints = 0;
+DecodeHints::DecodeHints() :
+ hints(0) {
}
-DecodeHints::DecodeHints(const zxing::DecodeHintType &init) {
- hints = init;
+DecodeHints::DecodeHints(zxing::DecodeHintType init) :
+ hints(init) {
}
-DecodeHints::DecodeHints(const DecodeHints &other) {
- hints = other.hints;
- callback = other.callback;
+DecodeHints::DecodeHints(const DecodeHints &other) :
+ hints(other.hints),
+ callback(other.callback) {
}
void DecodeHints::addFormat(BarcodeFormat toadd) {
@@ -102,8 +106,13 @@
case BarcodeFormat::MAXICODE: hints |= MAXICODE_HINT; break;
case BarcodeFormat::PDF_417: hints |= PDF_417_HINT; break;
case BarcodeFormat::QR_CODE: hints |= QR_CODE_HINT; break;
+#ifdef SUPPORT_RSS
case BarcodeFormat::RSS_14: hints |= RSS_14_HINT; break;
case BarcodeFormat::RSS_EXPANDED: hints |= RSS_EXPANDED_HINT; break;
+#else
+ case BarcodeFormat::RSS_14:
+ case BarcodeFormat::RSS_EXPANDED: break;
+#endif
case BarcodeFormat::UPC_A: hints |= UPC_A_HINT; break;
case BarcodeFormat::UPC_E: hints |= UPC_E_HINT; break;
case BarcodeFormat::UPC_EAN_EXTENSION: hints |= UPC_EAN_EXTENSION_HINT; break;
@@ -127,8 +136,14 @@
case BarcodeFormat::MAXICODE: checkAgainst |= MAXICODE_HINT; break;
case BarcodeFormat::PDF_417: checkAgainst |= PDF_417_HINT; break;
case BarcodeFormat::QR_CODE: checkAgainst |= QR_CODE_HINT; break;
+#ifdef SUPPORT_RSS
case BarcodeFormat::RSS_14: checkAgainst |= RSS_14_HINT; break;
case BarcodeFormat::RSS_EXPANDED: checkAgainst |= RSS_EXPANDED_HINT; break;
+#else
+ case BarcodeFormat::RSS_14:
+ case BarcodeFormat::RSS_EXPANDED:
+ return false;
+#endif
case BarcodeFormat::UPC_A: checkAgainst |= UPC_A_HINT; break;
case BarcodeFormat::UPC_E: checkAgainst |= UPC_E_HINT; break;
case BarcodeFormat::UPC_EAN_EXTENSION: checkAgainst |= UPC_EAN_EXTENSION_HINT; break;
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/zxing/zxing/DecodeHints.h
^
|
@@ -47,8 +47,10 @@
static const DecodeHintType MAXICODE_HINT;
static const DecodeHintType PDF_417_HINT;
static const DecodeHintType QR_CODE_HINT;
+#ifdef SUPPORT_RSS
static const DecodeHintType RSS_14_HINT;
static const DecodeHintType RSS_EXPANDED_HINT;
+#endif
static const DecodeHintType UPC_A_HINT;
static const DecodeHintType UPC_E_HINT;
static const DecodeHintType UPC_EAN_EXTENSION_HINT;
@@ -65,11 +67,12 @@
static const DecodeHints DEFAULT_HINT;
DecodeHints();
- DecodeHints(const DecodeHintType &init);
+ DecodeHints(DecodeHintType init);
DecodeHints(const DecodeHints &other);
void addFormat(BarcodeFormat toadd);
bool containsFormat(BarcodeFormat tocheck) const;
+ DecodeHintType getHints() const { return hints; }
bool isEmpty() const {return (hints==0);}
void clear() {hints=0;}
void setTryHarder(bool toset);
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/src/zxing/zxing/oned/MultiFormatOneDReader.cpp
^
|
@@ -56,16 +56,14 @@
if (hints.containsFormat(BarcodeFormat::CODABAR)) {
readers.push_back(Ref<OneDReader>(new CodaBarReader()));
}
-/*
+#ifdef SUPPORT_RSS
if (hints.containsFormat(BarcodeFormat::RSS_14)) {
readers.push_back(Ref<OneDReader>(new RSS14Reader()));
}
-*/
-/*
if (hints.containsFormat(BarcodeFormat::RSS_EXPANDED)) {
readers.push_back(Ref<OneDReader>(new RSS14ExpandedReader()));
}
-*/
+#endif
if (readers.size() == 0) {
readers.push_back(Ref<OneDReader>(new MultiFormatUPCEANReader(hints)));
readers.push_back(Ref<OneDReader>(new Code39Reader()));
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-cs.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Podporované 1D / 2D čárové kódy</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Zdroj obrázků: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Nastavení</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">Formáty čárových kódů</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">Vypnutím nepotřebných formátů zrychlíte dekódování a snížíte možnost nesprávné detekce typu čárového kódu.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-da.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Understøttet 1D/2D stregkoder</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Billedkilde: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Indstillinger</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">Stregkodeformater</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">Deaktivering af de formater, du ikke har brug for, fremskynder afkodningen og mindsker risikoen for forkert genkendelse af stregkodetypen.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-de.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Unterstützte 1D/2D Code Formate</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Bildquelle: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Einstellungen</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">Barcode-Formate</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">Das Deaktivieren nicht benötigter Formate beschleunigt die Dekodierung und verringert das Risiko einer falschen Erkennung des Barcodetyps.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-es.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Soporta códigos de barras 1D/2D</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Fuente de la imagen: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Ajustes</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">Formatos de código de barras</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">La desactivación de los formatos que no necesita acelera la decodificación y reduce el riesgo de un reconocimiento incorrecto del tipo de código de barras.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-fr.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Code-barres 1D/2D reconnus</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Images provenant de: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Paramètres</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">Formats de codes à barres</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">La désactivation des formats dont vous n'avez pas besoin accélère le décodage et réduit le risque de mauvaise reconnaissance du type de code-barres.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-hu.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Támogatott 1D és 2D vonalkódok</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Kép forrása: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Beállítások</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">Vonalkód formátumok</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">A nem szükséges formátumok letiltása felgyorsítja a dekódolást és csökkenti a vonalkód típusának helytelen felismerésének kockázatát.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-it.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Codici 1D/2D supportati</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Fonte delle immagini: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Impostazioni</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">Formati di codici a barre</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">La disabilitazione dei formati non necessari velocizza la decodifica e riduce il rischio di un riconoscimento errato del tipo di codice a barre.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-pl.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Wsparcie dla kodów kreskowych 1D/2D</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Źródło obrazka: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Ustawienia</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">Formaty kodów kreskowych</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">Wyłączając niepotrzebne formaty, przyspieszasz dekodowanie i zmniejszasz ryzyko nieprawidłowego wykrycia typu kodu kreskowego.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-pt.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Suporta códigos de barras 1D/2D</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Fonte das imagens: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Definições</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">Formatos de código de barras</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">Desativar os formatos desnecessários acelera a decodificação e reduz o risco de reconhecimento incorreto do tipo de código de barras.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-ru.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Поддерживает одно- и двухмерные баркоды</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Источник изображений: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Настройки</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation>Форматы баркодов</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation>Отключая ненужные форматы, вы ускоряете декодирование и уменьшаете шанс неверного определения типа баркода.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-sk.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Podporované sú 1D/2D čiarové kódy</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Zdroj obrázkov: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Nastavenia</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">Formáty čiarových kódov</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">Vypnutím nepotrebných formátov zrýchlite dekódovanie a znížite možnosť nesprávnej detekcie typu čiarového kódu.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
@@ -499,12 +504,12 @@
<message id="dgcert-personal-name">
<source>Name</source>
<extracomment>Detail label (personal details)</extracomment>
- <translation>Meno</translation>
+ <translation>Priezvisko a krstné meno</translation>
</message>
<message id="dgcert-personal-standardized_name">
<source>Standardized name</source>
<extracomment>Detail label (personal details)</extracomment>
- <translation>Priezvisko</translation>
+ <translation>Štandardizované priezvisko krstné meno</translation>
</message>
<message id="dgcert-personal-date_of_birth">
<source>Date of birth</source>
@@ -559,7 +564,7 @@
<message id="dgcert-vaccination-is">
<source>Certificate issuer</source>
<extracomment>Detail label (vaccination group)</extracomment>
- <translation>Vydávajúca organizácia</translation>
+ <translation>Potvrdenie vystavil</translation>
</message>
<message id="dgcert-vaccination-ci">
<source>Unique certificate identifier</source>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-sv.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>1D-/2D-koder som stöds</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Bildkälla: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Inställningar</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">Streckkodsformat</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">Att inaktivera de format du inte behöver påskyndar avkodningen och minskar risken för felaktig identifiering av streckkodstypen.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-zh_CN.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>支持1D/2D条形码</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>图片源: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>设置</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">条码格式</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">禁用不需要的格式可加快解码速度并降低条码类型识别错误的风险。</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode-zh_TW.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>支援1D/2D條碼</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>圖片來源: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>設定</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation type="unfinished">條碼格式</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation type="unfinished">禁用不需要的格式可加快解碼速度並降低條碼類型識別錯誤的風險。</translation>
+ </message>
<message id="settings-sound-label">
<source>Detection sound</source>
<extracomment>Switch button text</extracomment>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-barcode-1.0.45.tar.bz2/translations/harbour-barcode.ts
^
|
@@ -58,11 +58,6 @@
<extracomment>About page label</extracomment>
<translation>Supported 1D/2D bar codes</translation>
</message>
- <message id="about-supported_codes-text">
- <source>Image source: %1</source>
- <extracomment>About page text</extracomment>
- <translation>Image source: %1</translation>
- </message>
<message id="scan-slider-zoom">
<source>Zoom</source>
<extracomment>Slider label</extracomment>
@@ -93,6 +88,16 @@
<extracomment>Setting page title and menu item</extracomment>
<translation>Settings</translation>
</message>
+ <message id="settings-formats-section">
+ <source>Barcode formats</source>
+ <extracomment>Section header</extracomment>
+ <translation>Barcode formats</translation>
+ </message>
+ <message id="settings-formats-description">
+ <source>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</source>
+ <extracomment>Section description</extracomment>
+ <translation>Disabling the formats that you don't need speeds up the decoding and reduces the risk of incorrect recognition of the barcode type.</translation>
+ </message>
<message id="settings-scan-section">
<source>Scan</source>
<extracomment>Section header</extracomment>
|