2023-05-22 16:17:51 +08:00
|
|
|
#ifndef LANG_H
|
2023-04-14 17:07:54 +08:00
|
|
|
#define LANG_H
|
|
|
|
|
|
|
|
#include <QObject>
|
2023-04-20 23:37:51 +08:00
|
|
|
#include "../stdafx.h"
|
2023-04-14 17:07:54 +08:00
|
|
|
|
|
|
|
class Lang : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
Q_PROPERTY_AUTO(QString,home);
|
|
|
|
Q_PROPERTY_AUTO(QString,basic_input);
|
|
|
|
Q_PROPERTY_AUTO(QString,form);
|
|
|
|
Q_PROPERTY_AUTO(QString,surface);
|
|
|
|
Q_PROPERTY_AUTO(QString,popus);
|
|
|
|
Q_PROPERTY_AUTO(QString,navigation);
|
|
|
|
Q_PROPERTY_AUTO(QString,theming);
|
|
|
|
Q_PROPERTY_AUTO(QString,media);
|
|
|
|
Q_PROPERTY_AUTO(QString,dark_mode);
|
2023-04-19 22:27:27 +08:00
|
|
|
Q_PROPERTY_AUTO(QString,sys_dark_mode);
|
2023-04-14 17:07:54 +08:00
|
|
|
Q_PROPERTY_AUTO(QString,search);
|
|
|
|
Q_PROPERTY_AUTO(QString,about);
|
|
|
|
Q_PROPERTY_AUTO(QString,settings);
|
|
|
|
Q_PROPERTY_AUTO(QString,navigation_view_display_mode);
|
|
|
|
Q_PROPERTY_AUTO(QString,locale);
|
2023-06-12 16:46:02 +08:00
|
|
|
Q_PROPERTY_AUTO(QString,other);
|
2023-04-14 17:07:54 +08:00
|
|
|
public:
|
|
|
|
explicit Lang(QObject *parent = nullptr);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LANG_H
|