0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-27 09:58:11 +03:00
LimeReport/limereport/translationeditor/languageselectdialog.h

28 lines
520 B
C
Raw Normal View History

2017-08-16 01:18:56 +03:00
#ifndef LANGUAGESELECTDIALOG_H
#define LANGUAGESELECTDIALOG_H
#include <QDialog>
#include <QLocale>
namespace Ui {
class LanguageSelectDialog;
}
class LanguageSelectDialog : public QDialog {
2017-08-16 01:18:56 +03:00
Q_OBJECT
public:
2017-08-16 01:18:56 +03:00
explicit LanguageSelectDialog(QWidget *parent = 0);
~LanguageSelectDialog();
QLocale::Language getSelectedLanguage();
private:
2017-08-16 01:18:56 +03:00
Ui::LanguageSelectDialog *ui;
};
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
2017-10-26 12:24:06 +03:00
Q_DECLARE_METATYPE(QLocale::Language)
#endif
2017-10-26 12:24:06 +03:00
2017-08-16 01:18:56 +03:00
#endif // LANGUAGESELECTDIALOG_H