#ifndef ADDINPUTMETHODDIALOG_H
#define ADDINPUTMETHODDIALOG_H

#include <QDialog>
#include <QStandardItemModel>

namespace Ui {
class AddInputMethodDialog;
}

class AddInputMethodDialog : public QDialog
{
    Q_OBJECT

public:
    explicit AddInputMethodDialog(QWidget *parent = nullptr);
    ~AddInputMethodDialog();
    void addInputMethod(QString languageName);

public:
    static const QList<QPair<QString, QString>> inputMethodList_bo_CN;

private:
    Ui::AddInputMethodDialog *ui;
    QStandardItemModel *mode = nullptr;

Q_SIGNALS:
    void inputMethodAdded(const QStringList inputMethodList);
};

#endif // ADDINPUTMETHODDIALOG_H
