Files
picard/resources
Ville Skyttä 491f5a883b Install SVG icon
distutils does not seem to have an option to rename data_files on
install, so rename Picard_logo_no_text.svg -> picard.svg.

https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
2016-07-31 09:23:38 +03:00
..
2016-07-26 21:21:03 +02:00
2016-07-31 09:23:38 +03:00
2014-04-19 09:26:29 +02:00
2016-04-12 23:29:31 +05:30

Updating Resources

This directory contains all external resources, like icons, used by Picard.

Picard utilizes PyQt4 Resource System for using these resources in application. For more information about PyQt4 Resource System see this documentation.

For adding a new image into existing resources, follow these steps:

  1. Add image file (like .png) into resources/images/ and source file (like .svg) into resources/img-src.

  2. Generate new .qrc file. This would automatically detect any changes in directory.

    $ python2 makeqrc.py

  3. Create binary of all resources which will be used by Picard.

    $ python2 compile.py