Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
s002wjh last edited by
anyway to draw vertical or horizontal border line in QGridLayout, kind like excel with border line in each cell
No as far as as i have seen.
But you could make a custom widget that inspect its layout and draw the lines on its surface.
Since layout is non visual, that will show trough.
You should be able to get info via
You must also hook up to signal from layout ( if any ) to let widget know if layout changes.
But you need cells , why didn't you use QTableWidget/view ?