Add test for room creation
This commit is contained in:
@@ -88,7 +88,7 @@ FormCard.FormCardPage {
|
||||
}
|
||||
FormCard.FormButtonDelegate {
|
||||
id: ok
|
||||
text: i18nc("@action:button", "Ok")
|
||||
text: root.isSpace ? i18nc("@action:button", "Create Space") : i18nc("@action:button", "Create Room")
|
||||
enabled: roomNameField.text.length > 0
|
||||
onClicked: {
|
||||
if (root.isSpace) {
|
||||
|
||||
@@ -112,6 +112,7 @@ RowLayout {
|
||||
QQC2.ToolButton {
|
||||
id: menuButton
|
||||
Accessible.role: Accessible.ButtonMenu
|
||||
Accessible.onPressAction: menuButton.action.trigger()
|
||||
display: QQC2.AbstractButton.IconOnly
|
||||
checkable: true
|
||||
action: Kirigami.Action {
|
||||
@@ -144,18 +145,23 @@ RowLayout {
|
||||
dim: false
|
||||
|
||||
QQC2.MenuItem {
|
||||
Accessible.onPressAction: action.triggered()
|
||||
action: exploreAction
|
||||
}
|
||||
QQC2.MenuItem {
|
||||
Accessible.onPressAction: action.triggered()
|
||||
action: chatAction
|
||||
}
|
||||
QQC2.MenuItem {
|
||||
Accessible.onPressAction: action.triggered()
|
||||
action: roomAction
|
||||
}
|
||||
QQC2.MenuItem {
|
||||
Accessible.onPressAction: action.triggered()
|
||||
action: spaceAction
|
||||
}
|
||||
QQC2.MenuItem {
|
||||
Accessible.onPressAction: action.triggered()
|
||||
action: scanAction
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user