Pop quiz
Q1. Which class should you use to load a JPEG image from a file and change a few pixels in it?
QImage
QPixmap
QIcon
Q2. Which function can be used to schedule a repaint of the widget?
paintEvent()
update()
show()
Q3. Which function can be used to change the color of the outline drawn by QPainter
?
setColor()
setBrush()
setPen()