|
|
Thursday 22 December 2005 17:50 Konrad Rosenbaum wrote:
> Hi,
>
> [Qt 4.1.0]
> I frequently replace the widget inside a QScrollArea (with setWidget),
> this works fine if the scroll area is not visible at that time (eg. in a
> tab in the background), but the widget is not shown if the widget is in
> the foreground.
>
> Any Idea what I do wrong?
I think you should enter this in the bugtracker.
I've hit the exact same problem while working on a project for a customer.
After a lot of around, I had to give up on the QScrollArea.
My application had a bunch of buttons that correspond to a widget. When the
user clicks a button, the scrollarea should show the widget. Didn't work :-(
Unfortunately I couldn't send code, because of the license, so I didn't do
anything about it. But with your simple test case, it should be fixable.
Bo.
--
Thorsen Consulting ApS - Qt consulting services
http://www.thorsen-consulting.dk
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|