linphone-desktop/linphone-app/ui/modules/Common/Dialog/DateTimeDialog.qml
Julien Wadel 307182dbe4 Fix on enabling Ephemeral on chat room creation. It wasn't enabled if the creation comes from remote user.
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.
2023-09-15 11:55:46 +02:00

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
}
}
}