Commit fdcd9487 authored by Karel Slaný's avatar Karel Slaný

Exposed content of account detail page to accessibility interface.

parent febd0fe8
......@@ -56,18 +56,16 @@ Component {
onBackClicked: {
pageView.pop(StackView.Immediate)
}
Image {
AccessibleImageButton {
id: actionButton
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
anchors.rightMargin: defaultMargin
sourceSize.height: imgHeightHeader
source: "qrc:/ui/sync.svg"
MouseArea {
anchors.fill: parent
onClicked: {
isds.doIsdsAction("getAccountInfo", userName)
}
accessibleName: qsTr("Refresh information about the account.")
onClicked: {
isds.doIsdsAction("getAccountInfo", userName)
}
Connections {
target: isds
......@@ -76,7 +74,8 @@ Component {
}
}
}
} // PageHeader
}
Flickable {
id: flickable
z: 0
......@@ -88,23 +87,25 @@ Component {
Pane {
id: flickContent
anchors.fill: parent
Text {
AccessibleText {
id: accountDetailText
color: datovkaPalette.text
width: parent.width
textFormat: TextEdit.RichText
wrapMode: Text.WordWrap
}
} // Pane
}
ScrollIndicator.vertical: ScrollIndicator {}
} // Flickable
}
Text {
id: emptyList
visible: true
color: datovkaPalette.text
anchors.centerIn: parent
text: qsTr("Account info has not been downloaded yet.")
} // Text
}
Connections {
target: isds
onDownloadAccountInfoFinishedSig: {
......
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