PDA

View Full Version : QScroller with QTreeView missing doubleClicked() event



atomic
22nd May 2014, 20:44
Hi,
I have problem with qscroller on the qtreeview because when I set scroller like this


QScroller::grabGesture( ui->treeView, QScroller::LeftMouseButtonGesture );


I can't catch doubleClicked() event.


connect( ui->treeView, SIGNAL(doubleClicked(QModelIndex)), this,
SLOT(detectDoubleClicked(QModelIndex)) );


I know that it QScroller stoped this event but i don't know how to fix it,
can you help me? ;)