Results 1 to 2 of 2

Thread: QScrollBar up/down, left/right arrow customization

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2017
    Posts
    5
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default QScrollBar up/down, left/right arrow customization

    Hi all.

    I'm attempting to customize scrollbars using stylesheets, following the stylesheet example in Qt's docs.

    My scrollbar changes work fine but I end up getting dots instead of arrows for the add-line and sub-line controls,
    as shown in the Qt docs examples. The examples don't talk about how to get the arrows back.

    Any ideas what I need to do to get the arrows back?
    I would like to get arrows that are not filled in.
    I've attached a screenshot of what I want the arrows to look like.

    Thank you for any help.

    UI Developer
    Attached Images Attached Images

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QScrollBar up/down, left/right arrow customization

    Quote Originally Posted by GUIDeveloper View Post
    Any ideas what I need to do to get the arrows back?
    Call setStyleSheet() with an empty string perhaps?

Similar Threads

  1. QScrollBar arrow keys
    By jstarr in forum Qt Programming
    Replies: 7
    Last Post: 5th October 2018, 18:22
  2. Replies: 0
    Last Post: 17th December 2010, 18:08
  3. QScrollBar up-down arrow icon
    By zgulser in forum Qt Programming
    Replies: 5
    Last Post: 1st April 2010, 13:13
  4. QScrollBar arrow display
    By sgg245 in forum Qt Programming
    Replies: 2
    Last Post: 16th February 2009, 07:57
  5. QScrollBar arrow display
    By sgg245 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 16th February 2009, 07:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.