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. QPushButton - stylesheet and arrow
Forum Updated to NodeBB v4.3 + New Features

QPushButton - stylesheet and arrow

Scheduled Pinned Locked Moved General and Desktop
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.
  • N Offline
    N Offline
    never_ever
    wrote on last edited by
    #1

    Hi,
    I try to create custom menu from QPushbutton. Is there any way to set common arrow on the corner (or right side) of button as it would be menu (i don't want to setMenu() because I don't want that menu)? Setting icon doesn't look good for me, because it is place to close to the button text (this icon should be as near border as it is possible).
    I tried to do this by setting image using stylesheet, but it is not satisfying me, because colors of button should be the same as default colors of QPushbutton buttons, and when I set my image, it is not very pretty.

    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