Add code documentation

This commit is contained in:
Miguel Jacq 2020-05-31 20:17:52 +10:00
parent faae3d58d2
commit ce0d21bb7a
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -93,6 +93,10 @@ class MinimumWidthWidget(QtWidgets.QWidget):
class Image(qrcode.image.base.BaseImage):
"""
A custom Image class, for use with the QR Code pixmap.
"""
def __init__(self, border, width, box_size):
self.border = border
self.width = width