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. [Solved] QTreeView child indicator resize
Forum Updated to NodeBB v4.3 + New Features

[Solved] QTreeView child indicator resize

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 998 Views 1 Watching
  • 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.
  • L Offline
    L Offline
    LuGRU
    wrote on last edited by LuGRU
    #1

    Hello,
    I want to achieve simply task, but can't find suitable appraoch.
    Basically what I want to do is to resize child expand indicator in QTreeView. Simply task it seams, I subclassed QStyledItemDelegate and increased font and decoration size but what it only does is to increase item size.

    So my question is how to increase size of expand indicator?

    In red rect returned and available in QStyledItemDelegate subclass.

    example

    As You can see expanding rectangle / fontsize / decoration size don't help.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LuGRU
      wrote on last edited by
      #2

      Eh... RTM... indention.
      Need to stop 16h marathons ...

      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