From 5aedf91c0932538b6ff8f8f0d30face0bcaf09ff Mon Sep 17 00:00:00 2001 From: 283375 Date: Sun, 22 Oct 2023 00:51:21 +0800 Subject: [PATCH] impr: `ChartInfoEditor` tap stop order --- ui/designer/tabs/tabDb/tabDb_ChartInfoEditor.ui | 7 +++++++ ui/designer/tabs/tabDb/tabDb_ChartInfoEditor_ui.py | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/ui/designer/tabs/tabDb/tabDb_ChartInfoEditor.ui b/ui/designer/tabs/tabDb/tabDb_ChartInfoEditor.ui index 8290eb4..67a1600 100644 --- a/ui/designer/tabs/tabDb/tabDb_ChartInfoEditor.ui +++ b/ui/designer/tabs/tabDb/tabDb_ChartInfoEditor.ui @@ -258,6 +258,13 @@ 1 + + listView + constantLineEdit + notesLineEdit + commitButton + deleteButton + diff --git a/ui/designer/tabs/tabDb/tabDb_ChartInfoEditor_ui.py b/ui/designer/tabs/tabDb/tabDb_ChartInfoEditor_ui.py index 3e086c8..31681a3 100644 --- a/ui/designer/tabs/tabDb/tabDb_ChartInfoEditor_ui.py +++ b/ui/designer/tabs/tabDb/tabDb_ChartInfoEditor_ui.py @@ -179,6 +179,10 @@ class Ui_TabDb_ChartInfoEditor(object): self.gridLayout.addWidget(self.listView, 1, 0, 1, 1) + QWidget.setTabOrder(self.listView, self.constantLineEdit) + QWidget.setTabOrder(self.constantLineEdit, self.notesLineEdit) + QWidget.setTabOrder(self.notesLineEdit, self.commitButton) + QWidget.setTabOrder(self.commitButton, self.deleteButton) self.retranslateUi(TabDb_ChartInfoEditor)