[Interest] Unable to drag scrollbar in scroll area in Qt 5.6.3 widgets application

Ramakanth Kesireddy rama.kesi at gmail.com
Tue Nov 24 06:32:10 CET 2020


Hi,

UI Application is Qt 5.6.3 widgets based on 4.14 linux kernel built with
yocto meta-qt5 recipes.

For all different views like QTableView,QTreeView, am using the inbuilt
QScrollBar.

The mouse wheel works, the up and down arrows on the scroll bar work, but
unable to drag the scroll bar using the mouse.

For example, below are set for custom QTableView:
setVerticalScrollBarPolicy( Qt::ScrollBarAlwaysOn );
setVerticalScrollMode( ScrollPerItem );
setAcceptDrops(false);
setDragEnabled(false);
setAutoScroll(false);

Do we need to enable any macro to make scrollbar drag work or do you see
any issue on the above which makes the scrollbar drag doesnot works in Qt
5.6.3 or any known issues in Qt 5.6.3?

Appreciate for the feedback in this regard.

Thanks and Regards,
Ramakanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201124/c8b64d42/attachment.html>


More information about the Interest mailing list