mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f63f3eb4ae
commit
b24caa4e2d
11 changed files with 180 additions and 30 deletions
27
desktop-widgets/preferences/preferences_dc.h
Normal file
27
desktop-widgets/preferences/preferences_dc.h
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue