implementing setFont(QString)