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. QToolButton border style?
QtWS25 Last Chance

QToolButton border style?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 1.5k 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.
  • D Offline
    D Offline
    davecotter
    wrote on last edited by
    #1

    how do I make a QToolButton have no border and a transparent background? ie: so only the button picture is drawn, with transparency?

    Mine looks like this:

    0_1567998668650_Screen Shot 2019-09-08 at 8.11.01 PM.png

    and i'd prefer it look like this:

    0_1567998816589_Screen Shot 2019-09-08 at 8.11.01 PM.png

    Any ideas? it should look the same on mac and windows. thanks

    1 Reply Last reply
    0
    • D Offline
      D Offline
      davecotter
      wrote on last edited by
      #3

      stylesheet: "border: none" worked!!

      wow style sheets. wow. just... wow. that is amazing.

      1 Reply Last reply
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi
        You could use a stylesheet with
        border:none
        alt text

        1 Reply Last reply
        3
        • D Offline
          D Offline
          davecotter
          wrote on last edited by
          #3

          stylesheet: "border: none" worked!!

          wow style sheets. wow. just... wow. that is amazing.

          1 Reply Last reply
          1

          • Login

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