mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 16:44:39 +03:00
0fca7169d3
except those placed in 3rdparty directories.
28 lines
515 B
C++
28 lines
515 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;
|
|
};
|
|
|
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
|
Q_DECLARE_METATYPE(QLocale::Language)
|
|
#endif
|
|
|
|
#endif // LANGUAGESELECTDIALOG_H
|