Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Unable to drag scrollbar in scroll area in Qt 5.6.3 widgets application
Forum Updated to NodeBB v4.3 + New Features

Unable to drag scrollbar in scroll area in Qt 5.6.3 widgets application

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 197 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ramakanth
    wrote on last edited by Ramakanth
    #1

    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 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 drag work or do you see any issue on the above which makes drag the scrollbar doesnot works in Qt 5.6.3?
    Appreciate for the suggestions in this regard.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved