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. Need help by setting default-system icon to GroupBox
Forum Updated to NodeBB v4.3 + New Features

Need help by setting default-system icon to GroupBox

Scheduled Pinned Locked Moved General and Desktop
qgroupboxstylesheeticons
1 Posts 1 Posters 1.0k 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.
  • V Offline
    V Offline
    vatriani
    wrote on 17 Aug 2015, 10:36 last edited by
    #1

    At first ive try to explain why i need this and what ive expect.
    Ive coded an collapseable QGroupBox, by using the checkable functionality. Its gonna work flawless. Here my code source-code at pastebin.

    My problem is to get actual checkbox image overide by defining new stylesheet. (line 143 & 149) It works for own ressources-files like qt5-ressources.doc.
    But i dont want to ship my own images, Ive want the native images from the os.
    In the idea of qt5-stylesheet.doc So it says using ":/icons/..." will do a fallback to os-icons but i cant access them in these context.

    So how can i change the images for these checkboxes without shipping my own graphics along? Thx for answers ;)

    1 Reply Last reply
    0

    1/1

    17 Aug 2015, 10:36

    • Login

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