diff options
author | Miguel Jacq <mig@mig5.net> | 2020-05-31 20:17:52 +1000 |
---|---|---|
committer | Miguel Jacq <mig@mig5.net> | 2020-05-31 20:17:52 +1000 |
commit | ce0d21bb7a961fa72e0437b1d06740576154989d (patch) | |
tree | 917df0c455b6a231482843252a019f4d20a3e9f1 /onionshare_gui | |
parent | faae3d58d23669b51babee0abe79beb71066f994 (diff) | |
download | onionshare-ce0d21bb7a961fa72e0437b1d06740576154989d.tar.gz onionshare-ce0d21bb7a961fa72e0437b1d06740576154989d.zip |
Add code documentation
Diffstat (limited to 'onionshare_gui')
-rw-r--r-- | onionshare_gui/widgets.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/onionshare_gui/widgets.py b/onionshare_gui/widgets.py index 3b1180b3..58ddd1b5 100644 --- a/onionshare_gui/widgets.py +++ b/onionshare_gui/widgets.py @@ -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 |