|
@ -153,7 +153,7 @@ class QRCodeWidget(QWidget): |
|
|
def paintEvent(self, e): |
|
|
def paintEvent(self, e): |
|
|
qp = QtGui.QPainter() |
|
|
qp = QtGui.QPainter() |
|
|
qp.begin(self) |
|
|
qp.begin(self) |
|
|
boxsize = 7 |
|
|
boxsize = 6 |
|
|
size = self.qr.getModuleCount()*boxsize |
|
|
size = self.qr.getModuleCount()*boxsize |
|
|
k = self.qr.getModuleCount() |
|
|
k = self.qr.getModuleCount() |
|
|
black = QColor(0, 0, 0, 255) |
|
|
black = QColor(0, 0, 0, 255) |
|
|