New profile, line thickness of pp-graphs and ruler in Qt5

Anton Lundin glance at acc.umu.se
Tue Mar 18 08:23:38 PDT 2014


On 18 March, 2014 - Dirk Hohndel wrote:

> On Tue, 2014-03-18 at 17:05 +0200, Lubomir I. Ivanov wrote:
> > On 18 March 2014 16:40, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> > > On 18 March 2014 16:14, Anton Lundin <glance at acc.umu.se> wrote:
> > >> I just played around with Qt5 a bit and noticed that the pp-graph lines
> > >> are way to thick and the ruler line too.
> > >>
> > >
> > > see attached patch. is that a fix for the ruler line?
> > >
> > 
> > updated with the pp-graph lines.
> > (had to figure out what the heck is 'pp' in the first place...)
> > 
> > my rough guess is that the base classes for all those lines (polygons)
> > in Qt5 uses different default QPen width values or there is some sort
> > of scaling (which is worse).
> > if this patch doesn't solve it, i have no idea; all looks good on Qt4.
> 
> So does this change the visual result on Qt4? I.e., does this need to be
> conditional to running Qt5, or is this something we want unconditional
> as provided?

I see no problem when building a Qt4 version with that patch.

A simple comparison of the whole ui on Qt5 vs. Qt4 is that some widgets
are a couple of pixels smaller in Qt5 but its really close.

//Anton

-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list