Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED]QString passed to QStandardItemModel then to QTableView doesn't retain html formatting. Solutions?
ogrishmania last edited by
So I have strings which hold data from a database. I need to compare them and html format them. I bold-ed one of them and put him on a message box, it retains the bold format but when I put him in the table it shows all of it (<b>stringblabla</b>).
What must I do in order for the string to retain the format?
EDIT: Found the solution myself. I must create a delegate and do there what I want, even show pictures but I found a much simpler solution: I only have about 10 strings so I'll use labels, much simpler.