Results 1 to 2 of 2

Thread: QDial changing bacground color

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2010
    Posts
    46
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QDial changing bacground color

    Hi there,

    I'm trying to change QDial its background color it works for red, blue, green ... but rgb(51,55,51) doesn't any effect even black DOESN'T work. is there any way to change background color ? Thanks ...

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QDial changing bacground color

    You're using stylesheets, right? It seems to work fine for me.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Changing color of only one tab
    By Tiansen in forum Qt Programming
    Replies: 1
    Last Post: 7th January 2011, 04:34
  2. Replies: 1
    Last Post: 22nd February 2010, 09:38
  3. changing color of QTable
    By aj2903 in forum Qt Programming
    Replies: 7
    Last Post: 30th October 2009, 12:52
  4. Qt Opengl, Changing objects color
    By bod in forum Qt Programming
    Replies: 4
    Last Post: 2nd July 2008, 13:13
  5. Setting QGraphicsView bacground/foreground color
    By zolookas in forum Qt Tools
    Replies: 1
    Last Post: 28th June 2008, 16:55

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.