Index: sources/gui/qml/components/DebugDataColumn.qml =================================================================== diff -u -r54221e0e6482d4124661190fab14551cba0ec535 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/components/DebugDataColumn.qml (.../DebugDataColumn.qml) (revision 54221e0e6482d4124661190fab14551cba0ec535) +++ sources/gui/qml/components/DebugDataColumn.qml (.../DebugDataColumn.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 DebugDataColumn.qml - * \author (last) Behrouz NematiPour - * \date (last) 23-Aug-2020 - * \author (original) Behrouz NematiPour - * \date (original) 23-Aug-2020 + * \file DebugDataColumn.qml + * \author (last) Behrouz NematiPour + * \date (last) 28-May-2023 + * \author (original) Behrouz NematiPour + * \date (original) 23-Aug-2020 * */ @@ -27,38 +27,48 @@ property var model: [] property var label: [] property string title: "Title" - property int fontPixelSizeTitle: 30 - property int fontPixelSizeText : 38 + property int fontPixelSizeTitle: Fonts.fontPixelDebugTitle + property int fontPixelSizeText : Fonts.fontPixelDebugText + property int fontPixelSizeLabel: Fonts.fontPixelDebugLabel + property string textObjectName: "_DebugDataColumn" + property int horizontalAlignmentTitle: Text.AlignRight + property int horizontalAlignmentText : Text.AlignRight + width : 150 - spacing : -14 + spacing : -15 Text { id: _title text : _root.title width : _root.width - horizontalAlignment: Text.AlignRight + horizontalAlignment: _root.horizontalAlignmentTitle color: Colors.textMain font.pixelSize: fontPixelSizeTitle font.underline: true + bottomPadding: 5 + font.family: Fonts.fontFamilyFixed } Repeater { id: _repeater model: _root.model - Text { + Text { id: _text objectName: _root.textObjectName + index text: modelData width: _root.width - horizontalAlignment: Text.AlignRight + horizontalAlignment: _root.horizontalAlignmentText color: Colors.textMain font.pixelSize: fontPixelSizeText + font.family: Fonts.fontFamilyFixed + Text { objectName : _root.textObjectName + "L" + index text : (index < _root.label.length) ? _root.label[index] : "" color : Colors.textMain - font.pixelSize : 15 + font.pixelSize : fontPixelSizeLabel anchors.baseline: parent.baseline anchors.left : parent.right horizontalAlignment: Text.AlignLeft + font.family: Fonts.fontFamilyFixed } } }