Skip to content

Commit

Permalink
tab order
Browse files Browse the repository at this point in the history
  • Loading branch information
Odizinne committed Jul 25, 2024
1 parent 821b7eb commit b42cca4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/design.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Form implementation generated from reading ui file '.\ui\design.ui'
# Form implementation generated from reading ui file '.\src\ui\design.ui'
#
# Created by: PyQt6 UI code generator 6.7.0
#
Expand Down Expand Up @@ -154,6 +154,13 @@ def setupUi(self, MainWindow):

self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
MainWindow.setTabOrder(self.startupCheckBox, self.disableAudioCheckbox)
MainWindow.setTabOrder(self.disableAudioCheckbox, self.displayswitchBox)
MainWindow.setTabOrder(self.displayswitchBox, self.checkRateSpinBox)
MainWindow.setTabOrder(self.checkRateSpinBox, self.gamemodeEntry)
MainWindow.setTabOrder(self.gamemodeEntry, self.desktopEntry)
MainWindow.setTabOrder(self.desktopEntry, self.gamemodeVideoBox)
MainWindow.setTabOrder(self.gamemodeVideoBox, self.desktopVideoBox)

def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
Expand Down
10 changes: 10 additions & 0 deletions src/ui/design.ui
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,16 @@ For 3 monitors or more, it is recommended to specify your outputs.</string>
</layout>
</widget>
</widget>
<tabstops>
<tabstop>startupCheckBox</tabstop>
<tabstop>disableAudioCheckbox</tabstop>
<tabstop>displayswitchBox</tabstop>
<tabstop>checkRateSpinBox</tabstop>
<tabstop>gamemodeEntry</tabstop>
<tabstop>desktopEntry</tabstop>
<tabstop>gamemodeVideoBox</tabstop>
<tabstop>desktopVideoBox</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>

0 comments on commit b42cca4

Please sign in to comment.