Hi all,

I am curious to know on why in the default viewport creation in
QAbstractScrollAreaPrivate::init, the pan gesture registration (i.e
viewport->grabGesture(Qt::PanGesture) is protected by #ifndef Q_OS_MACOS
but the same is NOT done when a viewport is set through the function
of QAbstractScrollArea::setViewport.

The effect of this is that, when I use any default viewport, I don't see a
pan happening when I press and hold one finger on my trackpad, and then
drag it. However, the same is not true if I have set the overwritten the
viewport using the function.

Thanks in advance.

Regards,
Sivan
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to