Fixed sample of drawing with Qt.