Index: sources/gui/qml/dialogs/NotificationDialog.qml =================================================================== diff -u -rc71deaab48699cffdf9db816dfac2778d79c2238 -rd1907168ef46faa6de1ada400cad789f8379041f --- sources/gui/qml/dialogs/NotificationDialog.qml (.../NotificationDialog.qml) (revision c71deaab48699cffdf9db816dfac2778d79c2238) +++ sources/gui/qml/dialogs/NotificationDialog.qml (.../NotificationDialog.qml) (revision d1907168ef46faa6de1ada400cad789f8379041f) @@ -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 {