I am designing a notepad application and I want to change the case of the text in QTextEdit to uppercase.
I tried
Qt Code:
  1. if (name == "Uppercase") {
  2. textEdit->setFont(Qt::Alluppercase);
  3. }
To copy to clipboard, switch view to plain text mode 

but it doesn't work. Which property can I use?