mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add UI element for final surface segment in planner
Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
5e494ce761
commit
178eaa9a67
9 changed files with 35 additions and 1 deletions
|
@ -625,6 +625,12 @@ void DivePlannerPointsModel::setMinSwitchDuration(int duration)
|
|||
emitDataChanged();
|
||||
}
|
||||
|
||||
void DivePlannerPointsModel::setSurfaceSegment(int duration)
|
||||
{
|
||||
qPrefDivePlanner::set_surface_segment(duration * 60);
|
||||
emitDataChanged();
|
||||
}
|
||||
|
||||
void DivePlannerPointsModel::setStartDate(const QDate &date)
|
||||
{
|
||||
startTime.setDate(date);
|
||||
|
|
|
@ -93,6 +93,7 @@ slots:
|
|||
void setReserveGas(int reserve);
|
||||
void setSwitchAtReqStop(bool value);
|
||||
void setMinSwitchDuration(int duration);
|
||||
void setSurfaceSegment(int duration);
|
||||
void setSacFactor(double factor);
|
||||
void setProblemSolvingTime(int minutes);
|
||||
void setAscrate75(int rate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue