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. QDockWidget titlebar stylings
Qt 6.11 is out! See what's new in the release blog

QDockWidget titlebar stylings

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 182 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.
  • E Offline
    E Offline
    Eruption
    wrote on last edited by Eruption
    #1

    Hi,
    I'm trying to decorate the title bar of a QDockWidget to be bit more interesting. I can replace the Close and Undock icons, which are only 9x9 pixels in size, but how do I get a frame around each button? (or make the icon size bigger?)

    Also, how can I get a pattern on the bar itself?

    Here is a pic of what I'm going towards (zoomed in, for clarity):

    title.jpg

    The 9x9 icon I have now is more like:

    x1.jpg

    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