Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTreeView override dropIndicator to display over indentation space. QProxyStyle?
Forum Updated to NodeBB v4.3 + New Features

QTreeView override dropIndicator to display over indentation space. QProxyStyle?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt c++qtreeviewqitemdelegateqproxystyle
1 Posts 1 Posters 241 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.
  • S Offline
    S Offline
    StudentScripter
    wrote on last edited by
    #1

    Hello,

    I haven't found some info on how to exactly do that, so may someone of you gurus around here can help me out. :D

    I have a QTreeView and i want the dropIndicator (the black rectangle) to be displayed so that it fills the entire row, even the intendation space.

    Here is a picture of what it looks like currently:
    2cfa457d-71df-4390-b777-b8c3bfcbdbee-image.png

    Also what you will notice: the rectangle is also not closed at the right side due to the overlapping with the scrollbar. Any idea on how to fix this too.

    Best regards and thanks for helping.

    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