ui
This commit is contained in:
parent
2bf3071b96
commit
b6b16650bf
3 changed files with 26 additions and 26 deletions
|
|
@ -208,6 +208,7 @@ AbstractMainPage {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.rightMargin: 39 * DefaultStyle.dp
|
Layout.rightMargin: 39 * DefaultStyle.dp
|
||||||
placeholderText: qsTr("Rechercher un appel")
|
placeholderText: qsTr("Rechercher un appel")
|
||||||
|
visible: historyListView.count !== 0
|
||||||
focus: true
|
focus: true
|
||||||
KeyNavigation.up: titleLoader
|
KeyNavigation.up: titleLoader
|
||||||
KeyNavigation.down: historyListView
|
KeyNavigation.down: historyListView
|
||||||
|
|
@ -222,9 +223,7 @@ AbstractMainPage {
|
||||||
anchors.rightMargin: 39 * DefaultStyle.dp
|
anchors.rightMargin: 39 * DefaultStyle.dp
|
||||||
|
|
||||||
background: Item{}
|
background: Item{}
|
||||||
ColumnLayout {
|
contentItem: ColumnLayout {
|
||||||
anchors.fill: parent
|
|
||||||
ColumnLayout {
|
|
||||||
Text {
|
Text {
|
||||||
visible: historyListView.count === 0
|
visible: historyListView.count === 0
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
@ -411,7 +410,7 @@ AbstractMainPage {
|
||||||
Control.ScrollBar.vertical: scrollbar
|
Control.ScrollBar.vertical: scrollbar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
ScrollBar {
|
ScrollBar {
|
||||||
id: scrollbar
|
id: scrollbar
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ AbstractMainPage {
|
||||||
if (!contact) return
|
if (!contact) return
|
||||||
var mainWin = UtilsCpp.getMainWindow()
|
var mainWin = UtilsCpp.getMainWindow()
|
||||||
mainWin.showConfirmationLambdaPopup("",
|
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) {
|
function (confirmed) {
|
||||||
if (confirmed) {
|
if (confirmed) {
|
||||||
|
|
|
||||||
|
|
@ -163,11 +163,12 @@ AbstractMainPage {
|
||||||
Layout.topMargin: 18 * DefaultStyle.dp
|
Layout.topMargin: 18 * DefaultStyle.dp
|
||||||
Layout.rightMargin: 38 * DefaultStyle.dp
|
Layout.rightMargin: 38 * DefaultStyle.dp
|
||||||
placeholderText: qsTr("Rechercher une réunion")
|
placeholderText: qsTr("Rechercher une réunion")
|
||||||
|
visible: conferenceList.count !== 0
|
||||||
KeyNavigation.up: conferenceList
|
KeyNavigation.up: conferenceList
|
||||||
KeyNavigation.down: conferenceList
|
KeyNavigation.down: conferenceList
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
Layout.topMargin: 38 * DefaultStyle.dp
|
Layout.topMargin: 137 * DefaultStyle.dp
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
text: mainItem.emptyListText
|
text: mainItem.emptyListText
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue