55 QPainter painter(img);
57 painter.setPen(QColor(200, 0, 0, 200));
58 for(
unsigned int i = 0 ; i < 4 ; i++)
69 int text_size =
name_.size();
71 painter.setPen(QColor(0,0,0,100 * (2)));
79 painter.setPen(QColor(255,255,255,100 * (2)));
86 QBrush(QColor(0,0,0,100 * (2))));
88 painter.setFont(QFont(
"Courier New"));
92 QString(
name_.c_str()));
QPoint position_
< The position of the source in the map
~CGuiThermalSource(void)
Default destructor.
std::string name_
The OGM resolution.
virtual void draw(QImage *img)
Draws the tag in the map.
CGuiThermalSource(QPoint p, std::string name, float resolution)
Default contructor.
float degrees_
< The degrees of the thermal source
The main namespace for STDR GUI.
float getDegrees(void)
Returns the tag message.
Implements the functionalities of a source, to be derived by specific source types.
void setDegrees(float degrees)
Sets the tag message.