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