Hi all!
How can I change the text at the top of a treewidget? At the moment I have 1 2 3 4 5 but I want words!
thanks
Printable View
Hi all!
How can I change the text at the top of a treewidget? At the moment I have 1 2 3 4 5 but I want words!
thanks
Hi, see
and the documentation is your friend!
Thank you!
Just for the record
Code:
QStringList HeaderLabels; HeaderLabels << "Message Text" << "Message ID" << "Message Type" << "Task" << "Task ID"; ui.treeWidget->setHeaderLabels(HeaderLabels);