ui
This commit is contained in:
parent
2bf3071b96
commit
b6b16650bf
3 changed files with 26 additions and 26 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue