[Qt-interest] QScrollArea::ensureWidgetVisible

Efrain Lopez tecnomaya at cabsagt.com
Sun Jul 4 07:36:41 CEST 2010


Hi,

I have a QScrollArea, with QWidgets in rows, similar to a table.

When user clicks up or down key, I want QScrollArea to show previous/next row. I use eventFilter/

ensureWidgetVisible works fine if I click up/down key "slowly", if click up/down key fast ( double click ), QScrollArea doesn't show the previous/next row.

Any idea how to solve the problem?

Thanks



More information about the Qt-interest-old mailing list