diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/RoomList.qml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml index eab6520e..0f8dc24a 100644 --- a/resources/qml/RoomList.qml +++ b/resources/qml/RoomList.qml @@ -267,6 +267,40 @@ Page { onTriggered: statusDialog.show() } + Platform.MenuSeparator { + } + + Platform.MenuItemGroup { + id: onlineStateGroup + } + Platform.MenuItem { + text: qsTr("Automatic online status") + group: onlineStateGroup + checkable: true + checked: Settings.presence == Settings.AutomaticPresence + onTriggered: if (checked) Settings.presence = Settings.AutomaticPresence + } + Platform.MenuItem { + text: qsTr("Online") + group: onlineStateGroup + checkable: true + checked: Settings.presence == Settings.Online + onTriggered: if (checked) Settings.presence = Settings.Online + } + Platform.MenuItem { + text: qsTr("Unavailable") + group: onlineStateGroup + checkable: true + checked: Settings.presence == Settings.Unavailable + onTriggered: if (checked) Settings.presence = Settings.Unavailable + } + Platform.MenuItem { + text: qsTr("Offline") + group: onlineStateGroup + checkable: true + checked: Settings.presence == Settings.Offline + onTriggered: if (checked) Settings.presence = Settings.Offline + } } TapHandler { acceptedButtons: Qt.LeftButton |