qt: preview kind of implemented