Index: sources/gui/qml/dialogs/NotificationDialog.qml =================================================================== diff -u -r44a85c96ab55e424866ec4cca0270aa218355f82 -rbf645acccabb7b5a84801620c4f7fa0b0e6878e0 --- sources/gui/qml/dialogs/NotificationDialog.qml (.../NotificationDialog.qml) (revision 44a85c96ab55e424866ec4cca0270aa218355f82) +++ sources/gui/qml/dialogs/NotificationDialog.qml (.../NotificationDialog.qml) (revision bf645acccabb7b5a84801620c4f7fa0b0e6878e0) @@ -1,16 +1,16 @@ /*! - * + * * Copyright (c) 2019-2020 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 NotificationDialog.qml * \author (last) Peter Lucia * \date (last) 26-Jun-2020 * \author (original) Peter Lucia * \date (original) 02-Jun-2020 - * + * */ // Qt @@ -25,6 +25,8 @@ * \brief Contains the PowerOff Dialog Implementation */ ModalDialog { id : _root + contentItem.objectName: "_NotificationDialog" // SquishQt + property alias titleText : _title.text; property alias description : _desc.text; property alias titleBarForeground : _title.color @@ -33,8 +35,9 @@ property alias dismissBtn : _dismiss; property bool isSilenced : false; property int alarmID : -1 - objectName: "_notification_dialog" // SquishQt + visible: description + signal clickedSilence(); signal clickedOkay(); @@ -77,8 +80,8 @@ anchors.centerIn: _titleBar; } } - Text { - id: _desc + Text { id: _desc + objectName: "_NotificationDialog_Description" color: Colors.textMain font.pixelSize: Fonts.fontPixelButton anchors {