Add field properties icon: opamp + T

This was just a text icon, which was not clear about the function
of the button.
This commit is contained in:
John Beard 2018-07-25 11:35:46 +01:00 committed by Jeff Young
parent d0b13c90d8
commit f01cf15528
5 changed files with 210 additions and 1 deletions

View File

@ -255,6 +255,7 @@ set( BMAPS_MID
export_step export_step
export export
fabrication fabrication
field_properties
file_footprint file_footprint
fill_zone fill_zone
find find

View File

@ -0,0 +1,57 @@
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c,
0xce, 0x00, 0x00, 0x02, 0x84, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xe5, 0x95, 0x6f, 0x48, 0x13,
0x71, 0x18, 0xc7, 0x9f, 0xdd, 0xee, 0x7a, 0x17, 0x92, 0xf5, 0xc2, 0x66, 0x85, 0x09, 0xab, 0x17,
0x7b, 0xdd, 0xbb, 0x88, 0x11, 0xd1, 0x3b, 0x91, 0xea, 0x45, 0x45, 0x7b, 0x51, 0x2f, 0x32, 0x32,
0x2a, 0x22, 0x28, 0xe8, 0x45, 0x39, 0x08, 0x63, 0xb6, 0x17, 0x15, 0x21, 0xfd, 0xb3, 0xed, 0xce,
0x92, 0xca, 0xb6, 0x82, 0x28, 0x92, 0x74, 0xad, 0xc2, 0x49, 0xac, 0x69, 0xa1, 0x96, 0x0a, 0x4b,
0x36, 0xf4, 0x45, 0x61, 0x53, 0xd7, 0x2a, 0x6e, 0xb6, 0x7b, 0x7a, 0x7e, 0xe7, 0x6e, 0x6c, 0xab,
0xec, 0xb6, 0xb9, 0x57, 0x1d, 0x7c, 0xb9, 0x83, 0x7b, 0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x6b, 0x56, 0x25, 0x25, 0x81, 0x8f, 0x11, 0xac, 0xbe, 0xe4, 0x61, 0x58, 0x48,
0x33, 0x1f, 0x9f, 0x63, 0xa0, 0x71, 0x8f, 0x22, 0x72, 0x06, 0x45, 0x32, 0x1a, 0xef, 0xdf, 0x06,
0x58, 0x56, 0x16, 0x90, 0xa6, 0x71, 0x6f, 0x2b, 0xde, 0xab, 0xae, 0x92, 0x29, 0xbb, 0x29, 0x09,
0xe0, 0x32, 0x65, 0x78, 0x92, 0x89, 0xfa, 0x68, 0x59, 0x54, 0x50, 0xec, 0x43, 0x17, 0x3e, 0xab,
0xdb, 0xfc, 0x53, 0x34, 0x18, 0x14, 0x32, 0x1f, 0x27, 0xbd, 0x21, 0x05, 0x09, 0xb6, 0x4d, 0x37,
0x28, 0x7c, 0xe7, 0x02, 0xf6, 0x36, 0xec, 0xca, 0x31, 0xfe, 0x3e, 0x35, 0x84, 0x72, 0x3c, 0xaa,
0x2a, 0x36, 0xd8, 0x87, 0x43, 0xe7, 0x5b, 0x52, 0x83, 0x0e, 0x47, 0xfc, 0x4b, 0x28, 0xe4, 0x42,
0xc4, 0xa6, 0x2c, 0x59, 0x75, 0x81, 0xde, 0xb7, 0xda, 0xb1, 0x6b, 0xeb, 0x46, 0xf4, 0x98, 0x6b,
0x30, 0x78, 0x62, 0xbf, 0xba, 0x4f, 0x0c, 0xc4, 0x00, 0x26, 0x93, 0xe9, 0x9f, 0x62, 0x30, 0x5d,
0xa0, 0xd1, 0xb6, 0x73, 0xd8, 0x53, 0xbf, 0x05, 0x1f, 0x5a, 0xcc, 0xd8, 0xdf, 0x74, 0x24, 0x33,
0x75, 0x33, 0x23, 0x41, 0xd5, 0xe8, 0x53, 0x20, 0x20, 0x7f, 0x0e, 0x06, 0x45, 0x32, 0xf4, 0xa7,
0x8d, 0xfd, 0xe9, 0x4c, 0xfc, 0xbf, 0x81, 0xda, 0x00, 0x96, 0x52, 0x3d, 0x07, 0x48, 0x61, 0x4d,
0x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, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE field_properties_xpm[1] = {{ png, sizeof( png ), "field_properties_xpm" }};
//EOF

View File

@ -0,0 +1,150 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="26"
width="26"
version="1.1"
viewBox="0 0 26 26"
id="svg2"
inkscape:version="0.92.2 2405546, 2018-03-11"
sodipodi:docname="field_properties.svg">
<metadata
id="metadata186">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1914"
inkscape:window-height="824"
id="namedview184"
showgrid="true"
inkscape:zoom="4"
inkscape:cx="32.617449"
inkscape:cy="16.175752"
inkscape:window-x="1680"
inkscape:window-y="234"
inkscape:window-maximized="0"
inkscape:current-layer="layer2"
inkscape:snap-grids="true"
inkscape:snap-to-guides="false"
showguides="false">
<inkscape:grid
type="xygrid"
id="grid4194" />
</sodipodi:namedview>
<defs
id="defs4">
<linearGradient
id="linearGradient3846">
<stop
style="stop-color:#d2d2d2;stop-opacity:1"
offset="0"
id="stop3848" />
<stop
id="stop3793"
offset="0.61904764"
style="stop-color:#c3c3c3;stop-opacity:1" />
<stop
style="stop-color:#d2d2d2;stop-opacity:1"
offset="1"
id="stop3850" />
</linearGradient>
</defs>
<g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="Opamp">
<path
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#f3e5c5;fill-opacity:1;fill-rule:nonzero;stroke:#a00000;stroke-width:1.26200008;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 6.6666347,3.4684673 V 22.815932 L 20.966934,13.142201 Z"
id="path2990"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#d3be59;fill-opacity:0.23137255;fill-rule:nonzero;stroke:#a00000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 8.7121695,9.961778 H 11.59436"
id="path3760"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3762"
d="M 8.7121695,15.993498 H 11.59436"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#d3be59;fill-opacity:0.23137255;fill-rule:nonzero;stroke:#a00000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
<path
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#d3be59;fill-opacity:0.23137255;fill-rule:nonzero;stroke:#a00000;stroke-width:1.26200008;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 20.966934,13.142201 h 2.944178"
id="path3766"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<g
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#d3be59;fill-opacity:0.23137255;fill-rule:nonzero;stroke:#a00000;stroke-width:1.50024843;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
id="g4938"
transform="matrix(0.84119403,0,0,0.84119403,2.8812618,0.92925373)">
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3768"
d="M 4.5,9 H -0.45323882"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#d3be59;fill-opacity:0.23137255;fill-rule:nonzero;stroke:#a00000;stroke-width:1.50024843;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3770"
d="M 4.5,20.037168 H -0.45323882"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#d3be59;fill-opacity:0.23137255;fill-rule:nonzero;stroke:#a00000;stroke-width:1.50024843;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
</g>
<path
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#d3be59;fill-opacity:0.23137255;fill-rule:nonzero;stroke:#a00000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 10.153265,14.552402 v 2.882191"
id="path3813"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="Overlay">
<g
id="g27855"
style="fill:#ffffff;stroke:#ffffff">
<path
id="path27853"
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 17,24 v 1 h 5 v -1 z m 6,-8 v 1.5 h 1 V 16 Z m -8,0 v 1.5 h 1 V 16 Z m 0,-1 v 1 h 9 v -1 z m 4,1 v 8 h 1 V 22.972699 16 Z"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccccccccccccccccccc" />
</g>
<g
id="g27851">
<path
sodipodi:nodetypes="ccccccccccccccccccccccccc"
inkscape:connector-curvature="0"
d="m 17,24 v 1 h 5 v -1 z m 6,-8 v 1.5 h 1 V 16 Z m -8,0 v 1.5 h 1 V 16 Z m 0,-1 v 1 h 9 v -1 z m 4,1 v 8 h 1 v -8 z"
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#1a1a1a;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
id="path3969" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -162,7 +162,7 @@ void LIB_EDIT_FRAME::ReCreateHToolbar()
_( "Edit symbol properties" ) ); _( "Edit symbol properties" ) );
m_mainToolBar->AddTool( ID_LIBEDIT_GET_FRAME_EDIT_FIELDS, wxEmptyString, m_mainToolBar->AddTool( ID_LIBEDIT_GET_FRAME_EDIT_FIELDS, wxEmptyString,
KiScaledBitmap( text_xpm, this ), KiScaledBitmap( field_properties_xpm, this ),
_( "Edit field properties" ) ); _( "Edit field properties" ) );
KiScaledSeparator( m_mainToolBar, this ); KiScaledSeparator( m_mainToolBar, this );

View File

@ -177,6 +177,7 @@ EXTERN_BITMAP( export_part_xpm )
EXTERN_BITMAP( export_step_xpm ) EXTERN_BITMAP( export_step_xpm )
EXTERN_BITMAP( export_xpm ) EXTERN_BITMAP( export_xpm )
EXTERN_BITMAP( fabrication_xpm ) EXTERN_BITMAP( fabrication_xpm )
EXTERN_BITMAP( field_properties_xpm )
EXTERN_BITMAP( file_footprint_xpm ) EXTERN_BITMAP( file_footprint_xpm )
EXTERN_BITMAP( fill_zone_xpm ) EXTERN_BITMAP( fill_zone_xpm )
EXTERN_BITMAP( find_xpm ) EXTERN_BITMAP( find_xpm )