mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-18 20:08:11 +00:00
Fix crash with new Conference models. Fix duration to 1 hour and if a ICS was selected, display the correct duration. Fix margins on date in conference creation and on Date picker. Change admin english text event in chats. Remove secure icon in conference contact search. Display one star security icon if ZRTP was not verified. On authentication popup, remove Realm if username is only displayed. Adapt Identity text. Fix forward selection in search bar.
67 lines
1.7 KiB
QML
67 lines
1.7 KiB
QML
import QtQuick 2.7
|
|
import QtQuick.Controls 2.7
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import Common 1.0
|
|
import Common.Styles 1.0
|
|
import Linphone 1.0
|
|
import Linphone.Styles 1.0
|
|
import Utils 1.0
|
|
|
|
// =============================================================================
|
|
|
|
DialogPlus {
|
|
id: mainItem
|
|
height: timePicker.visible ? 575 : 500
|
|
width: 550
|
|
|
|
property alias hideOldDates: datePicker.hideOldDates
|
|
|
|
property alias showDatePicker : datePicker.visible
|
|
property alias showTimePicker: timePicker.visible
|
|
|
|
property alias selectedDate: datePicker.selectedDate
|
|
property alias selectedTime: timePicker.selectedTime
|
|
|
|
// ---------------------------------------------------------------------------
|
|
buttons: [
|
|
TextButtonB {
|
|
text: 'ok'
|
|
|
|
onClicked: {
|
|
exit({selectedDate: mainItem.selectedDate, selectedTime: mainItem.selectedTime})
|
|
}
|
|
}
|
|
]
|
|
|
|
buttonsAlignment: Qt.AlignCenter
|
|
|
|
//: 'Select date' : Menu title to show select date.
|
|
property string dateTitle: qsTr('dateTimeDialogDate')
|
|
//: 'Select time' : Menu title to show select time.
|
|
property string timeTitle: qsTr('dateTimeDialogTime')
|
|
//: 'Select date and time' : Menu title to show select date and time.
|
|
property string dateTimeTitle: qsTr('dateTimeDialogDateTime')
|
|
title: showDatePicker
|
|
? showTimePicker
|
|
? dateTimeTitle
|
|
: timeTitle
|
|
: timeTitle
|
|
showCloseCross: true
|
|
// ---------------------------------------------------------------------------
|
|
RowLayout{
|
|
anchors.fill: parent
|
|
DatePicker{
|
|
id: datePicker
|
|
visible: false
|
|
Layout.fillHeight: true
|
|
Layout.fillWidth: true
|
|
}
|
|
TimePicker{
|
|
id: timePicker
|
|
visible: false
|
|
Layout.fillHeight: true
|
|
Layout.fillWidth: true
|
|
}
|
|
}
|
|
}
|