- // Oblique is not a property supported by QTextCharFormat
- //else if(value == "oblique")
- // format->setStyle(QFont::StyleOblique);
+ else if(value == "oblique")
+ // Oblique is not a property supported by QTextCharFormat
+ format->setFontItalic(true);