Are you talking about the grid lines in the table? Look at QTableView::gridStyle() and QTableView::showGrid(). If you want to draw specific cells in your table with an outline around the text (to highlight them or give special emphasis), you will probably have to create a custom QAbstractItemDelegate to draw the text they way you want. I am not sure you can do that easily with a QTableWidget, but you can with a QTableView and QAbstractTableModel.The text os white. But i want a text with a black outline.
Bookmarks