mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Pereferences UI: add media tab
Remove the preference settings dealing with thumbnails (currently under General preferences and Profile preferences) and put them in a newly-created Media preference tab. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3e853e37a5
commit
2ac279d129
18 changed files with 398 additions and 226 deletions
|
@ -50,7 +50,6 @@ void PreferencesGraph::refreshSettings()
|
|||
ui->pscrfactor->setValue(lrint(1000.0 / prefs.pscr_ratio));
|
||||
|
||||
ui->show_average_depth->setChecked(prefs.show_average_depth);
|
||||
ui->auto_recalculate_thumbnails->setChecked(prefs.auto_recalculate_thumbnails);
|
||||
ui->show_icd->setChecked(prefs.show_icd);
|
||||
}
|
||||
|
||||
|
@ -59,7 +58,6 @@ void PreferencesGraph::syncSettings()
|
|||
qPrefGeneral::set_defaultsetpoint(lrint(ui->defaultSetpoint->value() * 1000.0));
|
||||
qPrefGeneral::set_o2consumption(lrint(ui->psro2rate->value() *1000.0));
|
||||
qPrefGeneral::set_pscr_ratio(lrint(1000.0 / ui->pscrfactor->value()));
|
||||
qPrefGeneral::set_auto_recalculate_thumbnails(ui->auto_recalculate_thumbnails->isChecked());
|
||||
|
||||
qPrefPartialPressureGas::set_phe_threshold(ui->pheThreshold->value());
|
||||
qPrefPartialPressureGas::set_po2_threshold_max(ui->po2ThresholdMax->value());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue