2026年5月25日15:57:50

This commit is contained in:
2026-05-25 15:58:11 +08:00
parent 1cb9d5ac42
commit 358a56f602
20 changed files with 413 additions and 492 deletions
+6 -1
View File
@@ -36,7 +36,7 @@ MyInputMethod::MyInputMethod(QWidget *parent)
inputMethod = input;
digitalInput = new DigitalInput(this,parent);
connect(inputMethod,&InputMethod::onEnterClickedConfirm,this,&MyInputMethod::sendEnterClickedSignal);
connect(inputMethod,&InputMethod::onEnterClickedConfirm,this,&MyInputMethod::onInputMethodEnterClicked);
}
void MyInputMethod::SetInputFile(QString filename){
inputMethod->initInputMethod(filename);
@@ -201,3 +201,8 @@ void MyInputMethod::getEnglishOrAarbic(bool flag){
if(QApplication::focusWidget())
QCoreApplication::sendEvent(QApplication::focusWidget(), &releaseEvent);
}
void MyInputMethod::MyInputMethod::onInputMethodEnterClicked()
{
emit sendEnterClickedSignal();
}