Results 1 to 2 of 2

Thread: Styling SeekSlider

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Location
    Valladolid, Spain
    Posts
    125
    Thanks
    16
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Styling SeekSlider

    Where can I find documentation/reference about styling a seekslider (phonon) with qss?

  2. #2
    Join Date
    Jul 2009
    Location
    Valladolid, Spain
    Posts
    125
    Thanks
    16
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Styling SeekSlider

    Found it myself:

    Qt Code:
    1. QSlider::handle:horizontal {
    2. background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
    3. border: 1px solid #5c5c5c;
    4. width: 18px;
    5. margin: -2px 0;
    6. border-radius: 3px;
    7. }
    8.  
    9. QSlider::groove:horizontal {
    10. border: 1px solid #999999;
    11. height: 8px;
    12. background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #c4c4c4);
    13. margin: 2px 0;
    14. }
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. seekslider with streming flv video
    By Alnitak in forum Qt Programming
    Replies: 1
    Last Post: 19th September 2010, 17:33
  2. QDockWidget styling
    By tipote in forum Qt Programming
    Replies: 2
    Last Post: 28th May 2010, 22:13
  3. Styling QComboBox
    By martinn in forum Qt Programming
    Replies: 1
    Last Post: 2nd March 2010, 20:55
  4. Phonon seekslider
    By yogourta in forum Installation and Deployment
    Replies: 0
    Last Post: 17th December 2009, 03:33
  5. QStyle not styling
    By irudkin in forum Qt Programming
    Replies: 0
    Last Post: 25th April 2006, 10:52

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
  •  
Qt is a trademark of The Qt Company.