annitaz
5th July 2013, 16:32
I am designing a notepad application and I want to change the case of the text in QTextEdit to uppercase.
I tried
if (name == "Uppercase") {
textEdit->setFont(Qt::Alluppercase);
}
but it doesn't work. Which property can I use?
I tried
if (name == "Uppercase") {
textEdit->setFont(Qt::Alluppercase);
}
but it doesn't work. Which property can I use?