jins
2nd December 2010, 18:08
Hi all
I have searched around and cannot find much on how to set the font of a widget. I would like to set the lineedit widget font to something.ttf (truetype font)
Firstly is this possible on Qt symbian devices such as Nokia and secondley how can i achieve this.
Any help would really be appriciated.
So far i have only tried the below code.
ui->lineEdit->setFont("fancy.ttf");
I have searched around and cannot find much on how to set the font of a widget. I would like to set the lineedit widget font to something.ttf (truetype font)
Firstly is this possible on Qt symbian devices such as Nokia and secondley how can i achieve this.
Any help would really be appriciated.
So far i have only tried the below code.
ui->lineEdit->setFont("fancy.ttf");