Index: sources/gui/qml/components/TouchArea.qml =================================================================== diff -u -r73b965e55528619f22a12ae3b3408c9dcecc9144 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/components/TouchArea.qml (.../TouchArea.qml) (revision 73b965e55528619f22a12ae3b3408c9dcecc9144) +++ sources/gui/qml/components/TouchArea.qml (.../TouchArea.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,14 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. - * \copyright \n - * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, \n - * IN PART OR IN WHOLE, \n - * WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. \n + * 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 - * \date 2019/01/09 - * \author Behrouz NematiPour + * \author (last) Behrouz NematiPour + * \date (last) 26-Sep-2023 + * \author (original) Behrouz NematiPour + * \date (original) 11-Jan-2020 * */ @@ -30,6 +31,7 @@ property string title : "" property int titleLetterSpacing : 3 property bool isTouchable : true + property bool hasArrow : true property alias notification : _notification @@ -43,6 +45,8 @@ top: parent.top left: parent.left } + height: Variables.arrowHeight + verticalAlignment: Text.AlignVCenter text: _root.title font { pixelSize: Fonts.fontPixelTouchAreaTitle @@ -52,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