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: hide box in the corner
QtWS25 Last Chance

QTreeView: hide box in the corner

Scheduled Pinned Locked Moved Solved General and Desktop
qtreeviewqtdesigner
5 Posts 2 Posters 488 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.
  • Fire CubeF Offline
    Fire CubeF Offline
    Fire Cube
    wrote on last edited by
    #1

    Hello Guys
    I'm trying to round off a QTreeView. Unfortunately it has an ugly box on the right in the corner. I would like to remove that. With this StyleSheet I round off the rest.

    QTreeView {
    	background-color: white;
    	border-width: 0px;
    	border-radius: 7px;
    }
    

    A photo so you know what I mean
    c85d5e99-fc49-4016-9896-aa2ff067d65f-image.png

    1 Reply Last reply
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      the box is for scrollers since you have two. If it is removed, they will overlap.

      Fire CubeF 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        the box is for scrollers since you have two. If it is removed, they will overlap.

        Fire CubeF Offline
        Fire CubeF Offline
        Fire Cube
        wrote on last edited by
        #3

        @JoeCFD is it possible to round up this and change the color?

        1 Reply Last reply
        0
        • JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by
          #4

          https://stackoverflow.com/questions/5663837/customize-qscrollbar-intersection-using-stylesheet-qt/8226736

          1 Reply Last reply
          0
          • Fire CubeF Offline
            Fire CubeF Offline
            Fire Cube
            wrote on last edited by
            #5

            Many Thanks
            That worked great.

            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