diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 94737791f7..49493baf84 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,7 @@ +2005-06-16 Joao Luis Meloni Assirati + + * QMathDialog.C (QMathDialog, insertFont): add boldsymbol font. + 2005-07-04 Jürgen Spitzmüller * QToc.C: consider gui name, not type, when trying to set the diff --git a/src/frontends/qt2/QMathDialog.C b/src/frontends/qt2/QMathDialog.C index a63f63e802..8448de3fa2 100644 --- a/src/frontends/qt2/QMathDialog.C +++ b/src/frontends/qt2/QMathDialog.C @@ -139,13 +139,14 @@ QMathDialog::QMathDialog(QMath * form) m->insertTearOffHandle(); m->insertItem(qt_("Roman \\mathrm"), 1); m->insertItem(qt_("Bold \\mathbf"), 2); - m->insertItem(qt_("Sans serif \\mathsf"), 3); - m->insertItem(qt_("Italic \\mathit"), 4); - m->insertItem(qt_("Typewriter \\mathtt"), 5); - m->insertItem(qt_("Blackboard \\mathbb"), 6); - m->insertItem(qt_("Fraktur \\mathfrak"), 7); - m->insertItem(qt_("Calligraphic \\mathcal"), 8); - m->insertItem(qt_("Normal text mode \\textrm"), 9); + m->insertItem(qt_("Bold symbol \\boldsymbol"), 3); + m->insertItem(qt_("Sans serif \\mathsf"), 4); + m->insertItem(qt_("Italic \\mathit"), 5); + m->insertItem(qt_("Typewriter \\mathtt"), 6); + m->insertItem(qt_("Blackboard \\mathbb"), 7); + m->insertItem(qt_("Fraktur \\mathfrak"), 8); + m->insertItem(qt_("Calligraphic \\mathcal"), 9); + m->insertItem(qt_("Normal text mode \\textrm"), 10); connect(m, SIGNAL(activated(int)), this, SLOT(insertFont(int))); fontPB->setPopup(m); } @@ -297,13 +298,14 @@ void QMathDialog::insertFont(int id) switch (id) { case 1: str = "mathrm"; break; case 2: str = "mathbf"; break; - case 3: str = "mathsf"; break; - case 4: str = "mathit"; break; - case 5: str = "mathtt"; break; - case 6: str = "mathbb"; break; - case 7: str = "mathfrak"; break; - case 8: str = "mathcal"; break; - case 9: str = "textrm"; break; + case 3: str = "boldsymbol"; break; + case 4: str = "mathsf"; break; + case 5: str = "mathit"; break; + case 6: str = "mathtt"; break; + case 7: str = "mathbb"; break; + case 8: str = "mathfrak"; break; + case 9: str = "mathcal"; break; + case 10: str = "textrm"; break; default: return; } form_->controller().dispatchInsert(str);