Multi-language fix

This commit is contained in:
Krad
2021-12-23 14:42:50 +08:00
parent a853ed8ed6
commit fea04196e5
6 changed files with 24 additions and 2 deletions

View File

@@ -50,6 +50,9 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
layout->addWidget(spacerLine);
ADD_TOOL_BTN(Left,":/icons/left.png");
ADD_TOOL_BTN(Right,":/icons/right.png");
btnLeft->setText(tr("Left"));
btnRight->setText(tr("Right"));
QButtonGroup* group = new QButtonGroup(this);
btnLeft->setCheckable(true);
btnLeft->setChecked(true);
@@ -67,6 +70,11 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
ADD_TOOL_BTN(Stop,":/icons/stop.png");
ADD_TOOL_BTN(Scan,":/icons/scan.png");
btnRefresh->setText(tr("Refresh"));
btnPreview->setText(tr("Preview"));
btnStop->setText(tr("Stop"));
btnScan->setText(tr("Scan"));
QHBoxLayout* contentLayout =new QHBoxLayout();
this->ui->contentWidget->setLayout(contentLayout);
PatientInformationForm* patient_information= new PatientInformationForm(this);