Results 1 to 3 of 3

Thread: Styling QScrollBar issue.

  1. #1
    Join Date
    Feb 2016
    Location
    Venice, California
    Posts
    87
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Smile Styling QScrollBar issue.

    Hi,
    I'm studying up on stylesheets and I'm a bit confused on its behavior.
    I attached a small example.

    And here are a couple of questions:

    Where are the arrows?
    when I add a stylesheet to the qscrollbar via code, does it affect all scroll bars in my application?
    Is there a better reference guide than the example one here: http://doc.qt.io/qt-5/stylesheet-exa...ractscrollarea

    how do I know what elements to call when styling? How do I target the element I want to style in a ListWidget? (Scroll bars, cell, window border, minimize,maximize and close, buttons)
    Is there a list of all available elements and options for styling somewhere?

    Thank you very much.
    Attached Images Attached Images

  2. #2

  3. #3
    Join Date
    Oct 2019
    Posts
    7
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Заболевания


Similar Threads

  1. Problem styling QScrollBar::handle
    By kerchen in forum Qt Programming
    Replies: 0
    Last Post: 9th November 2012, 19:06
  2. Styling background of QScrollBar
    By martinn in forum Qt Programming
    Replies: 1
    Last Post: 19th February 2010, 12:06
  3. Problems styling horizontal QScrollbar
    By GuS in forum Qt Programming
    Replies: 0
    Last Post: 10th September 2008, 23:34
  4. qscrollbar styling
    By 20khz in forum Qt Programming
    Replies: 0
    Last Post: 5th May 2008, 15:17
  5. Problems styling QScrollBar / QPushButton
    By December in forum Qt Programming
    Replies: 0
    Last Post: 20th January 2008, 07:53

Tags for this Thread

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.