Index: sources/gui/qml/components/TouchArea.qml =================================================================== diff -u -r56e378f7504701b9e9a9dccaf205aef2fd52c58e -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/components/TouchArea.qml (.../TouchArea.qml) (revision 56e378f7504701b9e9a9dccaf205aef2fd52c58e) +++ sources/gui/qml/components/TouchArea.qml (.../TouchArea.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-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 TouchArea.qml - * \author (last) Peter Lucia - * \date (last) 25-Jun-2020 - * \author (original) Behrouz NematiPour - * \date (original) 11-Jan-2020 + * \file TouchArea.qml + * \author (last) Behrouz NematiPour + * \date (last) 26-Sep-2023 + * \author (original) Behrouz NematiPour + * \date (original) 11-Jan-2020 * */ @@ -31,6 +31,7 @@ property string title : "" property int titleLetterSpacing : 3 property bool isTouchable : true + property bool hasArrow : true property alias notification : _notification @@ -44,6 +45,8 @@ top: parent.top left: parent.left } + height: Variables.arrowHeight + verticalAlignment: Text.AlignVCenter text: _root.title font { pixelSize: Fonts.fontPixelTouchAreaTitle @@ -53,14 +56,14 @@ } Image { id: _arrowImage - visible: isTouchable + visible: isTouchable && hasArrow anchors { top: parent.top right: parent.right } width : Variables.arrowWidth height: Variables.arrowHeight - source: "qrc:/images/iArrow" + source: "qrc:/images/iArrowRight" } MouseArea { id: _mouseArea