Unsolved QGridLayout border
-
anyway to draw vertical or horizontal border line in QGridLayout, kind like excel with border line in each cell
-
Hi
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
http://doc.qt.io/qt-5/qgridlayout.html#cellRect
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 ?