Index: sources/gui/qml/components/ModalDialog.qml =================================================================== diff -u -r45ce6e781782be5de1480a1e7acecd1d272bcc84 -rbd476995001c165188e4c86010bf8b0505d2ca35 --- sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision 45ce6e781782be5de1480a1e7acecd1d272bcc84) +++ sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision bd476995001c165188e4c86010bf8b0505d2ca35) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2019-2022 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * - * \file ModalDialog.qml - * \author (last) Peter Lucia - * \date (last) 25-Jun-2020 - * \author (original) Behrouz NematiPour - * \date (original) 21-Oct-2019 + * \file ModalDialog.qml + * \author (last) Behrouz NematiPour + * \date (last) 18-Jun-2021 + * \author (original) Behrouz NematiPour + * \date (original) 21-Oct-2019 * */ @@ -29,11 +29,11 @@ property bool autoHide : false property int autoHideDuration : 1000 - property alias notificationText : _notification.text property alias backgroundColor : _backgroundRect.color property alias textColor : _notification.textColor property alias border : _backgroundRect.border property alias radius : _backgroundRect.radius + property alias notificationText : _notification.text property alias notification : _notification width : Variables.dialogWidth @@ -42,8 +42,8 @@ visible : false anchors.centerIn: parent - enter: Transition { NumberAnimation { property: "opacity"; from: 0.0; to: 1.0 } } - exit : Transition { NumberAnimation { property: "opacity"; from: 1.0; to: 0.0 } } + enter: Transition { NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; duration: 200 } } + exit : Transition { NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; duration: 200 } } modal: true @@ -75,5 +75,5 @@ } } - NotificationBar { id: _notification } + NotificationBarSmall { id: _notification } }