Results 1 to 3 of 3

Thread: QwtThermo

  1. #1
    Join Date
    Dec 2013
    Location
    Jerada, Morroco
    Posts
    106
    Thanks
    11
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default QwtThermo

    i'm using QwtThermo, can you tell me how i can change color of the pipe, thank you in advance.

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,312
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QwtThermo

    Come on http://qwt.sourceforge.net/class_qwt...o.html#details :

    The fill colors might be calculated from an optional color map If no color map has been assigned QwtThermo uses the following colors/brushes from the widget palette:

    QPalette::Base Background of the pipe
    QPalette::ButtonText Fill brush below the alarm level
    QPalette::Highlight Fill brush for the values above the alarm level
    QPalette::WindowText For the axis of the scale
    QPalette::Text For the labels of the scale

  3. #3
    Join Date
    Dec 2013
    Location
    Jerada, Morroco
    Posts
    106
    Thanks
    11
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QwtThermo

    how i can use QPalette can you give me an example, i can also use setFillBrush any idea?

Similar Threads

  1. QwtThermo: What happened to setRange?
    By jeroenz2 in forum Qwt
    Replies: 1
    Last Post: 13th August 2013, 08:59
  2. QwtThermo scale update
    By pkj in forum Qwt
    Replies: 4
    Last Post: 6th February 2012, 08:12
  3. QLinearGradient and QwtThermo
    By Marco Trapanese in forum Qwt
    Replies: 2
    Last Post: 6th June 2010, 07:33
  4. QwtThermo: origin of the fill
    By Marco Trapanese in forum Qwt
    Replies: 0
    Last Post: 31st May 2010, 14:50
  5. QwtThermo ScalePos
    By jhowland in forum Qwt
    Replies: 1
    Last Post: 30th December 2009, 01:53

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.