Skip to content

Commit b08540f

Browse files
authored
Rework Tab Order (#217)
* Remove NoFocus policy * Change tab order
1 parent c1f39a7 commit b08540f

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

pupgui2/resources/ui/pupgui2_ctinfodialog.ui

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
102102
</item>
103103
<item>
104104
<widget class="QPushButton" name="btnRefreshGames">
105-
<property name="focusPolicy">
106-
<enum>Qt::NoFocus</enum>
107-
</property>
108105
<property name="toolTip">
109106
<string>Refresh Games</string>
110107
</property>
@@ -119,9 +116,6 @@
119116
</item>
120117
<item>
121118
<widget class="QPushButton" name="btnSearch">
122-
<property name="focusPolicy">
123-
<enum>Qt::NoFocus</enum>
124-
</property>
125119
<property name="toolTip">
126120
<string>Search games...</string>
127121
</property>
@@ -182,9 +176,6 @@
182176
<layout class="QHBoxLayout" name="horizontalLayout_2">
183177
<item>
184178
<widget class="QPushButton" name="btnBatchUpdate">
185-
<property name="focusPolicy">
186-
<enum>Qt::NoFocus</enum>
187-
</property>
188179
<property name="text">
189180
<string>Batch update</string>
190181
</property>
@@ -227,6 +218,13 @@
227218
</item>
228219
</layout>
229220
</widget>
221+
<tabstops>
222+
<tabstop>btnClose</tabstop>
223+
<tabstop>btnBatchUpdate</tabstop>
224+
<tabstop>btnSearch</tabstop>
225+
<tabstop>searchBox</tabstop>
226+
<tabstop>btnRefreshGames</tabstop>
227+
</tabstops>
230228
<resources/>
231229
<connections/>
232230
</ui>

pupgui2/resources/ui/pupgui2_gamelistdialog.ui

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@
117117
</item>
118118
</layout>
119119
</widget>
120+
<tabstops>
121+
<tabstop>btnApply</tabstop>
122+
<tabstop>btnSearch</tabstop>
123+
<tabstop>searchBox</tabstop>
124+
<tabstop>btnRefreshGames</tabstop>
125+
</tabstops>
120126
<resources/>
121127
<connections/>
122128
</ui>

0 commit comments

Comments
 (0)