Hi
how to display temprature in application , i have an gui application now i have to show temprature in this gui app. I do not find any class/api regarding this.
Please help me.
Thanks.
Printable View
Hi
how to display temprature in application , i have an gui application now i have to show temprature in this gui app. I do not find any class/api regarding this.
Please help me.
Thanks.
Three options off the top of my head (this is for graphical/visualization, not QLabel->setText(), approach):
1. Use any lightweight GUI element like line, widget maybe and use QStyleSheet to customize view of that element to Your needs (i.e. if You have some graphics put them in there)
2. QLabel and place image corresponding to the current temperature value that
3. Use QWidget and paint it Yourself in paint() event
to simply display in GUI use i.e.
i have to fetch temprature, how it can do.
Temperature of what and from where?
If your device has a camera or a web cam, you could use openCV and then the algorithm described here : Wheather rock