subsurface/desktop-widgets/preferences/preferences_language.h

27 lines
545 B
C
Raw Normal View History

// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_LANGUAGE_H
#define PREFERENCES_LANGUAGE_H
#include <QMap>
#include "abstractpreferenceswidget.h"
namespace Ui {
class PreferencesLanguage;
}
class PreferencesLanguage : public AbstractPreferencesWidget {
Q_OBJECT
public:
PreferencesLanguage();
~PreferencesLanguage();
void refreshSettings() override;
void syncSettings() override;
private:
Ui::PreferencesLanguage *ui;
QMap<QString, QString> dateFormatShortMap;
public slots:
void dateFormatChanged(const QString&);
};
#endif