Commit 336b91f9 authored by Karel Slaný's avatar Karel Slaný

Attempt to export spin box content to accessibility.

parent 62c359b2
......@@ -21,6 +21,7 @@
* the two.
*/
import QtQuick 2.7
import QtQuick.Controls 2.2
SpinBox {
......@@ -73,4 +74,8 @@ SpinBox {
value = from
}
}
Accessible.role: Accessible.SpinBox
Accessible.description: "" /* Tell what the item does. */
Accessible.name: textFromValue(value)
}
......@@ -337,6 +337,7 @@ Item {
/* Enable accept button. Always visible? */
acceptElement.visible = val() != settings.inactivityInterval()
}
Accessible.description: qsTr("Select the number of seconds after which the application is going to be locked.")
}
} // Column layout
} // Pane
......
Markdown is supported
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