FEM: improve Abaqus syntax highlighter

This commit is contained in:
wmayer
2015-03-30 15:28:08 +02:00
parent ff774748cd
commit 30098b62e3
3 changed files with 123 additions and 7 deletions

View File

@@ -106,6 +106,10 @@ static PyObject * openEditor(PyObject *self, PyObject *args)
edit->open(fileName);
edit->resize(400, 300);
Gui::getMainWindow()->addWindow(edit);
QFont font = editor->font();
font.setFamily(QString::fromLatin1("Arial"));
editor->setFont(font);
}
} PY_CATCH;