diff options
author | willemferguson <willemferguson@zoology.up.ac.za> | 2019-12-08 15:44:14 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-25 02:57:42 +0900 |
commit | b24caa4e2db42d300e3806ca3d13ce72202a24d8 (patch) | |
tree | 31b0d4c9824427f19ab757ecf185a714ae6b80ac /desktop-widgets/preferences/preferences_dc.h | |
parent | f63f3eb4ae0cd3621cf5748dfd76749b40b6d886 (diff) | |
download | subsurface-b24caa4e2db42d300e3806ca3d13ce72202a24d8.tar.gz |
Preferenced UI: add dive download tab
Add a preferences tab for dive download, allowing resetting the
buttons representing download connections in the Download panel.
Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferences_dc.h')
-rw-r--r-- | desktop-widgets/preferences/preferences_dc.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_dc.h b/desktop-widgets/preferences/preferences_dc.h new file mode 100644 index 000000000..4919c15a0 --- /dev/null +++ b/desktop-widgets/preferences/preferences_dc.h @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef PREFERENCES_DC_H +#define PREFERENCES_DC_H + +#include "abstractpreferenceswidget.h" +#include "core/pref.h" + +namespace Ui { + class PreferencesDc; +} + +class PreferencesDc : public AbstractPreferencesWidget { + Q_OBJECT +public: + PreferencesDc(); + ~PreferencesDc(); + void refreshSettings() override; + void syncSettings() override; +public slots: + void on_resetRememberedDCs_clicked(); + +private: + Ui::PreferencesDc *ui; +}; + + +#endif |