This commit is contained in:
gaelle 2024-10-31 16:11:16 +01:00
parent 2bf3071b96
commit b6b16650bf
3 changed files with 26 additions and 26 deletions

View file

@ -208,23 +208,22 @@ AbstractMainPage {
Layout.fillWidth: true
Layout.rightMargin: 39 * DefaultStyle.dp
placeholderText: qsTr("Rechercher un appel")
visible: historyListView.count !== 0
focus: true
KeyNavigation.up: titleLoader
KeyNavigation.down: historyListView
}
Item {
Layout.topMargin: 38 * DefaultStyle.dp
Item {
Layout.topMargin: 38 * DefaultStyle.dp
Layout.fillWidth: true
Layout.fillHeight: true
Control.Control {
id: listLayout
anchors.fill: parent
anchors.rightMargin: 39 * DefaultStyle.dp
Control.Control {
id: listLayout
anchors.fill: parent
anchors.rightMargin: 39 * DefaultStyle.dp
background: Item{}
ColumnLayout {
anchors.fill: parent
ColumnLayout {
background: Item{}
contentItem: ColumnLayout {
Text {
visible: historyListView.count === 0
Layout.alignment: Qt.AlignHCenter
@ -411,18 +410,18 @@ AbstractMainPage {
Control.ScrollBar.vertical: scrollbar
}
}
}
}
ScrollBar {
id: scrollbar
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.right: parent.right
anchors.rightMargin: 8 * DefaultStyle.dp
active: true
policy: Control.ScrollBar.AsNeeded
}
}
}
ScrollBar {
id: scrollbar
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.right: parent.right
anchors.rightMargin: 8 * DefaultStyle.dp
active: true
policy: Control.ScrollBar.AsNeeded
}
}
}
}
}

View file

@ -62,7 +62,7 @@ AbstractMainPage {
if (!contact) return
var mainWin = UtilsCpp.getMainWindow()
mainWin.showConfirmationLambdaPopup("",
contact.core.displayName + qsTr("sera supprimé des contacts. Voulez-vous continuer ?"),
qsTr("%1 sera supprimé des contacts. Voulez-vous continuer ?").arg(contact.core.displayName),
"",
function (confirmed) {
if (confirmed) {

View file

@ -160,14 +160,15 @@ AbstractMainPage {
SearchBar {
id: searchBar
Layout.fillWidth: true
Layout.topMargin: 18 * DefaultStyle.dp
Layout.rightMargin: 38 * DefaultStyle.dp
Layout.topMargin: 18 * DefaultStyle.dp
Layout.rightMargin: 38 * DefaultStyle.dp
placeholderText: qsTr("Rechercher une réunion")
visible: conferenceList.count !== 0
KeyNavigation.up: conferenceList
KeyNavigation.down: conferenceList
}
Text {
Layout.topMargin: 38 * DefaultStyle.dp
Layout.topMargin: 137 * DefaultStyle.dp
Layout.fillHeight: true
Layout.alignment: Qt.AlignHCenter
text: mainItem.emptyListText