> On Feb 17, 2017, at 3:57 AM, Stefan Fuchs <[email protected]> wrote:
> 
> Hi All,
> 
> 
> Am 15.02.2017 um 21:27 schrieb Stefan Fuchs:
>>> 
>>> Joachim (R.) and I finished our first basic version of the minimum gas 
>>> calculation for the planner.
>>> We are now looking for testing and feedback :-)
>>> 
>>> More details below...
>>> Link to initial idea and discussion:
>>> https://github.com/Subsurface-divelog/subsurface/issues/188 
>>> <https://github.com/Subsurface-divelog/subsurface/issues/188>
>>> Link to feature branch on Github:
>>> https://github.com/sfuchs79/subsurface/tree/feature_minimum_gas 
>>> <https://github.com/sfuchs79/subsurface/tree/feature_minimum_gas>
>>> 
>> 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.
>> 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.
> 
> Updated version available. I'm not 100% sure if I catched everything. I did 
> some more testing and found no more real bugs.
> 
> Documentation is still missing. Will be able to do this next week.
> 
> 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.

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.

/D
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to