<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-ui/profile, branch v4.5.6</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.5.6</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.5.6'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2016-03-19T18:35:28Z</updated>
<entry>
<title>Profile widget: Display gradient factors used in plan</title>
<updated>2016-03-19T18:35:28Z</updated>
<author>
<name>Rick Walsh</name>
<email>rickmwalsh@gmail.com</email>
</author>
<published>2016-03-19T02:45:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=550f07da8bc7a54dfc0dae1224bd6b9cdfabd373'/>
<id>urn:sha1:550f07da8bc7a54dfc0dae1224bd6b9cdfabd373</id>
<content type='text'>
Currently, the gradient factors displayed at the top of the profile are the
gradient factors set in preferences.  This is correct for saved dives, but
when planning dives, the gradient factors displayed at the top of the profile
should be the gradient factors used in the plan.

Signed-off-by: Rick Walsh &lt;rickmwalsh@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Profile: Display VPM-B rather than GF when in VPM-B mode</title>
<updated>2016-03-18T16:54:30Z</updated>
<author>
<name>Rick Walsh</name>
<email>rickmwalsh@gmail.com</email>
</author>
<published>2015-10-24T09:03:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e15f13d861588e6fa2f3d804f2b050e1a86ce832'/>
<id>urn:sha1:e15f13d861588e6fa2f3d804f2b050e1a86ce832</id>
<content type='text'>
If we are planning a dive using VPM-B with +x conservatism, we want to
print "VPM-B +x" at the top of the profile, instead of "GF xx/yy".

Accordingly, the variable gradientFactor in profilewidget2.cpp is renamed
decoModelParameters to reflect what it represents.

Signed-off-by: Rick Walsh &lt;rickmwalsh@gmail.com&gt;
Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>profilewidget2.cpp: hide the heartbeat graph on an empty state</title>
<updated>2015-12-06T20:19:26Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2015-12-06T19:36:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=76c97f2e5783c82f24cbf03c7279a67f133435dc'/>
<id>urn:sha1:76c97f2e5783c82f24cbf03c7279a67f133435dc</id>
<content type='text'>
Opening Subsurface for the first time with heartbeat graph visible
and then immediately doing File-&gt;New shows the logo/background in the
profile space while hiding everything except the heartbeat graph.

This patch makes sure that the graph is hidden with everything
else on an empty profile state.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Prevent gaschange tank icons from using garbage coords.</title>
<updated>2015-12-06T17:37:07Z</updated>
<author>
<name>K. \"pestophagous\" Heller</name>
<email>pestophagous@gmail.com</email>
</author>
<published>2015-12-04T05:42:23Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e4c7c6e8eb302cc21c1f643b397ae03c82b03f4b'/>
<id>urn:sha1:e4c7c6e8eb302cc21c1f643b397ae03c82b03f4b</id>
<content type='text'>
Tank icons were shown at incorrect spots on the profile
when the DiveEventItem object held a pointer to a struct
event even after the struct event at that address had
been freed.  When internalEvent is a pointer to freed
memory, internalEvent-&gt;time.seconds could have all kinds
of crazy values, which get used in member function
DiveEventItem::recalculatePos to place the tank at bad
x coordinates.

The DiveEventItem(s) no longer store a pointer to memory
that they do not own.  This way, no matter how the path of
execution arrives into slot recalculatePos, we never need
fear that the DiveEventItem will dereference a garbage
pointer to a struct event.

Fixes #968

Signed-off-by: K. Heller &lt;pestophagous@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Remove unnecessary Q_INTERFACES declaration</title>
<updated>2015-10-26T21:15:14Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-26T21:15:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=755ecf607a546cbaa24d80e0e990a460ef483052'/>
<id>urn:sha1:755ecf607a546cbaa24d80e0e990a460ef483052</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Use neutral color for "no SAC information"</title>
<updated>2015-10-25T04:00:58Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-25T04:00:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cd1884b29cff57b225e1ab58d0b1dcad25669034'/>
<id>urn:sha1:cd1884b29cff57b225e1ab58d0b1dcad25669034</id>
<content type='text'>
In commit 31d1d1f4217c ("Don't change pen color when for zero SAC") Robert
continues to use the last SAC color (which certainly was better than
switching to dark green for "extremely low SAC rate"). But I think it
makes even more sense to mark it as neutral - so I picked a gray.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Don't change pen color when for zero SAC</title>
<updated>2015-10-23T21:50:21Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2015-10-23T20:11:00Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=31d1d1f4217cab43c1fa6ca5612c2cc3ccc656eb'/>
<id>urn:sha1:31d1d1f4217cab43c1fa6ca5612c2cc3ccc656eb</id>
<content type='text'>
When for individual plot entries the SAC is zero this comes
from gas changes and the SAC calculation needing a bit more
pressure data and not from the diver switching to freediving
mode. So we shold not change the pen color on the pressure
line for that but pretend we are still breathing at the
previous SAC.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>profilewidget2: fix line width when printing on OSX and Linux</title>
<updated>2015-10-11T17:32:11Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2015-10-11T11:21:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d0d83d5d7d2d148dfd572c4e5b325f04d93c6b69'/>
<id>urn:sha1:d0d83d5d7d2d148dfd572c4e5b325f04d93c6b69</id>
<content type='text'>
On OSX and Linux only, the cosmetic width of the QPen
on profile axes does not work and is weirdly dependent on the
fact if a printer is installed or not. Possible Qt bugs at hand.

The same is not present on Win32.

To solve the issues we add setPrintMode() in DiveCartesianAxis
and call it for all instances of the class in ProfileWidget2.

This patch also moves gridPen() as a private member function
of PartialGasPressureAxis as it now needs to access member
variables.

Fixes #943

Reported-by: Willem Ferguson &lt;willemferguson@zoology.up.ac.za&gt;
Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>profilewidget2: add resetZoom()</title>
<updated>2015-10-11T17:31:25Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2015-10-11T11:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=11e38710e480fc735607dd1ae218a1c9dbc4135f'/>
<id>urn:sha1:11e38710e480fc735607dd1ae218a1c9dbc4135f</id>
<content type='text'>
resetZoom() is now a new method that is called both
when 'printMode' is updated or when the dive is re-plotted.

Fixes a bug where zooming in on the profile and then
printing the dive has the profile at the wrong zoom level (makes
the profile look smaller).

Reported-by: Willem Ferguson &lt;willemferguson@zoology.up.ac.za&gt;
Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Preserve profile toggle-button state zoomed_plot across sessions.</title>
<updated>2015-10-07T07:34:47Z</updated>
<author>
<name>pestophagous</name>
<email>pestophagous@users.noreply.github.com</email>
</author>
<published>2015-10-06T05:21:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e522dd1a68d559f43a337e862f9f0a4d233d9272'/>
<id>urn:sha1:e522dd1a68d559f43a337e862f9f0a4d233d9272</id>
<content type='text'>
Fixes #912

Signed-off-by: K. Heller &lt;pestophagous@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
