i'm using QwtThermo, can you tell me how i can change color of the pipe, thank you in advance.
i'm using QwtThermo, can you tell me how i can change color of the pipe, thank you in advance.
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
how i can use QPalette can you give me an example, i can also use setFillBrush any idea?
Bookmarks