From 3c85d25dfc980cd35b3eaf9b84c2705af6e98f07 Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Tue, 2 Sep 2025 15:25:22 +0200 Subject: [PATCH] new meeting erase title hint #LINQT-1966 --- Linphone/data/languages/de.ts | 12 ++++++------ Linphone/data/languages/en.ts | 12 ++++++------ Linphone/data/languages/fr_FR.ts | 12 ++++++------ .../view/Control/Display/Meeting/MeetingListView.qml | 3 +++ Linphone/view/Page/Form/Meeting/MeetingForm.qml | 8 ++++++-- 5 files changed, 27 insertions(+), 20 deletions(-) diff --git a/Linphone/data/languages/de.ts b/Linphone/data/languages/de.ts index 54e97a81..16eadd57 100644 --- a/Linphone/data/languages/de.ts +++ b/Linphone/data/languages/de.ts @@ -3931,25 +3931,25 @@ Error Webinar - + meeting_schedule_subject_hint "Ajouter un titre" Titel hinzufügen - + meeting_schedule_description_hint "Ajouter une description" Beschreibung hinzufügen - + meeting_schedule_add_participants_title "Ajouter des participants" Teilnehmer hinzufügen - + meeting_schedule_send_invitations_title "Envoyer une invitation aux participants" Einladung an Teilnehmer senden @@ -3958,13 +3958,13 @@ Error MeetingListView - + meeting_info_cancelled "Réunion annulée" Besprechung abgesagt - + meetings_list_no_meeting_for_today "Aucune réunion aujourd'hui" Heute keine Besprechungen diff --git a/Linphone/data/languages/en.ts b/Linphone/data/languages/en.ts index c53b0a46..8855ada1 100644 --- a/Linphone/data/languages/en.ts +++ b/Linphone/data/languages/en.ts @@ -3841,25 +3841,25 @@ Expiration : %1 Webinar - + meeting_schedule_subject_hint "Ajouter un titre" Add a title - + meeting_schedule_description_hint "Ajouter une description" Add a description - + meeting_schedule_add_participants_title "Ajouter des participants" Add participants - + meeting_schedule_send_invitations_title "Envoyer une invitation aux participants" Send an invitation to participants @@ -3868,13 +3868,13 @@ Expiration : %1 MeetingListView - + meeting_info_cancelled "Réunion annulée" Meeting canceled - + meetings_list_no_meeting_for_today "Aucune réunion aujourd'hui" No meeting for today diff --git a/Linphone/data/languages/fr_FR.ts b/Linphone/data/languages/fr_FR.ts index 3b5564f7..17bdf1c1 100644 --- a/Linphone/data/languages/fr_FR.ts +++ b/Linphone/data/languages/fr_FR.ts @@ -3841,25 +3841,25 @@ Expiration : %1 Webinar - + meeting_schedule_subject_hint "Ajouter un titre" Ajouter un titre - + meeting_schedule_description_hint "Ajouter une description" Ajouter une description - + meeting_schedule_add_participants_title "Ajouter des participants" Ajouter des participants - + meeting_schedule_send_invitations_title "Envoyer une invitation aux participants" Envoyer une invitation aux participants @@ -3868,13 +3868,13 @@ Expiration : %1 MeetingListView - + meeting_info_cancelled "Réunion annulée" Réunion annulée - + meetings_list_no_meeting_for_today "Aucune réunion aujourd'hui" Aucune réunion aujourd'hui diff --git a/Linphone/view/Control/Display/Meeting/MeetingListView.qml b/Linphone/view/Control/Display/Meeting/MeetingListView.qml index c594d481..9129cfb7 100644 --- a/Linphone/view/Control/Display/Meeting/MeetingListView.qml +++ b/Linphone/view/Control/Display/Meeting/MeetingListView.qml @@ -89,6 +89,9 @@ ListView { } } + // Let some space for better UI + footer: Item{height: Math.round(38 * DefaultStyle.dp)} + model: ConferenceInfoProxy { id: confInfoProxy filterText: searchBarText diff --git a/Linphone/view/Page/Form/Meeting/MeetingForm.qml b/Linphone/view/Page/Form/Meeting/MeetingForm.qml index 8f66b778..ff73e55a 100644 --- a/Linphone/view/Page/Form/Meeting/MeetingForm.qml +++ b/Linphone/view/Page/Form/Meeting/MeetingForm.qml @@ -64,15 +64,19 @@ FocusScope { EffectImage { imageSource: AppIcons.usersThree colorizationColor: DefaultStyle.main2_600 + width: Math.round(24 * DefaultStyle.dp) + height: Math.round(24 * DefaultStyle.dp) Layout.preferredWidth: Math.round(24 * DefaultStyle.dp) Layout.preferredHeight: Math.round(24 * DefaultStyle.dp) } TextInput { id: confTitle Layout.fillWidth: true + maximumLength: width //: "Ajouter un titre" property string defaultText: qsTr("meeting_schedule_subject_hint") - text: conferenceInfoGui.core.subject ? conferenceInfoGui.core.subject : defaultText + Component.onCompleted: text = defaultText + text: conferenceInfoGui.core.subject ? conferenceInfoGui.core.subject : "" color: DefaultStyle.main2_600 font { pixelSize: Math.round(20 * DefaultStyle.dp) @@ -83,7 +87,7 @@ FocusScope { if (text == defaultText) clear() else selectAll() - } + } else if (text.length === 0) text = defaultText onTextEdited: mainItem.conferenceInfoGui.core.subject = text KeyNavigation.down: startDate }