Solved Draw separator between overlapping QTableviews
-
@JoeCFD I tried already your second suggestion.
My problem, was that I am not able to paint on the middle of the grid, because the frozen view lays on top of the "normal" view and if I repaint the normal view border, one half of the border is hidden by the frozen view. and if i try that with the frozen view I can only paint one half of the Line because i cant paint over the borders of the Widget.
-
@firen can you paint both of them at the same time?
-
@JoeCFD I like the idea with the QFrame but I am not realy sure how to do that..
https://doc.qt.io/qt-5/qframe.html I guess I would need the VLine version right? because I only need the separator on one side. But how would I determine which side?
-
@firen it will be on the top of qtreeview and is in the middle. Google about how to make an overlay widget.
-
Hi,
Just a wild guess but what about keeping the border in the stylesheet but fix them all to 0 except the one you want with 5px ?
-
This post is deleted! -
What result did you get from my suggestion ?
-
Once again rescued by @SGaist :-)
-
The documentation about stylesheets is for me not the best one from qt .. nevermind
-
This post is deleted!