<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-ui, branch v4.0.98</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.0.98</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.0.98'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2014-05-02T04:26:18Z</updated>
<entry>
<title>Re-center on current dive if dive edit is canceled</title>
<updated>2014-05-02T04:26:18Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-02T04:26:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3364e5b49078e406c74375e16806db35c579ba3b'/>
<id>urn:sha1:3364e5b49078e406c74375e16806db35c579ba3b</id>
<content type='text'>
If the user changes the coordinates for a dive but then cancels the dive
edit, the globe would stay at the location that was temporarily set and
not rotate back to the still active coordinates.

This fixes it.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Only change dive coordinates on double click</title>
<updated>2014-05-02T04:25:20Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-02T04:21:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7a85b9fb27f96c55e11e904fe3a68eba4ca79eba'/>
<id>urn:sha1:7a85b9fb27f96c55e11e904fe3a68eba4ca79eba</id>
<content type='text'>
Apparently this only happens on Windows, but there we would change the
dive coordinates on a SINGLE click when editing a dive. With this change
we simply bail if the event isn't a double click.

Fixes #505

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Dont set coordinates when two or more dives are selected</title>
<updated>2014-05-01T22:23:33Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tcanabrava@kde.org</email>
</author>
<published>2014-05-01T17:47:52Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=4243fcb9156218f54b3103ce7c8de6ea222f3cfb'/>
<id>urn:sha1:4243fcb9156218f54b3103ce7c8de6ea222f3cfb</id>
<content type='text'>
If a trip is selected (or for other reasons more than one dive), this
would change the GPS coordinates of the whole selection which almost
certainly isn't what the user wanted.
Instead, only allow changes of the coordinates on the globe if exactly one
dive is selected.

[Dirk Hohndel: massively rewritten and extended - but I didn't want to
               simply "steal" the commit from Tomaz...
	       This now maintains the "zoom out mode" for dives without
	       GPS coordinates and deals with edits of multiple dives that
	       are initiated the "normal way" by starting to edit other
	       data as well.]

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Restore the previous globe zoom level after showing dive without GPS</title>
<updated>2014-05-01T21:48:14Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-01T21:48:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7f3b487c77c71cc7e3f62bfd2ebde4559a0a6e56'/>
<id>urn:sha1:7f3b487c77c71cc7e3f62bfd2ebde4559a0a6e56</id>
<content type='text'>
Thanks to commit 83c5ab58718e ("Zoom out when dive has no coords.") we
show more of the globe when displaying dives without GPS data - but that
caused us to forget the zoom level we used before and so the experience
when switching back to a dive with GPS data was disappointing.

This makes sure we track the last valid zoom level and restore it when
needed.

I also replaced the deprecated zoomView() calls with setZoom() calls.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>A better guard for 'dive being editted'</title>
<updated>2014-05-01T17:12:16Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2014-05-01T16:45:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9fcd6b2658b1ea43ee2670b1f915b2b548caa153'/>
<id>urn:sha1:9fcd6b2658b1ea43ee2670b1f915b2b548caa153</id>
<content type='text'>
Mouse activity on the globe should not select dives when one or more dives
are being edited. This improves the detection of that state.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Zoom out when dive has no coords.</title>
<updated>2014-05-01T16:59:07Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2014-05-01T16:42:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=83c5ab58718e057472b63b97c94d52d3b1b9e83e'/>
<id>urn:sha1:83c5ab58718e057472b63b97c94d52d3b1b9e83e</id>
<content type='text'>
This patch makes the globe zoom out to show it complete when
the dive has no coordinates.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Fix test for "air" in tooltip display of gaschange</title>
<updated>2014-04-30T05:39:33Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-04-30T05:39:33Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0e49e61ddc3cf181e318e923403f0927f884c9e1'/>
<id>urn:sha1:0e49e61ddc3cf181e318e923403f0927f884c9e1</id>
<content type='text'>
The "is_air()" test works when we have the gases in permille, but not in
percent. In that case we can just check for He == 0 and O2 == 21.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Show translated event names in tooltip</title>
<updated>2014-04-30T05:38:55Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-04-30T05:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bcdd6192fe457c878128f07125b32144a3ebe6bd'/>
<id>urn:sha1:bcdd6192fe457c878128f07125b32144a3ebe6bd</id>
<content type='text'>
In order for this to work we need to compare against the event type
instead of the event name - which makes much more sense to do, anyway.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>When scrolling to dive, scroll to trip first</title>
<updated>2014-04-28T19:47:15Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2014-04-28T17:39:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=4f20bb9fb2731fdfd9faab3b109a0cbce8c89298'/>
<id>urn:sha1:4f20bb9fb2731fdfd9faab3b109a0cbce8c89298</id>
<content type='text'>
The behavior at startup is actually very annoying: we select the latest
dive, and expand the trip it is in, but since we use "scrollTo()" on
just the dive, and it's not initially visible, the startup will make the
first dive be at the top of the list view.

Which means that the actual _trip_ detail is not visible at all, since
it will have been scrolled off the list view entirely.

Fix this by first scrolling to the trip, and only then scrolling to the
actual dive (using the default "EnsureVisible" policy).  Obviously, if
it's a trip with lots of dives, scrolling to the dive may end up
scrolling away from the trip header again, but at least that never
happens at startup, and at that point you have to scroll away from the
trip just to show the dive.

Do this same dance when changing the dive selection (mainly noticeable
when picking dives on the globe view).

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Make heartrate grid less confusing</title>
<updated>2014-04-28T19:45:42Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-04-28T19:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2d24779b6226f6f9757abe565307d2956b375c0d'/>
<id>urn:sha1:2d24779b6226f6f9757abe565307d2956b375c0d</id>
<content type='text'>
Having all the grid lines in the same color made things visually
confusing. To clean this up a little make the heartrate lines a light gray
color.

Fixes #484

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