![]() |
qt qgraphicsscene and kinetic scrolling
Hello,
I have a problem with QListWidget that I embed in QGraphicsScene. I try: Code:
listWidget = new QListWidget(); -kinetic scrolling doesn't work (using scrollbar neither). Only using keys works. -items are highlighted (and signals emitted) only on double press. Any idea what may be wrong? And how this should be done?[/LIST] |
Re: qt qgraphicsscene and kinetic scrolling
hopbeat
by default most qt widgets have kinetic scrolling enabled by default that includes qlistwidget. this is qt4.6 you wouldnt need to implement an abstractscroller for that purpose. what version do you use ? |
Re: qt qgraphicsscene and kinetic scrolling
@krk969, I have 4.6.2 20100128.
Yes, I know that this scrolling should be enabled by default, but it isn't. Adding scroller doesn't fix this. There is QGraphicsView above this that handles mouse events. Maybe this interferes? |
Re: qt qgraphicsscene and kinetic scrolling
Quote:
if that embedding is interfering, will have to try it out to say anything.:confused: |
Re: qt qgraphicsscene and kinetic scrolling
when will this awesome qt4.6 be integrated into N900? I can't wait to use all apps in Portrait mode with more eye candy UI
|
Re: qt qgraphicsscene and kinetic scrolling
Quote:
but thats how far it will go, they have blocked it for extras-testing as QT4.6 is still under development and so stays in extras-devel. So, if you dont mind that risk , you can still have the fun ;) |
Re: qt qgraphicsscene and kinetic scrolling
Quote:
Quote:
|
Re: qt qgraphicsscene and kinetic scrolling
Setting:
Code:
QGraphicsView::mouseReleaseEvent(event); |
Re: qt qgraphicsscene and kinetic scrolling
Have you tried to add a Dynamic Property called FingerScrollable (bool) to it?
|
All times are GMT. The time now is 11:12. |
vBulletin® Version 3.8.8