Commit 0119e8d8 authored by Jens Bache-Wiig's avatar Jens Bache-Wiig Committed by The Qt Project
Browse files

Remove keynavigation code from examples.


We dont need this now that it is implicit.

Change-Id: I5a4e92b1cfc8e1ffb37933ce6094036b828d8464
Reviewed-by: default avatarJ-P Nurmi <jpnurmi@digia.com>
parent b2918893
6.2 5.10 5.11 5.12 5.12.1 5.12.10 5.12.11 5.12.12 5.12.2 5.12.3 5.12.4 5.12.5 5.12.6 5.12.7 5.12.8 5.12.9 5.13 5.13.0 5.13.1 5.13.2 5.14 5.14.0 5.14.1 5.14.2 5.15 5.15.0 5.15.1 5.15.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.9.8 dev old/5.1 old/5.2 wip/calendar wip/tizen v5.15.0-alpha1 v5.14.1 v5.14.0 v5.14.0-rc2 v5.14.0-rc1 v5.14.0-beta3 v5.14.0-beta2 v5.14.0-beta1 v5.14.0-alpha1 v5.13.2 v5.13.1 v5.13.0 v5.13.0-rc3 v5.13.0-rc2 v5.13.0-rc1 v5.13.0-beta4 v5.13.0-beta3 v5.13.0-beta2 v5.13.0-beta1 v5.13.0-alpha1 v5.12.7 v5.12.6 v5.12.5 v5.12.4 v5.12.3 v5.12.2 v5.12.1 v5.12.0 v5.12.0-rc2 v5.12.0-rc1 v5.12.0-beta4 v5.12.0-beta3 v5.12.0-beta2 v5.12.0-beta1 v5.12.0-alpha1 v5.11.3 v5.11.2 v5.11.1 v5.11.0 v5.11.0-rc2 v5.11.0-rc1 v5.11.0-beta4 v5.11.0-beta3 v5.11.0-beta2 v5.11.0-beta1 v5.11.0-alpha1 v5.10.1 v5.10.0 v5.10.0-rc3 v5.10.0-rc2 v5.10.0-rc1 v5.10.0-beta4 v5.10.0-beta3 v5.10.0-beta2 v5.10.0-beta1 v5.10.0-alpha1 v5.9.9 v5.9.8 v5.9.7 v5.9.6 v5.9.5 v5.9.4 v5.9.3 v5.9.2 v5.9.1 v5.9.0 v5.9.0-rc2 v5.9.0-rc1 v5.9.0-beta4 v5.9.0-beta3 v5.9.0-beta2 v5.9.0-beta1 v5.9.0-alpha1 v5.8.0 v5.8.0-rc1 v5.8.0-beta1 v5.8.0-alpha1 v5.7.1 v5.7.0 v5.7.0-rc1 v5.7.0-beta1 v5.7.0-alpha1 v5.6.3 v5.6.2 v5.6.1 v5.6.1-1 v5.6.0 v5.6.0-rc1 v5.6.0-beta1 v5.6.0-alpha1 v5.5.1 v5.5.0 v5.5.0-rc1 v5.5.0-beta1 v5.5.0-alpha1 v5.4.2 v5.4.1 v5.4.0 v5.4.0-rc1 v5.4.0-beta1 v5.4.0-alpha1 v5.3.2 v5.3.1 v5.3.0 v5.3.0-rc1 v5.3.0-beta1 v5.3.0-alpha1 v5.2.1 v5.2.0 v5.2.0-rc1 v5.2.0-beta1 v5.2.0-alpha1 v5.1.1 v5.1.0 v5.1.0-rc2 v5.1.0-rc1 v5.1.0-beta1 v5.1.0-alpha1
No related merge requests found
Showing with 0 additions and 14 deletions
...@@ -68,13 +68,11 @@ Item { ...@@ -68,13 +68,11 @@ Item {
text: "Button 1" text: "Button 1"
width: 96 width: 96
tooltip:"This is an interesting tool tip" tooltip:"This is an interesting tool tip"
KeyNavigation.tab: button2
} }
Button { Button {
id:button2 id:button2
text:"Button 2" text:"Button 2"
width:96 width:96
KeyNavigation.tab: combo
} }
} }
ComboBox { ComboBox {
...@@ -82,7 +80,6 @@ Item { ...@@ -82,7 +80,6 @@ Item {
model: choices; model: choices;
width: parent.width; width: parent.width;
currentIndex: 2 currentIndex: 2
KeyNavigation.tab: t1
} }
Row { Row {
spacing: 8 spacing: 8
...@@ -92,18 +89,14 @@ Item { ...@@ -92,18 +89,14 @@ Item {
minimumValue: -50 minimumValue: -50
value: -20 value: -20
KeyNavigation.tab: t2
} }
SpinBox { SpinBox {
id: t2 id: t2
width:97 width:97
KeyNavigation.tab: t3
} }
} }
TextField { TextField {
id: t3 id: t3
KeyNavigation.tab: slider
placeholderText: "This is a placeholder for a TextField" placeholderText: "This is a placeholder for a TextField"
width: 200 width: 200
} }
...@@ -118,7 +111,6 @@ Item { ...@@ -118,7 +111,6 @@ Item {
id: slider id: slider
value: 0.5 value: 0.5
tickmarksEnabled: tickmarkCheck.checked tickmarksEnabled: tickmarkCheck.checked
KeyNavigation.tab: frameCheckbox
} }
} }
Column { Column {
...@@ -138,20 +130,17 @@ Item { ...@@ -138,20 +130,17 @@ Item {
id: frameCheckbox id: frameCheckbox
text: "Text frame" text: "Text frame"
checked: true checked: true
KeyNavigation.tab: tickmarkCheck
width: 100 width: 100
} }
CheckBox { CheckBox {
id: tickmarkCheck id: tickmarkCheck
text: "Tickmarks" text: "Tickmarks"
checked: false checked: false
KeyNavigation.tab: wrapCheck
} }
CheckBox { CheckBox {
id: wrapCheck id: wrapCheck
text: "Word wrap" text: "Word wrap"
checked: true checked: true
KeyNavigation.tab: r1
} }
} }
} }
...@@ -164,7 +153,6 @@ Item { ...@@ -164,7 +153,6 @@ Item {
RadioButton { RadioButton {
id: r1 id: r1
text: "Top" text: "Top"
KeyNavigation.tab: r2
checked: true checked: true
exclusiveGroup: tabPositionGroup exclusiveGroup: tabPositionGroup
width: 100 width: 100
...@@ -172,7 +160,6 @@ Item { ...@@ -172,7 +160,6 @@ Item {
RadioButton { RadioButton {
id: r2 id: r2
text: "Bottom" text: "Bottom"
KeyNavigation.tab: area
exclusiveGroup: tabPositionGroup exclusiveGroup: tabPositionGroup
} }
} }
...@@ -182,7 +169,6 @@ Item { ...@@ -182,7 +169,6 @@ Item {
id: area id: area
frameVisible: frameCheckbox.checked frameVisible: frameCheckbox.checked
text: loremIpsum + loremIpsum text: loremIpsum + loremIpsum
KeyNavigation.tab: button1
wrapMode: wrapCheck.checked ? TextEdit.WordWrap : TextEdit.NoWrap wrapMode: wrapCheck.checked ? TextEdit.WordWrap : TextEdit.NoWrap
width: contentRow.width - firstColumn.width - contentRow.spacing width: contentRow.width - firstColumn.width - contentRow.spacing
height: parent.height - group1.height - group2.height - 2 * parent.spacing height: parent.height - group1.height - group2.height - 2 * parent.spacing
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment