Reply
Thread Tools
Posts: 2 | Thanked: 0 times | Joined on Dec 2009
#1
Hi, I have a small with QGraphicsView in Qt 4.6 and Maemo5. It seems it has enabled finger (kinetic) scroll by default and whenever I add new item to scene out of bounding box, it enlarges the view area. This isn't what I want. I don't want to have scroll enabled, so I set ScrollBarPolicies to ScrollBarAlwayOff, but it didn't help me and the finger scroll is still enabled.

I can't find how to disable it, so I tried to set size of QGraphicsScene to size of display and this help a half. Now QGraphicsView isn't scrollable however it doesn't accept mouse press events, I have to do double click to emulate it.

Does someone know, how to disable the finger scroll and how to make QGraphicsView accept mousepress events (singleclick) ? Thanks!
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:35.