<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 17, 2017, at 3:57 AM, Stefan Fuchs <<a href="mailto:sfuchs@gmx.de" class="">sfuchs@gmx.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">Hi All,<br class=""></p><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><div class="moz-cite-prefix" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Am 15.02.2017 um 21:27 schrieb Stefan Fuchs:<br class=""></div><blockquote cite="mid:5f4d55cb-dc1b-0355-f7a9-158cbe4aa2eb@gmx.de" type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><blockquote cite="mid:CAF+v9JuVuHmrGMaSnQGPfxMx9NpkX6pou2i3HYNdb2b15o+EhA@mail.gmail.com" type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div bgcolor="#FFFFFF" class=""><br class=""><p style="" class="">Joachim (R.) and I finished our first basic version of the minimum gas calculation for the planner.<br class="">We are now looking for testing and feedback :-)<br class=""></p></div></blockquote></div></div></div></blockquote><blockquote cite="mid:CAF+v9JuVuHmrGMaSnQGPfxMx9NpkX6pou2i3HYNdb2b15o+EhA@mail.gmail.com" type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">More details below...<br class=""><div class=""><p style="" class="">Link to initial idea and discussion:<br class=""><a moz-do-not-send="true" target="_blank" href="https://github.com/Subsurface-divelog/subsurface/issues/188" class="gmail-m_8098681307314788349moz-txt-link-freetext">https://github.com/Subsurface-<wbr class="">divelog/subsurface/issues/188</a><br class=""></p><p style="" class="">Link to feature branch on Github:<br class=""><a moz-do-not-send="true" target="_blank" href="https://github.com/sfuchs79/subsurface/tree/feature_minimum_gas" class="gmail-m_8098681307314788349moz-txt-link-freetext">https://github.com/sfuchs79/<wbr class="">subsurface/tree/feature_<wbr class="">minimum_gas</a></p><p style="" class=""><span class="gmail-pl-c1"><br class=""></span></p></div></blockquote></div></div></div></blockquote><blockquote cite="mid:CAF+v9JuVuHmrGMaSnQGPfxMx9NpkX6pou2i3HYNdb2b15o+EhA@mail.gmail.com" type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"></div></div></div></blockquote>For this and all the other comments from Robert I hope I understood everything and there is nothing to discuss. Updated version will come soon.<br class="">A very important hint came from Robert about why we add the two new variables to struct diveplan. This was clearly a mistake is not needed. I will remove it.<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">Updated version available. I'm not 100% sure if I catched everything. I did some more testing and found no more real bugs.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">Documentation is still missing. Will be able to do this next week.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">Again the one question about putting a warning icon into the profile: It would be great if there is anyone who could guide me how to do this.</span><br class=""></div></blockquote><br class=""></div><div>Look at the DiveEventItem usage in the profilewidget2.cpp - you need to tell it which axes its coordinates are relative to (timeAxis and profileYAxis most likely, and you need to give it an event to display. And then you add it to the scene.</div><div><br class=""></div><div>/D</div></body></html>