Index: sources/gui/qml/components/TextRect.qml =================================================================== diff -u -r56e378f7504701b9e9a9dccaf205aef2fd52c58e -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/components/TextRect.qml (.../TextRect.qml) (revision 56e378f7504701b9e9a9dccaf205aef2fd52c58e) +++ sources/gui/qml/components/TextRect.qml (.../TextRect.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 TextRect.qml - * \author (last) Behrouz NematiPour - * \date (last) 27-Mar-2020 - * \author (original) Behrouz NematiPour - * \date (original) 11-Jan-2020 + * \file TextRect.qml + * \author (last) Vy + * \date (last) 20-Mar-2023 + * \author (original) Behrouz NematiPour + * \date (original) 11-Jan-2020 * */ @@ -23,7 +23,7 @@ /*! * \brief The TextRect Component * which is a static text rectangle area containing title and a text blow it - * with and extra text next to it whcih can be used for example for unit. + * with and extra text next to it which can be used for example for unit texts. */ Item { id : _root property string title : "" @@ -36,6 +36,8 @@ property alias labelHeight : _labelText.height property alias labelFont : _labelText.font + property alias extraLabelPixelSize : _extraText.font.pixelSize + property string extra : "" property string extraColor : Colors.textTextRectExtra