QScrollArea widget content promoted to QWidget

Posted by ocell on Stack Overflow See other posts from Stack Overflow or by ocell
Published on 2010-06-05T09:58:23Z Indexed on 2010/06/05 10:02 UTC
Read the original article Hit count: 305

Filed under:
|

Hi folks,

First of all, thanks for you time reading my question.

I created my own Qt Widget (parent of QWidget) and has a QImage "inside" to manipulate images. The problem I have is the following: when I promote the content of a QScrollArea to my widget, the scroll features doesn't works; I haven't any scroll bar or I can't see any result when I use the method 'ensureVisible(..)'.

Please can you tell me if I need to overload or override any method in my own widget.

Regards and thanks in advance, Oscar.

© Stack Overflow or respective owner

Related posts about c++

Related posts about qt