V6.7.4 追加更新

This commit is contained in:
2026-07-20 09:21:44 +08:00
parent 6425b11a96
commit e90e80000f
25 changed files with 2830 additions and 2764 deletions
+3 -1
View File
@@ -8,7 +8,7 @@
#include <QKeyEvent>
DigitalInput::DigitalInput(MyInputMethod *myInputMethod,QWidget *parent) :
QWidget(parent,(Qt::FramelessWindowHint )),
QWidget(parent,(Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | Qt::Tool | Qt::BypassWindowManagerHint)),
ui(new Ui::DigitalInput)
{
ui->setupUi(this);
@@ -143,6 +143,8 @@ void DigitalInput::onClrPressed()
void DigitalInput::showEvent(QShowEvent *event)
{
QWidget::showEvent(event);
raise();
auto focusWidget = qApp->focusWidget();
QSpinBox* box = dynamic_cast<QSpinBox*>(focusWidget);
if(!box) {