SettingsLayout: pointing mouse cursor and selecting text

This commit is contained in:
selsta 2019-11-27 18:49:18 +01:00
parent d5f4d5d93f
commit c0fa4f5d27
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -93,7 +93,8 @@ Rectangle {
Layout.leftMargin: 42
spacing: 0
MoneroComponents.TextBlock {
Text {
color: MoneroComponents.Style.defaultFontColor
font.pixelSize: 14
Layout.fillWidth: true
text: {
@ -142,6 +143,12 @@ Rectangle {
}
onMoved: persistentSettings.lockOnUserInActivityInterval = userInactivitySlider.value;
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
}
}
}