From 047292cf46279f77903c2c69c210bcf73e6e958f Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Mon, 8 Nov 2021 10:38:45 +0100 Subject: [PATCH] QmlDesigner: Add translation font icons Change-Id: Ie6ca22bd51997e8a0d9aadd73dd44935e824bb73 Reviewed-by: Brook Cronin Reviewed-by: Thomas Hartmann --- .../imports/StudioTheme/InternalConstants.qml | 166 +++++++++--------- .../imports/StudioTheme/icons.ttf | Bin 20464 -> 21896 bytes .../components/componentcore/theme.h | 8 + 3 files changed, 95 insertions(+), 79 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/InternalConstants.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/InternalConstants.qml index 0dff2cba8ba..8b2e6698bd9 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/InternalConstants.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/InternalConstants.qml @@ -23,7 +23,7 @@ ** ****************************************************************************/ -import QtQuick 2.10 +import QtQuick 2.15 QtObject { readonly property int width: 1920 @@ -95,84 +95,92 @@ QtObject { readonly property string distributeSpacingHorizontal: "\u005A" readonly property string distributeSpacingVertical: "\u005B" readonly property string distributeTop: "\u005C" - readonly property string edit: "\u005D" - readonly property string eyeDropper: "\u005E" - readonly property string flowAction: "\u005F" - readonly property string flowTransition: "\u0060" - readonly property string fontStyleBold: "\u0061" - readonly property string fontStyleItalic: "\u0062" - readonly property string fontStyleStrikethrough: "\u0063" - readonly property string fontStyleUnderline: "\u0064" - readonly property string gradient: "\u0065" - readonly property string gridView: "\u0066" - readonly property string idAliasOff: "\u0067" - readonly property string idAliasOn: "\u0068" - readonly property string infinity: "\u0069" - readonly property string keyframe: "\u006A" - readonly property string linkTriangle: "\u006B" - readonly property string linked: "\u006C" - readonly property string listView: "\u006D" - readonly property string lockOff: "\u006E" - readonly property string lockOn: "\u006F" - readonly property string mergeCells: "\u0070" - readonly property string minus: "\u0071" - readonly property string mirror: "\u0072" - readonly property string orientation: "\u0073" - readonly property string paddingEdge: "\u0074" - readonly property string paddingFrame: "\u0075" - readonly property string pasteStyle: "\u0076" - readonly property string pause: "\u0077" - readonly property string pin: "\u0078" - readonly property string play: "\u0079" - readonly property string plus: "\u007A" - readonly property string promote: "\u007B" - readonly property string readOnly: "\u007C" - readonly property string redo: "\u007D" - readonly property string rotationFill: "\u007E" - readonly property string rotationOutline: "\u007F" - readonly property string search: "\u0080" - readonly property string sectionToggle: "\u0081" - readonly property string splitColumns: "\u0082" - readonly property string splitRows: "\u0083" - readonly property string startNode: "\u0084" - readonly property string testIcon: "\u0085" - readonly property string textAlignBottom: "\u0086" - readonly property string textAlignCenter: "\u0087" - readonly property string textAlignJustified: "\u0088" - readonly property string textAlignLeft: "\u0089" - readonly property string textAlignMiddle: "\u008A" - readonly property string textAlignRight: "\u008B" - readonly property string textAlignTop: "\u008C" - readonly property string textBulletList: "\u008D" - readonly property string textFullJustification: "\u008E" - readonly property string textNumberedList: "\u008F" - readonly property string tickIcon: "\u0090" - readonly property string transparent: "\u0091" - readonly property string triState: "\u0092" - readonly property string triangleArcA: "\u0093" - readonly property string triangleArcB: "\u0094" - readonly property string triangleCornerA: "\u0095" - readonly property string triangleCornerB: "\u0096" - readonly property string unLinked: "\u0097" - readonly property string undo: "\u0098" - readonly property string unpin: "\u0099" - readonly property string upDownIcon: "\u009A" - readonly property string upDownSquare2: "\u009B" - readonly property string visibilityOffBroken: "\u009C" // visibilityOff - readonly property string visibilityOff: "\u009D" // visibilityOff2 - readonly property string visibilityOn: "\u009E" - readonly property string wildcard: "\u009F" - readonly property string wizardsAutomotive: "\u00A0" - readonly property string wizardsDesktop: "\u00A1" - readonly property string wizardsGeneric: "\u00A2" - readonly property string wizardsMcuEmpty: "\u00A3" - readonly property string wizardsMcuGraph: "\u00A4" - readonly property string wizardsMobile: "\u00A5" - readonly property string wizardsUnknown: "\u00A6" - readonly property string zoomAll: "\u00A7" - readonly property string zoomIn: "\u00A8" - readonly property string zoomOut: "\u00A9" - readonly property string zoomSelection: "\u00AA" + readonly property string download: "\u005D" + readonly property string edit: "\u005E" + readonly property string eyeDropper: "\u005F" + readonly property string favorite: "\u0060" + readonly property string flowAction: "\u0061" + readonly property string flowTransition: "\u0062" + readonly property string fontStyleBold: "\u0063" + readonly property string fontStyleItalic: "\u0064" + readonly property string fontStyleStrikethrough: "\u0065" + readonly property string fontStyleUnderline: "\u0066" + readonly property string gradient: "\u0067" + readonly property string gridView: "\u0068" + readonly property string idAliasOff: "\u0069" + readonly property string idAliasOn: "\u006A" + readonly property string infinity: "\u006B" + readonly property string keyframe: "\u006C" + readonly property string linkTriangle: "\u006D" + readonly property string linked: "\u006E" + readonly property string listView: "\u006F" + readonly property string lockOff: "\u0070" + readonly property string lockOn: "\u0071" + readonly property string mergeCells: "\u0072" + readonly property string minus: "\u0073" + readonly property string mirror: "\u0074" + readonly property string orientation: "\u0075" + readonly property string paddingEdge: "\u0076" + readonly property string paddingFrame: "\u0077" + readonly property string pasteStyle: "\u0078" + readonly property string pause: "\u0079" + readonly property string pin: "\u007A" + readonly property string play: "\u007B" + readonly property string plus: "\u007C" + readonly property string promote: "\u007D" + readonly property string readOnly: "\u007E" + readonly property string redo: "\u007F" + readonly property string rotationFill: "\u0080" + readonly property string rotationOutline: "\u0081" + readonly property string search: "\u0082" + readonly property string sectionToggle: "\u0083" + readonly property string splitColumns: "\u0084" + readonly property string splitRows: "\u0085" + readonly property string startNode: "\u0086" + readonly property string testIcon: "\u0087" + readonly property string textAlignBottom: "\u0088" + readonly property string textAlignCenter: "\u0089" + readonly property string textAlignJustified: "\u008A" + readonly property string textAlignLeft: "\u008B" + readonly property string textAlignMiddle: "\u008C" + readonly property string textAlignRight: "\u008D" + readonly property string textAlignTop: "\u008E" + readonly property string textBulletList: "\u008F" + readonly property string textFullJustification: "\u0090" + readonly property string textNumberedList: "\u0091" + readonly property string tickIcon: "\u0092" + readonly property string translationCreateFiles: "\u0093" + readonly property string translationCreateReport: "\u0094" + readonly property string translationExport: "\u0095" + readonly property string translationImport: "\u0096" + readonly property string translationSelectLanguages: "\u0097" + readonly property string translationTest: "\u0098" + readonly property string transparent: "\u0099" + readonly property string triState: "\u009A" + readonly property string triangleArcA: "\u009B" + readonly property string triangleArcB: "\u009C" + readonly property string triangleCornerA: "\u009D" + readonly property string triangleCornerB: "\u009E" + readonly property string unLinked: "\u009F" + readonly property string undo: "\u00A0" + readonly property string unpin: "\u00A1" + readonly property string upDownIcon: "\u00A2" + readonly property string upDownSquare2: "\u00A3" + readonly property string visibilityOffBroken: "\u00A4" // visibilityOff + readonly property string visibilityOff: "\u00A5" // visibilityOff2 + readonly property string visibilityOn: "\u00A6" + readonly property string wildcard: "\u00A7" + readonly property string wizardsAutomotive: "\u00A8" + readonly property string wizardsDesktop: "\u00A9" + readonly property string wizardsGeneric: "\u00AA" + readonly property string wizardsMcuEmpty: "\u00AB" + readonly property string wizardsMcuGraph: "\u00AC" + readonly property string wizardsMobile: "\u00AD" + readonly property string wizardsUnknown: "\u00AE" + readonly property string zoomAll: "\u00AF" + readonly property string zoomIn: "\u00B0" + readonly property string zoomOut: "\u00B1" + readonly property string zoomSelection: "\u00B2" readonly property font iconFont: Qt.font({ "family": controlIcons.name, diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/icons.ttf b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/icons.ttf index 403bb7205ade2b259d1d70370c82fe762623eb09..24141fcc8376a2d55af938a1c3c46f06e288f1b5 100644 GIT binary patch delta 2118 zcmew`pRr>#V?6^S0|NsuLjwadLx7uGi0^dMmSP5m&>RK^1{wcgeWS>ZR6hm=#s~%m zhJ@tY!~(Ax7YzmmrZ)@>j84gAB?=6ROqC1_ECvh=3@qu1#RdQWGcYqSgr+bsFmR;j zRHiNL<&$S%U`=3Pa1zK!O-xbzoN$|gf#D7V1A|#cMrwT`*Vq3O85kHv7#J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05OSCm2sYIOr2>zL&km>Jj^xEc5vgc&3mR2dkA z6$KR;6-5;pK{PZ)s;Zldn~O8E$BMJ7v#Xnfcv;LMf8H=X{p-cF4T2d>86E%aXLS7g z-&8_2K}=LjOALmX<^ISrZ_WJkkm=oj20y>QetxgaL}lZ}|9yn15Yy6PVAw2ev_?SP zl+hGi7celeFi0}ahq7521Q>5a*=!7wObV0VIq9lrF`Q&zW?*FDWME-1V$6oJSs4@< zcS6~03`UG^Haj^hF|u1Q=rR~G7*5W0vEa1OH8j*UGB7fnY~UI&`M*o!e+Fg-2LCe*3=ACU zIhARw)z_jJ7+4(`7;Hl_QWH}Y&$ZoWU|_hzz`$UZk&#-T$o2LAL1abvI|rCtPBE-_n>Sx21zF6$*0_P)pHn5GB7hRvT!o6Fc>lBLD{Sf z3XFT8Y&HfX#`l}$Jd_wYjTlTBbQug83?{pKT5uVe>KYp88W|WFPHylBn0&*tadL#0 mB4h97DlaL<%}czUStft+m)I;Bz{$LMNAOWbZg^xVUIYL%l&(Yo diff --git a/src/plugins/qmldesigner/components/componentcore/theme.h b/src/plugins/qmldesigner/components/componentcore/theme.h index 2ef1f82cbb6..159824b1f77 100644 --- a/src/plugins/qmldesigner/components/componentcore/theme.h +++ b/src/plugins/qmldesigner/components/componentcore/theme.h @@ -103,8 +103,10 @@ public: distributeSpacingHorizontal, distributeSpacingVertical, distributeTop, + download, edit, eyeDropper, + favorite, flowAction, flowTransition, fontStyleBold, @@ -155,6 +157,12 @@ public: textFullJustification, textNumberedList, tickIcon, + translationCreateFiles, + translationCreateReport, + translationExport, + translationImport, + translationSelectLanguages, + translationTest, transparent, triState, triangleArcA,