diff options
author | Cristián Maureira-Fredes <cmaureirafredes@gmail.com> | 2019-03-13 18:22:45 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-03-15 12:50:38 +0000 |
commit | b503ea7f06147f9e64cd03d9454aafb40997c3f7 (patch) | |
tree | 3328efa6d368eee9e2fefa2c5f499bd42c510d4c /src/tools | |
parent | 1660d3301a3b806fc52eae4c8bac8713b89e462a (diff) |
Add more Python features
On the wizard related to Main Windows, not there are more
options to specify the name of the files and classes.
It's possible to Add and Remove files on Python projects
that use the new .pyproject file.
Improved the empty application,
to template the .pyproject file and use the proper name
for the file.
Added the icons for file overlay.
Change-Id: Iaba7feda69e0f608260b5fb1d1b04b2a42b08c2d
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/iconlister/iconlister.cpp | 2 | ||||
-rw-r--r-- | src/tools/icons/qtcreatoricons.svg | 74 |
2 files changed, 64 insertions, 12 deletions
diff --git a/src/tools/iconlister/iconlister.cpp b/src/tools/iconlister/iconlister.cpp index 509214cc25..522cd1891b 100644 --- a/src/tools/iconlister/iconlister.cpp +++ b/src/tools/iconlister/iconlister.cpp @@ -327,6 +327,8 @@ void IconLister::addProjectExplorerIcons() ""}, {QIcon(":/projectexplorer/images/fileoverlay_h.png"), "fileoverlay_h.png", prefix, ""}, + {QIcon(":/projectexplorer/images/fileoverlay_py.png"), "fileoverlay_py.png", prefix, + ""}, {QIcon(":/projectexplorer/images/fileoverlay_unknown.png"), "fileoverlay_unknown.png", prefix, ""}, diff --git a/src/tools/icons/qtcreatoricons.svg b/src/tools/icons/qtcreatoricons.svg index 0d862c0c59..867d5adb4c 100644 --- a/src/tools/icons/qtcreatoricons.svg +++ b/src/tools/icons/qtcreatoricons.svg @@ -14,7 +14,7 @@ height="600" id="svg2" version="1.1" - inkscape:version="0.92.1 r15371" + inkscape:version="0.92.4 5da689c313, 2019-01-14" sodipodi:docname="qtcreatoricons.svg"> <defs id="defs4"> @@ -561,19 +561,19 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="4" - inkscape:cx="407.31417" - inkscape:cy="170.08332" + inkscape:zoom="22.627417" + inkscape:cx="237.74824" + inkscape:cy="69.256677" inkscape:document-units="px" - inkscape:current-layer="g4718" - showgrid="true" + inkscape:current-layer="g2486" + showgrid="false" showguides="true" inkscape:guide-bbox="true" - inkscape:window-width="2880" - inkscape:window-height="1503" - inkscape:window-x="-13" - inkscape:window-y="527" - inkscape:window-maximized="1" + inkscape:window-width="1900" + inkscape:window-height="1042" + inkscape:window-x="2570" + inkscape:window-y="28" + inkscape:window-maximized="0" inkscape:snap-grids="true"> <inkscape:grid type="xygrid" @@ -612,7 +612,7 @@ inkscape:locked="false" /> <sodipodi:guide orientation="0,1" - position="0,80" + position="232,80" id="guide4545" inkscape:locked="false" /> <sodipodi:guide @@ -10120,6 +10120,56 @@ x="753" y="48" /> </g> + <g + transform="translate(116)" + id="src/plugins/projectexplorer/images/fileoverlay_py" + inkscape:export-filename="/home/crmaurei/dev/qt-creator/src/plugins/projectexplorer/images/fileoverlay_py.png" + inkscape:export-xdpi="192" + inkscape:export-ydpi="192"> + <g + id="g6226"> + <g + id="g2486"> + <rect + style="opacity:1;fill:none;fill-opacity:1;stroke:none;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="rect4941-3-5-0-5-4-6" + width="16" + height="16" + x="96" + y="520" + inkscape:export-filename="/home/crmaurei/dev/qt-creator/src/plugins/projectexplorer/images/fileoverlay_py@2x.png" + inkscape:export-xdpi="192" + inkscape:export-ydpi="192" /> + <path + style="opacity:0.75;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 105.5,528 c -0.28499,-0.0813 -1.57177,-0.0662 -1.87546,-0.0966 -0.93436,-0.0937 -1.86374,-0.15612 -1.85285,0.50571 l 0.0998,6.06281 c 0.6725,0.36107 1.28181,0.15078 1.8106,0.0591 0.25808,-0.0786 -0.006,-1.57127 0.42781,-1.58114 0.18464,-0.004 0.86225,-0.10358 1.56983,-0.17361 0.77225,-0.80046 0.63718,-1.17577 1.16924,-0.0679 0.47064,0.005 0.78828,0.0743 0.71439,0.27346 -0.46327,1.26186 0.081,1.53464 0.54464,1.61459 0.54739,0.0944 1.41432,0.01 1.73732,-1.05221 L 111,528.5 c -0.10018,-0.36741 -0.62147,-0.77874 -1.06629,-0.71274 L 108.5,528 H 107 Z" + id="path5937-7" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cssccscccsccsccc" + inkscape:export-filename="/home/crmaurei/dev/qt-creator/src/plugins/projectexplorer/images/fileoverlay_py@2x.png" + inkscape:export-xdpi="192" + inkscape:export-ydpi="192" /> + <g + aria-label="py" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8.49317265px;line-height:1.25;font-family:Titillium;-inkscape-font-specification:Titillium;letter-spacing:0px;word-spacing:0px;fill:#2e5e84;fill-opacity:1;stroke:none;stroke-width:0.02123293;stroke-miterlimit:4;stroke-dasharray:none" + id="text6220" + inkscape:export-filename="/home/crmaurei/dev/qt-creator/src/plugins/projectexplorer/images/fileoverlay_py@2x.png" + inkscape:export-xdpi="192" + inkscape:export-ydpi="192"> + <path + d="m 102.23001,534.27502 h 1.13808 v -1.74959 c 0,0 0.39069,0.0679 0.70494,0.0679 1.29945,0 1.92795,-0.45014 1.92795,-2.25918 0,-1.57973 -0.55206,-2.19124 -1.67316,-2.19124 -0.41616,0 -0.96822,0.33123 -0.96822,0.33123 v -0.22931 h -1.12959 v 0.69094 z m 1.87699,-5.11289 c 0.45014,0 0.7389,0.31425 0.7389,1.17206 0,0.90028 -0.17835,1.27398 -0.85781,1.27398 -0.23781,0 -0.62,-0.051 -0.62,-0.051 v -2.22522 c 0,0 0.39069,-0.16986 0.73891,-0.16986 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Titillium;-inkscape-font-specification:'Titillium Bold';fill:#2e5e84;fill-opacity:1;stroke-width:0.02123293" + id="path2488" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccsssccccccsscccc" /> + <path + d="m 106.40108,528.24487 1.04466,4.24659 h 0.79836 l -0.46712,1.78356 h 1.1126 l 1.4948,-6.03015 h -1.1211 l -0.77288,3.27836 h -0.19534 l -0.77288,-3.27836 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Titillium;-inkscape-font-specification:'Titillium Bold';fill:#2e5e84;fill-opacity:1;stroke-width:0.02123293" + id="path2490" /> + </g> + </g> + </g> + </g> </g> <g id="src/plugins/vcsbase/images/submit_arrow"> |