mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
b6c3cdb20c
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>
29 lines
564 B
C++
29 lines
564 B
C++
// 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
|