fix misspelling
This commit is contained in:
@@ -20,7 +20,7 @@ class MyWidget1(MyWidget):
|
||||
super().__init__(":/assets/triangles.png", ":/assets/KDAB_bubble_white.png", parent)
|
||||
|
||||
def paintEvent(self, event):
|
||||
del event # unsed at this time
|
||||
del event # unused at this time
|
||||
p = QtGui.QPainter(self)
|
||||
p.fillRect(self.rect(), QtGui.QColor(0xCC, 0xCC, 0xCC))
|
||||
p.drawImage(self.background.rect(),
|
||||
|
||||
@@ -21,7 +21,7 @@ class MyWidget2(MyWidget):
|
||||
super().__init__("", ":/assets/KDAB_bubble_blue.png", parent)
|
||||
|
||||
def paintEvent(self, event):
|
||||
del event # unsed at this time
|
||||
del event # unused at this time
|
||||
p = QtGui.QPainter(self)
|
||||
p.fillRect(self.rect(), QtCore.Qt.white)
|
||||
self.drawLogo(p)
|
||||
|
||||
@@ -22,7 +22,7 @@ class MyWidget3(MyWidget):
|
||||
self.triangle = QtGui.QImage(":/assets/tri.png")
|
||||
|
||||
def paintEvent(self, event):
|
||||
del event # unsed at this time
|
||||
del event # unused at this time
|
||||
p = QtGui.QPainter(self)
|
||||
p.fillRect(self.rect(), QtGui.QColor(0xD5, 0xD5, 0xD5))
|
||||
p.drawImage(self.background.rect(),
|
||||
|
||||
Reference in New Issue
Block a user