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 // disabled buttons
opacity: enabled ? 1.0 : 0.5 opacity: enabled ? 1.0 : 0.5
activeFocusOnTab: true
QtObject { QtObject {
id: internal id: internal

View File

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

View File

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

View File

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

View File

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

View File

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