Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Images for tree branch icons in installer?

Images for tree branch icons in installer?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 1 Posters 146 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
    stvokr
    wrote on last edited by
    #1

    Hi all,

    I wonder if there is a way to change the images of a tree branch for the installer?
    I am using a dark style sheet and the default installer branch icons are black (closed) and blue (opened) on Windows. The black branch can hardly be seen when closed.

    Or is there any way to set the color? I know that the default branch color cannot be changed in a Qt application, but an image can be used instead.
    But for the installer I don't know how to add the images to the installer config.

    Kind regards
    Oliver

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stvokr
      wrote on last edited by stvokr
      #2

      Additional information:

      I also tried using base64 encoded images which css supports but unfortunately not qss.

      QTreeView::branch:has-children:!has-siblings:closed,
      QTreeView::branch:closed:has-children:has-siblings
      {
          image: url(data:image/png;base64,iVBORw0K...);
      }
      
      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