CreateRoomDialog: Add missing formcard separators
(cherry picked from commit 87d707bc21)
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
@@ -67,6 +67,11 @@ FormCard.FormCardPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FormCard.FormDelegateSeparator {
|
||||||
|
visible: root.showChildType
|
||||||
|
}
|
||||||
|
|
||||||
FormCard.FormTextFieldDelegate {
|
FormCard.FormTextFieldDelegate {
|
||||||
id: roomNameField
|
id: roomNameField
|
||||||
label: i18n("Name:")
|
label: i18n("Name:")
|
||||||
@@ -75,17 +80,27 @@ FormCard.FormCardPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FormCard.FormDelegateSeparator {}
|
||||||
|
|
||||||
FormCard.FormTextFieldDelegate {
|
FormCard.FormTextFieldDelegate {
|
||||||
id: roomTopicField
|
id: roomTopicField
|
||||||
label: i18n("Topic:")
|
label: i18n("Topic:")
|
||||||
onAccepted: ok.clicked()
|
onAccepted: ok.clicked()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FormCard.FormDelegateSeparator {}
|
||||||
|
|
||||||
FormCard.FormCheckDelegate {
|
FormCard.FormCheckDelegate {
|
||||||
id: newOfficialCheck
|
id: newOfficialCheck
|
||||||
visible: root.parentId.length > 0
|
visible: root.parentId.length > 0
|
||||||
text: i18nc("@option:check As in make the space from which this dialog was created an official parent.", "Make this parent official")
|
text: i18nc("@option:check As in make the space from which this dialog was created an official parent.", "Make this parent official")
|
||||||
checked: true
|
checked: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FormCard.FormDelegateSeparator {
|
||||||
|
visible: root.parentId.length > 0
|
||||||
|
}
|
||||||
|
|
||||||
FormCard.FormButtonDelegate {
|
FormCard.FormButtonDelegate {
|
||||||
id: ok
|
id: ok
|
||||||
text: i18nc("@action:button", "Ok")
|
text: i18nc("@action:button", "Ok")
|
||||||
@@ -211,6 +226,9 @@ FormCard.FormCardPage {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FormCard.FormDelegateSeparator {}
|
||||||
|
|
||||||
FormCard.FormCheckDelegate {
|
FormCard.FormCheckDelegate {
|
||||||
id: existingOfficialCheck
|
id: existingOfficialCheck
|
||||||
visible: root.parentId.length > 0
|
visible: root.parentId.length > 0
|
||||||
@@ -230,6 +248,11 @@ FormCard.FormCardPage {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FormCard.FormDelegateSeparator {
|
||||||
|
visible: root.parentId.length > 0
|
||||||
|
}
|
||||||
|
|
||||||
FormCard.FormCheckDelegate {
|
FormCard.FormCheckDelegate {
|
||||||
id: makeCanonicalCheck
|
id: makeCanonicalCheck
|
||||||
text: i18nc("@option:check The canonical parent is the default one if a room has multiple parent spaces.", "Make this space the canonical parent")
|
text: i18nc("@option:check The canonical parent is the default one if a room has multiple parent spaces.", "Make this space the canonical parent")
|
||||||
@@ -237,6 +260,9 @@ FormCard.FormCardPage {
|
|||||||
|
|
||||||
enabled: existingOfficialCheck.enabled
|
enabled: existingOfficialCheck.enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FormCard.FormDelegateSeparator {}
|
||||||
|
|
||||||
FormCard.FormButtonDelegate {
|
FormCard.FormButtonDelegate {
|
||||||
text: i18nc("@action:button", "Ok")
|
text: i18nc("@action:button", "Ok")
|
||||||
enabled: chosenRoomDelegate.visible
|
enabled: chosenRoomDelegate.visible
|
||||||
|
|||||||
Reference in New Issue
Block a user