I want to write a single, bold red line in my application using Qt.
As far as I understand, I would create a QLabel, set its textFormat to rich text and give it a ri
You can also do it programmatically using the settext function. Something like this:
settext
QString labelText = ""; labelText .append("Text what u want to display"); labelText .append(""); QLabel label->setText(labelText);
"; labelText .append("Text what u want to display"); labelText .append("
You can do it in a single line as well.