Qt Class to draw panel lamps using QPainter