how to set the stylesheet for a individual cell of QtableWindget
Unsolved
General and Desktop
-
QTableWidget * t = new QTableWidget;
t->setColumnCount(5);
t->setRowCount(3);
QStringList headerLabels;QString col1 = "No of Patterns";
QString col2 = "Set";
QString col3 = "Type";
QString col4 = " Pattern rules : pattern_1 : pattern_2 ";
QString col5 = "Options";
headerLabels << col1 << col2 << col3 << col4 << col5;
t->setHorizontalHeaderLabels(headerLabels);how to set stylesheet for
Row (0,0 ) with back
-
@Qt-Enthusiast
this question has been asked hundreds of times already.
Short answer you can't. There are workarounds though -> see the forum search -
thanks , did not search that