Add code documentation

This commit is contained in:
Miguel Jacq 2020-05-31 20:17:52 +10:00
parent 0b9ea2c1dd
commit 6b3507e495

View File

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