Thank you. Qt solutions provide exactly the class that I needed. BTW I tried to get it from the Designer source, it is not that easy.