QT: preview improved