mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Preferences UI: add dive log tab
This adds a tab for dive log - related preferences. A suitable test programs is still required. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b24caa4e2d
commit
b6c3cdb20c
35 changed files with 467 additions and 357 deletions
29
desktop-widgets/preferences/preferences_log.h
Normal file
29
desktop-widgets/preferences/preferences_log.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef PREFERENCES_LOG_H
|
||||
#define PREFERENCES_LOG_H
|
||||
|
||||
#include "abstractpreferenceswidget.h"
|
||||
#include "core/pref.h"
|
||||
|
||||
namespace Ui {
|
||||
class PreferencesLog;
|
||||
}
|
||||
|
||||
class PreferencesLog : public AbstractPreferencesWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
PreferencesLog();
|
||||
~PreferencesLog();
|
||||
void refreshSettings() override;
|
||||
void syncSettings() override;
|
||||
public slots:
|
||||
void on_chooseFile_clicked();
|
||||
void on_btnUseDefaultFile_toggled(bool toggled);
|
||||
void on_localDefaultFile_toggled(bool toggled);
|
||||
|
||||
private:
|
||||
Ui::PreferencesLog *ui;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue