import QtQuick 2.15 Text { property int icon property int iconSize: 20 property color iconColor: FluTheme.isDark ? "#FFFFFF" : "#000000" id:text_icon font.family: "fontawesome" font.pixelSize: iconSize horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter color: iconColor text: (String.fromCharCode(icon).toString(16)); }