56 QPainter painter(img);
58 painter.setPen(QColor(0,200,0,200));
59 for(
unsigned int i = 0 ; i < 4 ; i++)
70 int text_size =
name_.size();
73 painter.setPen(QColor(0,0,0,100 * (2)));
82 painter.setPen(QColor(255,255,255,100 * (2)));
89 QBrush(QColor(0,0,0,100 * (2))));
92 painter.setFont(QFont(
"Courier New"));
96 QString(
name_.c_str()));
QPoint position_
< The position of the source in the map
QString message_
< The message of the rfid tag
std::string name_
The OGM resolution.
QString getMessage(void)
Returns the tag message.
~CGuiRfidTag(void)
Default destructor.
CGuiRfidTag(QPoint p, std::string name, float resolution)
Default contructor.
void setMessage(QString msg)
Sets the tag message.
virtual void draw(QImage *img)
Draws the tag in the map.
The main namespace for STDR GUI.
Implements the functionalities of a source, to be derived by specific source types.