Enable Plasma Controls for tab-navigation

This commit is contained in:
David Edmundson 2014-02-06 12:35:32 +01:00
parent a3a434ced5
commit e82b1dab9d
6 changed files with 11 additions and 0 deletions

View File

@ -120,6 +120,8 @@ Item {
// disabled buttons
opacity: enabled ? 1.0 : 0.5
activeFocusOnTab: true
QtObject {
id: internal

View File

@ -62,5 +62,7 @@ Private.DualStateButton {
}
}
activeFocusOnTab: true
shadow: Private.ButtonShadow {}
}

View File

@ -60,6 +60,7 @@ Private.DualStateButton {
}
}
}
activeFocusOnTab: true
shadow: Private.RoundShadow {}
}

View File

@ -110,6 +110,8 @@ Item {
// disabled sliders
opacity: enabled ? 1.0 : 0.5
activeFocusOnTab: true
Keys.onUpPressed: {
if (!enabled || !contents.isVertical)
return;

View File

@ -177,6 +177,8 @@ Item {
*/
property string placeholderText
activeFocusOnTab: true
// functions
/**
* Copies the currently selected text to the system clipboard.

View File

@ -171,6 +171,8 @@ FocusScope {
*/
property alias maximumLength: textInput.maximumLength
activeFocusOnTab: true
/**
* Emitted when the text input is accepted.
*/