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. how to set stylesheet use QPixmap?

how to set stylesheet use QPixmap?

Scheduled Pinned Locked Moved General and Desktop
stylesheet
1 Posts 1 Posters 837 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.
  • X Offline
    X Offline
    xiaofeng
    wrote on last edited by
    #1

    Hi there,

    I have 2+ icons in just one .bmp file, I can use QPixmap::copy() to split them.
    The problem is, how can I use a sub-pix as a background in stylesheet?
    Can anyone help? Thanks in advance.

    xiaofeng

    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