Index: sources/gui/qml/components/EntryDialog.qml =================================================================== diff -u -r6233e005c77ee0aa10e80c02254a21f2042b840b -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/components/EntryDialog.qml (.../EntryDialog.qml) (revision 6233e005c77ee0aa10e80c02254a21f2042b840b) +++ sources/gui/qml/components/EntryDialog.qml (.../EntryDialog.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2021-2024 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 EntryDialog.qml * \author (last) Behrouz NematiPour + * \date (last) 28-Feb-2023 * \author (original) Behrouz NematiPour - * \date (last) 18-06-2021 - * \date (original) 18-06-2021 + * \date (original) 18-Jun-2021 * */ @@ -33,7 +33,10 @@ signal autoHidden () signal closeClicked() signal confirmClicked() + signal opened () + signal closed ( bool vQuit ) + property bool closeVisible : true property bool confirmVisible : true property bool confirmEnabled : true @@ -50,8 +53,10 @@ property alias notification : _notification property alias titleText : _titleText.text - function open () { opacity = 1 } - function close () { opacity = 0 } + function open ( ) { opacity = 1 + opened ( ) } + function close ( vQuit ) { opacity = 0 + closed ( vQuit ) } width : Variables.applicationWidth height : Variables.applicationHeight