mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: add additional star widgets to Information tab
Connect the UI to the underlying dive structure. Enable proper initialisation and management of star widgets while Information tab is active. Enable undo for the addtional star widgets. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4e86dd3a52
commit
6d7f26f4bf
8 changed files with 231 additions and 6 deletions
|
@ -183,6 +183,26 @@ int editVisibility(int newValue, bool currentDiveOnly)
|
|||
return execute_edit(new EditVisibility(newValue, currentDiveOnly));
|
||||
}
|
||||
|
||||
int editWaveSize(int newValue, bool currentDiveOnly)
|
||||
{
|
||||
return execute_edit(new EditWaveSize(newValue, currentDiveOnly));
|
||||
}
|
||||
|
||||
int editCurrent(int newValue, bool currentDiveOnly)
|
||||
{
|
||||
return execute_edit(new EditCurrent(newValue, currentDiveOnly));
|
||||
}
|
||||
|
||||
int editSurge(int newValue, bool currentDiveOnly)
|
||||
{
|
||||
return execute_edit(new EditSurge(newValue, currentDiveOnly));
|
||||
}
|
||||
|
||||
int editChill(int newValue, bool currentDiveOnly)
|
||||
{
|
||||
return execute_edit(new EditChill(newValue, currentDiveOnly));
|
||||
}
|
||||
|
||||
int editAirTemp(int newValue, bool currentDiveOnly)
|
||||
{
|
||||
return execute_edit(new EditAirTemp(newValue, currentDiveOnly));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue