mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile-widgets: add simple part of remaining planner variables
Add simple variables, where getter uses prefs. and setters call directly to set function (without using plannerShared). rename last_stop --> last_stop6m Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
663fe7f78b
commit
0710e610d3
2 changed files with 48 additions and 0 deletions
|
@ -48,6 +48,21 @@ void QMLInterface::setup(QQmlContext *ct)
|
|||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::descrateChanged,
|
||||
instance(), &QMLInterface::descrateChanged);
|
||||
|
||||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::safetystopChanged,
|
||||
instance(), &QMLInterface::safetystopChanged);
|
||||
connect(qPrefTechnicalDetails::instance(), &qPrefTechnicalDetails::gflowChanged,
|
||||
instance(), &QMLInterface::gflowChanged);
|
||||
connect(qPrefTechnicalDetails::instance(), &qPrefTechnicalDetails::gfhighChanged,
|
||||
instance(), &QMLInterface::gfhighChanged);
|
||||
connect(qPrefTechnicalDetails::instance(), &qPrefTechnicalDetails::vpmb_conservatismChanged,
|
||||
instance(), &QMLInterface::vpmb_conservatismChanged);
|
||||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::drop_stone_modeChanged,
|
||||
instance(), &QMLInterface::drop_stone_modeChanged);
|
||||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::last_stopChanged,
|
||||
instance(), &QMLInterface::last_stop6mChanged);
|
||||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::switch_at_req_stopChanged,
|
||||
instance(), &QMLInterface::switch_at_req_stopChanged);
|
||||
|
||||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::display_runtimeChanged,
|
||||
instance(), &QMLInterface::display_runtimeChanged);
|
||||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::display_durationChanged,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue