Add use scanner.

This commit is contained in:
sunwen
2024-04-01 16:02:40 +08:00
parent c2fbcf0c02
commit b27dc320f7
11 changed files with 214 additions and 12 deletions

View File

@@ -92,6 +92,14 @@ MainWindow::MainWindow(QWidget* aParent)
this->update();
QApplication::processEvents();
});
connect(mTabWidget, &QTabWidget::currentChanged, this, [this](int aIndex)
{
if(aIndex == 1)
{
mTabWidget->widget(1)->setFocus();
}
});
GUIErrorHandle::Default()->init();
QApplication::setActiveWindow(centralWidget());