thanks, I just thought there was some way to have it already done in a QScrollArea or reimplementing QAbstractScrollArea but it seems not possible.
Thanks