<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-ui/profile, branch v4.5.4</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.5.4</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.5.4'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2015-12-06T20:19:26Z</updated>
<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>
<entry>
<title>Add refreshProfile member function to MainWindow class</title>
<updated>2015-09-23T02:58:14Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-09-23T02:55:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=aeac5fcb6d3134e644f78c3390ca6253da86031e'/>
<id>urn:sha1:aeac5fcb6d3134e644f78c3390ca6253da86031e</id>
<content type='text'>
While the whole idea of calling these functions through the MainWindow
instance is atrocious, until we change the architecture of all this
refreshProfile() is a useful function to have.

In order to make this cleaner to implement I allowed an argument to
ProfileWidget's replot() which allows picking a specific dive. By
defaulting this to 0 we get the previous behavior when calling replot()
without an argument.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Display error messages in planner</title>
<updated>2015-08-21T17:16:06Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2015-08-21T15:53:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3437666010c3c9c725644e5d789cbb0faa3794c2'/>
<id>urn:sha1:3437666010c3c9c725644e5d789cbb0faa3794c2</id>
<content type='text'>
After a replot, check if there is an error message to display.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
