diff options
author | Martin Měřinský <mermar@centrum.cz> | 2017-11-29 10:57:08 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-30 23:14:46 -0800 |
commit | 8ef87e618afd1ec943c0f42a852b3b393c1e2113 (patch) | |
tree | c767de27b2a78d3a85575b2c15ddecd7edcca891 /subsurface.qrc | |
parent | 0855f6f31577789888aa6d9b955c1bc46ed34d40 (diff) | |
download | subsurface-8ef87e618afd1ec943c0f42a852b3b393c1e2113.tar.gz |
Use better aliases for icons.
Icon aliases were complete mess.
Some icons had alias some didn't.
Named with underscores vs. hyphens vs. camelCase.
Lower vs. upper case.
"ICON" prefix vs. suffix vs. nothing.
With vs. without filename suffix.
Some didn't make sence. Eg. mapwidget-marker-gray
(I can see, it's grey, but what does it represent?)
Some were duplicated, eg warning vs. warning-icon.
Some were name after widget, which is wrong.
Do not reinvent wheel. Use widely used naming scheme
close to Freedesktop Icon Naming Specification. This
will enable usage of common icons from current set in
the future. Thus Subsurface will fit nicely to GUI.
This changes icon aliases to one, easy grep-able style.
Signed-off-by: Martin Měřinský <mermar@centrum.cz>
Diffstat (limited to 'subsurface.qrc')
-rw-r--r-- | subsurface.qrc | 133 |
1 files changed, 68 insertions, 65 deletions
diff --git a/subsurface.qrc b/subsurface.qrc index 83b93cc29..d771282a6 100644 --- a/subsurface.qrc +++ b/subsurface.qrc @@ -3,41 +3,44 @@ <file alias="MapWidget.qml">map-widget/qml/MapWidget.qml</file> <file alias="MapWidgetError.qml">map-widget/qml/MapWidgetError.qml</file> <file alias="MapWidgetContextMenu.qml">map-widget/qml/MapWidgetContextMenu.qml</file> - <file alias="mapwidget-marker">map-widget/qml/icons/mapwidget-marker.png</file> - <file alias="mapwidget-marker-gray">map-widget/qml/icons/mapwidget-marker-gray.png</file> - <file alias="mapwidget-marker-selected">map-widget/qml/icons/mapwidget-marker-selected.png</file> - <file alias="mapwidget-toggle-satellite">map-widget/qml/icons/mapwidget-toggle-satellite.png</file> - <file alias="mapwidget-toggle-street">map-widget/qml/icons/mapwidget-toggle-street.png</file> - <file alias="mapwidget-context-menu">map-widget/qml/icons/mapwidget-context-menu.png</file> - <file alias="mapwidget-zoom-in">map-widget/qml/icons/mapwidget-zoom-in.png</file> - <file alias="mapwidget-zoom-out">map-widget/qml/icons/mapwidget-zoom-out.png</file> - <file alias="satellite.svg">icons/satellite.svg</file> - <file alias="star">icons/star.svg</file> + <file alias="dive-location-marker-icon">map-widget/qml/icons/mapwidget-marker.png</file> + <file alias="dive-location-marker-inactive-icon">map-widget/qml/icons/mapwidget-marker-gray.png</file> + <file alias="dive-location-marker-selected-icon">map-widget/qml/icons/mapwidget-marker-selected.png</file> + <file alias="map-style-photo-icon">map-widget/qml/icons/mapwidget-toggle-satellite.png</file> + <file alias="map-style-map-icon">map-widget/qml/icons/mapwidget-toggle-street.png</file> + <file alias="open-menu-icon">map-widget/qml/icons/mapwidget-context-menu.png</file> + <file alias="zoom-in-icon">map-widget/qml/icons/mapwidget-zoom-in.png</file> + <file alias="zoom-out-icon">map-widget/qml/icons/mapwidget-zoom-out.png</file> + <file alias="satellite-icon">icons/satellite.svg</file> + <file alias="graph-icon">icons/graph.png</file> + <file alias="scale-icon">icons/scale.png</file> + <file alias="hide-icon">icons/go-top.svg</file> + <file alias="star-icon">icons/star.svg</file> <file alias="subsurface-icon">icons/subsurface-icon.png</file> <file alias="subsurface-mobile-icon">icons/subsurface-mobile-icon.png</file> - <file alias="plus">icons/plus.png</file> - <file alias="trash">icons/trash.png</file> - <file alias="trashForbidden">icons/trash-forbidden.png</file> - <file alias="units">icons/units.png</file> - <file alias="advanced">icons/advanced.png</file> - <file alias="network">icons/network.png</file> - <file alias="graph">icons/graph.png</file> - <file alias="minimum">icons/minimum.png</file> - <file alias="maximum">icons/maximum.png</file> - <file alias="average">icons/average.png</file> - <file alias="warning">icons/warning.png</file> - <file alias="warning-icon">icons/warning-icon.png</file> - <file alias="violation-icon">icons/violation-icon.png</file> - <file alias="info-icon">icons/info-icon.png</file> - <file alias="gaschange">icons/gaschange.png</file> - <file alias="gaschangeAir">icons/Air_change.png</file> - <file alias="gaschangeNitrox">icons/Nx_change.png</file> - <file alias="gaschangeTrimix">icons/Tmx_change.png</file> - <file alias="gaschangeOxy">icons/Oxy_change.png</file> - <file alias="flag">icons/flag.png</file> - <file alias="scale">icons/scale.png</file> - <file alias="ruler">icons/ruler.png</file> - <file alias="poster">icons/poster.png</file> + <file alias="list-add-icon">icons/plus.png</file> + <file alias="list-remove-icon">icons/trash.png</file> + <file alias="list-remove-disabled-icon">icons/trash-forbidden.png</file> + <file alias="units-icon">icons/units.png</file> + <file alias="advanced-icon">icons/advanced.png</file> + <file alias="preferences-system-network-icon">icons/network.png</file> + <file alias="scale-graph-icon">icons/graph.png</file> + <file alias="value-minimum-icon">icons/minimum.png</file> + <file alias="value-maximum-icon">icons/maximum.png</file> + <file alias="value-average-icon">icons/average.png</file> + <file alias="duplicate-warning-icon">icons/warning.png</file> + <file alias="status-warning-icon">icons/warning-icon.png</file> + <file alias="status-violation-icon">icons/violation-icon.png</file> + <file alias="status-info-icon">icons/info-icon.png</file> + <file alias="gaschange-icon">icons/gaschange.png</file> + <file alias="gaschange-air-icon">icons/Air_change.png</file> + <file alias="gaschange-ean-icon">icons/Nx_change.png</file> + <file alias="gaschange-trimix-icon">icons/Tmx_change.png</file> + <file alias="gaschange-oxygen-icon">icons/Oxy_change.png</file> + <file alias="dive-bookmark-icon">icons/flag.png</file> + <file alias="scale-icon">icons/scale.png</file> + <file alias="ruler-icon">icons/ruler.png</file> + <file alias="poster-icon">icons/poster.png</file> <file>xslt/commonTemplates.xsl</file> <file>xslt/csv2xml.xslt</file> <file>xslt/divelogs-export.xslt</file> @@ -58,40 +61,40 @@ <file>xslt/shearwater.xslt</file> <file>xslt/DiveLog.xslt</file> <file>xslt/av1.xslt</file> - <file alias="icon_lung">icons/gas.png</file> - <file alias="icon_mod">icons/mod.png</file> - <file alias="icon_he">icons/he.png</file> - <file alias="icon_n2">icons/n2.png</file> - <file alias="icon_o2">icons/o2.png</file> - <file alias="icon_ceiling_calculated">icons/ss.png</file> - <file alias="icon_ceiling_alltissues">icons/icon-ceiling-alltissues.png</file> - <file alias="icon_NDLTTS">icons/limit.png</file> - <file alias="icon_ceiling_3m">icons/3x3.png</file> - <file alias="icon_ceiling_dc">icons/pc.png</file> - <file alias="icon_ead">icons/ead.png</file> - <file alias="icon_HR">icons/icon-HR.png</file> - <file alias="icon_tissue">icons/heatmap.png</file> - <file alias="pictures">icons/pictures.png</file> + <file alias="rate-sac-icon">icons/gas.png</file> + <file alias="depth-mod-icon">icons/mod.png</file> + <file alias="pp-he-icon">icons/he.png</file> + <file alias="pp-n2-icon">icons/n2.png</file> + <file alias="pp-o2-icon">icons/o2.png</file> + <file alias="ceiling-calculated-icon">icons/ss.png</file> + <file alias="ceiling-tissues-icon">icons/icon-ceiling-alltissues.png</file> + <file alias="depth-ndl-icon">icons/limit.png</file> + <file alias="ceiling-increments-icon">icons/3x3.png</file> + <file alias="ceiling-dc-icon">icons/pc.png</file> + <file alias="depth-ead-icon">icons/ead.png</file> + <file alias="rate-heart-icon">icons/icon-HR.png</file> + <file alias="heatmap-icon">icons/heatmap.png</file> + <file alias="photo-icon">icons/pictures.png</file> <file>icons/subsurface/index.theme</file> - <file>icons/subsurface/32x32/actions/go-down.png</file> - <file>icons/subsurface/32x32/actions/go-up.png</file> - <file alias="close">icons/subsurface/32x32/actions/window-close.png</file> - <file>icons/ostc2n.png</file> - <file>icons/ostc3.png</file> - <file>icons/ostc4.png</file> - <file>icons/suunto_vyper.png</file> - <file alias="facebook">icons/facebook.png</file> - <file alias="georeference">icons/georeference.png</file> - <file alias="filter-reset">icons/edit-undo.svg</file> - <file alias="filter-hide">icons/go-top.svg</file> + <file alias="go-down-icon">icons/subsurface/32x32/actions/go-down.png</file> + <file alias="go-up-icon">icons/subsurface/32x32/actions/go-up.png</file> + <file alias="window-close-icon">icons/subsurface/32x32/actions/window-close.png</file> + <file alias="dc-ostc-2n-icon">icons/ostc2n.png</file> + <file alias="dc-ostc-3-icon">icons/ostc3.png</file> + <file alias="dc-ostc-4-icon">icons/ostc4.png</file> + <file alias="dc-suunto-vyper-icon">icons/suunto_vyper.png</file> + <file alias="facebook-icon">icons/facebook.png</file> + <file alias="duplicate-geotag-icon">icons/georeference.png</file> + <file alias="edit-clear-icon">icons/edit-undo.svg</file> + <file alias="show-icon">icons/go-top.svg</file> <file alias="filter-close">icons/process-stop.svg</file> - <file alias="edit">icons/edit-circled.svg</file> + <file alias="duplicate-edit-icon">icons/edit-circled.svg</file> <file alias="globe-icon">icons/Emblem-earth.svg</file> - <file alias="geocode">icons/geocode.svg</file> - <file alias="duringPhoto">icons/duringPhoto.png</file> - <file alias="outsidePhoto">icons/outsidePhoto.png</file> - <file alias="inAndOutPhoto">icons/inAndOutPhoto.png</file> - <file alias="language">icons/language.png</file> - <file alias="defaults">icons/defaults.png</file> + <file alias="geotag-icon">icons/geocode.svg</file> + <file alias="photo-in-icon">icons/duringPhoto.png</file> + <file alias="photo-out-icon">icons/outsidePhoto.png</file> + <file alias="photo-in-out-icon">icons/inAndOutPhoto.png</file> + <file alias="preferences-desktop-locale-icon">icons/language.png</file> + <file alias="preferences-other-icon">icons/defaults.png</file> </qresource> </RCC> |