17 Commits

Author SHA1 Message Date
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
Alexander Stillich
3f3a89b2ba Introduced ZXING_NULLPTR and ZXING_NOEXCEPT to abstract differences between C+11 and non-C++11 compilers
Fixed warnings in QZXingFilter.cpp
Removed C++11 requirement from all .pro files
Set compiler warning flags via CONFIG += warn_on instead of using GCC specific switches
2018-11-16 13:05:58 +01:00
Alexander Stillich
d2242ac24a Fixed XXX has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit in Exception and derived classes
Enabled -Wall and -Wextra
2018-11-05 14:50:45 +01: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
30dcf6acfc Fixed compilation of BarcodeEncoder example. Make use of qzxing_qml CONFIG tag. 2017-04-07 17:16:15 +03: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
favoritas37
f8e1574b6c fixed the refresh of the generated image from Encode procedure (disabled image caching) 2016-07-02 01:06:55 +03:00
favoritas37
cc0cd49996 minor optimization in the BarcodeEncoder view. 2016-06-16 01:20:15 +03:00
favoritas37
916903ed83 Update BarcodeEncoder to make use of Image Provider in order to display the image of the generated barcode to the QML viewe. 2016-06-16 01:16:35 +03:00
favoritas37
b0e3661c44 minor enhancement to the BarcodeEncoder UI. 2016-06-14 02:41:37 +03:00
favoritas37
22e969b5c2 added c++11 config in BarcodeEncoder project 2016-02-20 15:19:23 +02:00
favoritas37
3d28afb79d updated example projects to the new file structure of the repository (renaming of the source folder) 2016-01-08 22:31:48 +02:00
favoritas37
630f560e89 bug fixing at qr code encoding. this tests fail 2015-10-31 19:14:59 +02:00
favoritas37
48d546aaea Added the example project BarcodeEncoder which will be used as the base for the barcode encoding functions (and testing) 2015-07-16 21:09:44 +03:00