Styling a QTableWidget
Unsolved
General and Desktop
-
Hello,
I am trying to adapt QTableWidget to behave in an Excel-like fashion. The data side of it is relatively straightforward but a cosmetics are proving to be quite difficult - in particularly, the borders.
Is it possible to style individually the border between the cells? I can create a QLineEdit widget in every cell and style those but QTableWidget's own grey border line still remains and ruins the illusion.
In an ideal world, it would be great to be able to reference a particular cell and set its stylesheet to "border-right: 1px solid black" or worse case scenario even paint it manually.
Can anyone suggest a solution please? Or is a QTableWidget the wrong thing to use for this altogether?
Thank you!
Adam