Re: [Interest] QGraphicsView and ViewPortMargin question

2016-02-21 Thread Ch'Gans
On 21 February 2016 at 00:39, Ch'Gans wrote: > Hi There, > > I have sub-classed a QGraphicsView to add some custom rulers on the > top and on the left. > For this I've followed the principle used here [1], basically what's > done there is: > - set a QGridLayout to the QGV > - Add an horizontal rul

[Interest] QGraphicsView and ViewPortMargin question

2016-02-20 Thread Ch'Gans
Hi There, I have sub-classed a QGraphicsView to add some custom rulers on the top and on the left. For this I've followed the principle used here [1], basically what's done there is: - set a QGridLayout to the QGV - Add an horizontal ruler at top and left - set QGV's viewPort as the "central widge