8 Commits

Author SHA1 Message Date
Nikos Ftylitakis
742f3d9729 minor code cleanup, remove forgotten comment. 2019-10-03 17:13:56 +03:00
Nikos Ftylitakis
b55e749b5a update UI to be able to play around with background colors and transparency 2019-10-03 17:08:23 +03:00
Nikos Ftylitakis
c077e8e760 Created QZXingEncoderConfig struct to hold the configuration of the encode operation. It has been extracted to a struct since the parameters are increasing.
Created overloaded function for encodeData to use the QZXingEncoderConfig. The old implementation of encodeData now translates its arguments into a QZXingEncoderConfig and calls the overloaded function.

Updated regex in QZXingImageProvider to be aware of the new configuration of border.

Updated BarcodeEncoder example UI to allow the control of the border option.
2019-09-29 20:18:04 +03:00
Nikos Ftylitakis
98c2479ca3 fix typo at the configuration parameters of Encoder. Old value: "corretionLevel" -> new value "correctionLevel" 2019-09-29 01:43:03 +03:00
favoritas37
9c361587a4 Updated QZXingImageProvider::requestImage implementation to:
- fix bug when '?' is included without correct definition of options
 - utilize requestedSize for the generated barcode

Updated README.md file to reflect changes.
2018-03-11 19:21:19 +02:00
favoritas37
bec02cb83e Added new implementation of QrCode encoding.
It is backward compatible with the version that was active till now, though, it also enables an advanced operation for configuring options during encoding.
2018-02-11 20:43:48 +02:00
Grecko
11f1269ad6 Declarative encoding API from QML
To display an encoded qrcode from QML, we now can do Image { source:
"image://QZXing/qrcode/<data>" }

This allows different encoded images to be displayed simultaneously

Closes #31
2017-10-14 18:31:54 +02:00
favoritas37
88012f5aa2 Updated BarcodeEncoder project. Previous implementation caused compilation error when compiled with MSVC. Also this implementation is more compact 2017-01-23 19:45:47 +02:00