Hi,
I have problem with qscroller on the qtreeview because when I set scroller like this
QScroller::grabGesture( ui->treeView, QScroller::LeftMouseButtonGesture );
QScroller::grabGesture( ui->treeView, QScroller::LeftMouseButtonGesture );
To copy to clipboard, switch view to plain text mode
I can't catch doubleClicked() event.
connect( ui
->treeView,
SIGNAL(doubleClicked
(QModelIndex)),
this,
connect( ui->treeView, SIGNAL(doubleClicked(QModelIndex)), this,
SLOT(detectDoubleClicked(QModelIndex)) );
To copy to clipboard, switch view to plain text mode
I know that it QScroller stoped this event but i don't know how to fix it,
can you help me?
Bookmarks