LimeReport/limereport/translationeditor/languageselectdialog.h
2017-10-26 13:24:06 +04:00

26 lines
465 B
C++

#ifndef LANGUAGESELECTDIALOG_H
#define LANGUAGESELECTDIALOG_H
#include <QDialog>
#include <QLocale>
namespace Ui {
class LanguageSelectDialog;
}
class LanguageSelectDialog : public QDialog
{
Q_OBJECT
public:
explicit LanguageSelectDialog(QWidget *parent = 0);
~LanguageSelectDialog();
QLocale::Language getSelectedLanguage();
private:
Ui::LanguageSelectDialog *ui;
};
Q_DECLARE_METATYPE(QLocale::Language)
#endif // LANGUAGESELECTDIALOG_H