subsurface/subsurface.qrc
Sergey Starosek 22d56889bb Fallback to loading theme icons from resources
Since not all platforms support theme icons, we need to pack
them into resources and fallback to that resource theme.

There seems to be a bug in Qt
(https://bugreports.qt-project.org/browse/QTBUG-16697), thus
default theme name (hicolor) does not work. So we test for
'window-close' theme icon on startup and if not found, set theme
name to 'subsurface'

Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-06-28 06:29:20 -07:00

62 lines
3.1 KiB
Text

<RCC>
<qresource prefix="/">
<file alias="star">icons/star.svg</file>
<file alias="subsurface-icon">icons/subsurface-icon.png</file>
<file alias="plus">icons/plus.png</file>
<file alias="trash">icons/trash.png</file>
<file alias="units">icons/units.png</file>
<file alias="advanced">icons/advanced.png</file>
<file alias="edit">icons/advanced.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="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="arrow_up">icons/planner/arrow_up.png</file>
<file alias="arrow_down">icons/planner/arrow_down.png</file>
<file alias="icon_time">icons/planner/icon_time.png</file>
<file alias="icon_depth">icons/planner/icon_depth.png</file>
<file alias="round_base">icons/planner/round_base.png</file>
<file alias="right_wing">icons/planner/right_wing.png</file>
<file alias="left_wing">icons/planner/left_wing.png</file>
<file alias="plan_minus">icons/planner/minus.png</file>
<file alias="plan_plus">icons/planner/plus.png</file>
<file>xslt/commonTemplates.xsl</file>
<file>xslt/csv2xml.xslt</file>
<file>xslt/divelogs-export.xslt</file>
<file>xslt/divelogs.xslt</file>
<file>xslt/DivingLog.xslt</file>
<file>xslt/jdivelog2subsurface.xslt</file>
<file>xslt/MacDive.xslt</file>
<file>xslt/SuuntoDM4.xslt</file>
<file>xslt/SuuntoSDM.xslt</file>
<file>xslt/udcf.xslt</file>
<file>xslt/uddf-export.xslt</file>
<file>xslt/xml2csv.xslt</file>
<file>xslt/uddf.xslt</file>
<file>xslt/sensuscsv.xslt</file>
<file>xslt/manualcsv2xml.xslt</file>
<file>xslt/shearwater.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="calendar">icons/calendarbg.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>icons/subsurface/32x32/actions/window-close.png</file>
</qresource>
</RCC>