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

2014-03-18 Thread Lubomir I. Ivanov
On 18 March 2014 18:02, Anton Lundin wrote: > On 18 March, 2014 - Lubomir I. Ivanov wrote: > >> On 18 March 2014 17:27, Lubomir I. Ivanov wrote: >> > On 18 March 2014 17:17, Dirk Hohndel wrote: >> >> On Tue, 2014-03-18 at 17:05 +0200, Lubomir I. Ivanov wrote: >> >>> On 18 March 2014 16:40, Lubom

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

2014-03-18 Thread Anton Lundin
On 18 March, 2014 - Lubomir I. Ivanov wrote: > On 18 March 2014 17:27, Lubomir I. Ivanov wrote: > > On 18 March 2014 17:17, 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 wrote: > >>> > On 18 March 2014 16:14,

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

2014-03-18 Thread Lubomir I. Ivanov
On 18 March 2014 17:27, Lubomir I. Ivanov wrote: > On 18 March 2014 17:17, 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 wrote: >>> > On 18 March 2014 16:14, Anton Lundin wrote: >>> >> I just played around with Q

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

2014-03-18 Thread Lubomir I. Ivanov
On 18 March 2014 17:37, Tomaz Canabrava wrote: > > > > On Tue, Mar 18, 2014 at 12:32 PM, Lubomir I. Ivanov > wrote: >> >> On 18 March 2014 17:29, Tomaz Canabrava wrote: >> > People, stawp. :) >> > >> > QPen p; >> > p.setCosmetic( true ); < THIS. it will make the pen not scale on >> > zoom. >

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

2014-03-18 Thread Tomaz Canabrava
On Tue, Mar 18, 2014 at 12:32 PM, Lubomir I. Ivanov wrote: > On 18 March 2014 17:29, Tomaz Canabrava wrote: > > People, stawp. :) > > > > QPen p; > > p.setCosmetic( true ); < THIS. it will make the pen not scale on > zoom. > > > > thanks, good to know. > 0.0 still looks OKish on Qt4, so the l

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

2014-03-18 Thread Lubomir I. Ivanov
On 18 March 2014 17:29, Tomaz Canabrava wrote: > People, stawp. :) > > QPen p; > p.setCosmetic( true ); < THIS. it will make the pen not scale on zoom. > thanks, good to know. 0.0 still looks OKish on Qt4, so the last patch is kinda relevant. lubomir -- __

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

2014-03-18 Thread Tomaz Canabrava
People, stawp. :) QPen p; p.setCosmetic( true ); < THIS. it will make the pen not scale on zoom. On Tue, Mar 18, 2014 at 12:27 PM, Lubomir I. Ivanov wrote: > On 18 March 2014 17:17, Dirk Hohndel wrote: > > On Tue, 2014-03-18 at 17:05 +0200, Lubomir I. Ivanov wrote: > >> On 18 March 2014 16

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

2014-03-18 Thread Lubomir I. Ivanov
On 18 March 2014 17:17, 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 wrote: >> > On 18 March 2014 16:14, Anton Lundin wrote: >> >> I just played around with Qt5 a bit and noticed that the pp-graph lines >> >> are w

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

2014-03-18 Thread Dirk Hohndel
On Tue, 2014-03-18 at 16:23 +0100, Anton Lundin wrote: > > > 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. > >

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

2014-03-18 Thread Anton Lundin
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 wrote: > > > On 18 March 2014 16:14, Anton Lundin wrote: > > >> I just played around with Qt5 a bit and noticed that the pp-graph lines > > >> are w

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

2014-03-18 Thread Dirk Hohndel
On Tue, 2014-03-18 at 17:05 +0200, Lubomir I. Ivanov wrote: > On 18 March 2014 16:40, Lubomir I. Ivanov wrote: > > On 18 March 2014 16:14, Anton Lundin 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. > >> > > > > se

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

2014-03-18 Thread Anton Lundin
On 18 March, 2014 - Lubomir I. Ivanov wrote: > On 18 March 2014 16:40, Lubomir I. Ivanov wrote: > > On 18 March 2014 16:14, Anton Lundin 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 pat

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

2014-03-18 Thread Lubomir I. Ivanov
On 18 March 2014 16:40, Lubomir I. Ivanov wrote: > On 18 March 2014 16:14, Anton Lundin 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

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

2014-03-18 Thread Lubomir I. Ivanov
On 18 March 2014 16:14, Anton Lundin 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? lubomir -- diff --git a/qt-ui/profile/ruleritem.cpp b/qt-ui/profile/ruleritem.c

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

2014-03-18 Thread Anton Lundin
I just played around with Qt5 a bit and noticed that the pp-graph lines are way to thick and the ruler line too. As i really don't understand that qt part, I'm just reporting it. A typical gsoc task for someone wanting to learn Qt to figure out. //Anton -- Anton Lundin+46702-161604 ___