Hi,

How can I make the font style bold in the QString? I have written the following lines:
Qt Code:
  1. QString color;
  2. QString text;
  3. QString fonttemplate0 = QString(tr("<font color='yellow'>Magnitude: %1").arg(0));
  4. d_mrk->setLabel(fonttemplate0.arg(color, text) );//d_mrk is a plot marker
To copy to clipboard, switch view to plain text mode 

What line should be added in tr() so as to make the font style bold and also set the font size to 10pt?