@@ -146,27 +146,29 @@ Item {
146146 Layout .fillWidth : true ;
147147 columns: 2
148148 CheckBox { Layout .topMargin : 0 ; Layout .bottomMargin : - 8 ; Layout .fillWidth : true ;
149- id: b0Box; text: " B0" ; onCheckedChanged: updateFromBoxes (); }
149+ id: b0Box; focusPolicy : Qt . NoFocus ; text: " B0" ; onCheckedChanged: updateFromBoxes (); }
150150 CheckBox { Layout .topMargin : 0 ; Layout .bottomMargin : - 8 ; Layout .fillWidth : true ;
151- id: b1Box; text: " B1" ; onCheckedChanged: updateFromBoxes (); }
151+ id: b1Box; focusPolicy : Qt . NoFocus ; text: " B1" ; onCheckedChanged: updateFromBoxes (); }
152152 CheckBox { Layout .topMargin : - 8 ; Layout .bottomMargin : - 8 ; Layout .fillWidth : true ;
153- id: b2Box; text: " B2" ; onCheckedChanged: updateFromBoxes (); }
153+ id: b2Box; focusPolicy : Qt . NoFocus ; text: " B2" ; onCheckedChanged: updateFromBoxes (); }
154154 CheckBox { Layout .topMargin : - 8 ; Layout .bottomMargin : - 8 ; Layout .fillWidth : true ;
155- id: b3Box; text: " B3" ; onCheckedChanged: updateFromBoxes (); }
155+ id: b3Box; focusPolicy : Qt . NoFocus ; text: " B3" ; onCheckedChanged: updateFromBoxes (); }
156156 CheckBox { Layout .topMargin : - 8 ; Layout .bottomMargin : - 8 ; Layout .fillWidth : true ;
157- id: b4Box; text: " B4" ; onCheckedChanged: updateFromBoxes (); }
157+ id: b4Box; focusPolicy : Qt . NoFocus ; text: " B4" ; onCheckedChanged: updateFromBoxes (); }
158158 CheckBox { Layout .topMargin : - 8 ; Layout .bottomMargin : - 8 ; Layout .fillWidth : true ;
159- id: b5Box; text: " B5" ; onCheckedChanged: updateFromBoxes (); }
159+ id: b5Box; focusPolicy : Qt . NoFocus ; text: " B5" ; onCheckedChanged: updateFromBoxes (); }
160160 CheckBox { Layout .topMargin : - 8 ; Layout .bottomMargin : - 8 ; Layout .fillWidth : true ;
161- id: b6Box; text: " B6" ; onCheckedChanged: updateFromBoxes (); }
161+ id: b6Box; focusPolicy : Qt . NoFocus ; text: " B6" ; onCheckedChanged: updateFromBoxes (); }
162162 CheckBox { Layout .topMargin : - 8 ; Layout .bottomMargin : - 8 ; Layout .fillWidth : true ;
163- id: b7Box; text: " B7" ; onCheckedChanged: updateFromBoxes (); }
163+ id: b7Box; focusPolicy : Qt . NoFocus ; text: " B7" ; onCheckedChanged: updateFromBoxes (); }
164164 }
165165
166166 RowLayout {
167167 Layout .fillWidth : true
168168 Button {
169169 id: nowButton
170+ focusPolicy: Qt .NoFocus
171+
170172 Layout .fillWidth : true
171173 Layout .preferredWidth : 500
172174 flat: true
@@ -179,6 +181,8 @@ Item {
179181
180182 Button {
181183 id: defaultButton
184+ focusPolicy: Qt .NoFocus
185+
182186 Layout .fillWidth : true
183187 Layout .preferredWidth : 500
184188 flat: true
@@ -191,6 +195,8 @@ Item {
191195
192196 Button {
193197 id: helpButton
198+ focusPolicy: Qt .NoFocus
199+
194200 Layout .fillWidth : true
195201 Layout .preferredWidth : 500
196202 flat: true
0 commit comments