I got the follwing Messages: QPainter::begin: Widget painting can only begin as a result of a paintEvent QPainter::save: Painter not active QPainter::restore: Unbalanced save/restore QPainter::end: Painter not active, aborted I can't find the soultion. Please help.