QTableWidget: I need to know the text color on cell
Solved
General and Desktop
-
Hi,
I've created a table with QTableWidget and the text in the cells can have a different color about text of another cell.
Now, I must to read the content of this table and I need to have too the color of text.
Is possible?Thanks.
Stefano
-
@Stefanoxjx said in QTableWidget: I need to know the text color on cell:
Is possible?
Yes, see https://doc.qt.io/qt-5/qtablewidgetitem.html on what attributes you can set/get from an item
-
Hi Christian,
I already have seen documentation, but I found only "set" method but not "get".
Probably exists another method, but I haven't found it. -
-
Oh yes!
I've found 😊Many thanks.